WeaponClient

setPedDropsWeapon

SET_PED_DROPS_WEAPON0x6B7513D9966FBEC0

The GTA V native SET_PED_DROPS_WEAPON of the WEAPON namespace, as LS:MP client scripts call it: the global function setPedDropsWeapon, in JavaScript and in Lua.

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

Usage

JavaScript
setPedDropsWeapon(ped);
Lua
setPedDropsWeapon(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Weapon WEAPON
In the game
void SET_PED_DROPS_WEAPON(Ped ped)
Hash
0x6B7513D9966FBEC0

Open in the interactive natives reference