Player::disablePlayerFiring

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Inhibits the player from using any method of combat including melee and firearms.

NOTE: Only disables the firing for one frame

Syntax

mp.game.player.disableFiring(toggle);

Required Arguments

  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also