Controls::disableAllControlActions

From RAGE Multiplayer Wiki
Revision as of 20:32, 29 September 2017 by Rt-2 (talk | contribs) (→‎Example)

Syntax

mp.game.controls.disableAllControlActions(inputGroup);

Required Arguments

  • inputGroup: int

Return value

  • Undefined

Example

mp.events.add('render', () => {

    if(condition) mp.game.controls.disableAllControlActions(2);

});

See also

Template:Controls s function c