PedClient

stopPedWeaponFiringWhenDropped

STOP_PED_WEAPON_FIRING_WHEN_DROPPED0xC158D28142A34608

The GTA V native STOP_PED_WEAPON_FIRING_WHEN_DROPPED of the PED namespace, as LS:MP client scripts call it: the global function stopPedWeaponFiringWhenDropped, in JavaScript and in Lua.

SignatureJavaScript
stopPedWeaponFiringWhenDropped(ped: Ped): void
SignatureLua
stopPedWeaponFiringWhenDropped(ped: Ped)

Usage

JavaScript
stopPedWeaponFiringWhenDropped(ped);
Lua
stopPedWeaponFiringWhenDropped(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Ped PED
In the game
void STOP_PED_WEAPON_FIRING_WHEN_DROPPED(Ped ped)
Hash
0xC158D28142A34608

Open in the interactive natives reference