Native referenceFiveM

DISABLE_PLAYER_FIRING

0x5E6CC07646BBEAB8 PLAYER
FUNCTION SIGNATURE
void DISABLE_PLAYER_FIRING(Player player, BOOL toggle);
Property Value
Native Name DISABLE_PLAYER_FIRING
Hash 0x5E6CC07646BBEAB8
Return Type void
Parameters player (Player), toggle (BOOL)

Description: Inhibits the player from using any method of combat including melee and firearms.
NOTE: Only disables the firing for one frame

Parameters

  • player (Player) — The player for which to disable combat methods.
  • toggle (BOOL) — Unused, as this native will disable combat regardless of the value of this parameter.
Back to PLAYER