Controls::getDisabledControlNormal: Difference between revisions
(yay) |
(yay) |
||
| Line 1: | Line 1: | ||
control - c# works with (int)GTA.Control.CursorY / (int)GTA.Control.CursorX and returns the mouse movement (additive).<br><br><br>0, 1 and 2 used in the scripts. 0 is by far the most common of them. | control - c# works with (int)GTA.Control.CursorY / (int)GTA.Control.CursorX and returns the mouse movement (additive).<br><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.getDisabledControlNormal(inputGroup, control);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.controls.getDisabledControlNormal(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_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Revision as of 21:05, 6 May 2017
control - c# works with (int)GTA.Control.CursorY / (int)GTA.Control.CursorX and returns the mouse movement (additive).
0, 1 and 2 used in the scripts. 0 is by far the most common of them.
Syntax
mp.game.controls.getDisabledControlNormal(inputGroup, control);
Required Arguments
- inputGroup: int
- control: int
Return value
- float
Example
// todo