Controls::getDisabledControlNormal: Difference between revisions

From RAGE Multiplayer Wiki
(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:''' int
*'''inputGroup:''' {{RageType|Int}} ([[InputGroup|Input Groups]])
*'''control:''' int
*'''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

Return value

  • float

Example

// todo

See also

Template:Controls s function c