Controls::isControlPressed: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
Line 5: Line 5:
*'''inputGroup:''' int
*'''inputGroup:''' int
*'''control:''' int
*'''control:''' int
===Return value===
===Return value===
*'''Boolean'''
*'''Boolean'''

Revision as of 17:02, 6 July 2020

index always is 2 for xbox 360 controller and razerblade

0, 1 and 2 used in the scripts. 0 is by far the most common of them.

Syntax

mp.game.controls.isControlPressed(inputGroup, control);

Required Arguments

  • inputGroup: int
  • control: int

Return value

  • Boolean

Example

// todo

See also

Template:Controls s function c