Player::setStealthMovement

From RAGE Multiplayer Wiki

This function will disable stealth movement ability (ustually ctrl button)

p1 is usually 0 in the scripts. action is either 0 or a pointer to 'DEFAULT_ACTION'.

Syntax

player.setStealthMovement(p1, action);

Required Arguments

  • p1: Boolean
  • action: String

Return value

  • Undefined

Example

// Disable Stealth Movement
mp.players.local.setStealthMovement(false, '0');

See also