Controls::enableAllControlActions: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
No edit summary
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_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 09:32, 14 January 2019

Client-Side
Function

 JavaScript



Enables all controls within a given Input Group.

Syntax

mp.game.controls.enableAllControlActions(inputGroup);

Required Arguments

Return value

  • Undefined

Example

// todo

See also

Template:Controls s function c