Controls::getDisabledControlNormal: Difference between revisions
(yay) |
(add input and control page) |
||
| Line 3: | Line 3: | ||
<syntaxhighlight lang="javascript">mp.game.controls.getDisabledControlNormal(inputGroup, control);</syntaxhighlight> | <syntaxhighlight lang="javascript">mp.game.controls.getDisabledControlNormal(inputGroup, control);</syntaxhighlight> | ||
=== Required Arguments === | === Required Arguments === | ||
*'''inputGroup:''' | *'''inputGroup:''' {{RageType|Int}} ([[InputGroup|Input Groups]]) | ||
*'''control:''' | *'''control:''' {{RageType|Int}} ([[Controls|Controls]]) | ||
===Return value=== | ===Return value=== | ||
*'''float''' | *'''float''' | ||
Revision as of 04:11, 20 September 2021
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 (Input Groups)
- control: Int (Controls)
Return value
- float
Example
// todo