Controls::getControlValue: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<br><br>0, 1 and 2 used in the scripts. 0 is by far the most common of them.
<br><br>0, 1 and 2 used in the scripts. 0 is by far the most common of them.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">controls.getControlValue(inputGroup, control);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.controls.getControlValue(inputGroup, control);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''inputGroup:''' int
*'''inputGroup:''' int
Line 9: Line 9:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Controls_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