Native referenceRedMclient

DISABLE_PLAYER_FIRING

0x2970929FD5F9FC89 PLAYER
FUNCTION SIGNATURE
void DISABLE_PLAYER_FIRING(Player player, BOOL toggle);
Property Value
Native Name DISABLE_PLAYER_FIRING
Hash 0x2970929FD5F9FC89
Return Type void
Build 1207
API Set client
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

Usage

Lua (Direct):

DisablePlayerFiring(player, toggle)

Lua (Hash):

Citizen.InvokeNative(0x2970929FD5F9FC89, player, toggle)
Back to PLAYER