Controls::enableAllControlActions: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ClientsideJsFunction}}
Enables all controls within a given Input Group.


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">mp.game.controls.enableAllControlActions(inputGroup);</syntaxhighlight>
<pre>mp.game.controls.enableAllControlActions(inputGroup);</pre>
 
=== Required Arguments ===
=== Required Arguments ===
*'''inputGroup:''' int
*'''inputGroup:''' {{RageType|Int}} ([[InputGroup|Input Groups]])
 
===Return value===
===Return value===
*'''Undefined'''
*'''Undefined'''
==Example==
==Example==
<syntaxhighlight lang="javascript">
<pre>
// todo
// todo
</syntaxhighlight>
</pre>
 
==See also==
==See also==
{{Controls_s_function_c}}
{{Controls_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:55, 14 May 2024