setPedDropsWeapon
SET_PED_DROPS_WEAPON0x6B7513D9966FBEC0The 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.
setPedDropsWeapon(ped: Ped): voidsetPedDropsWeapon(ped: Ped)Usage
JavaScript
setPedDropsWeapon(ped);Lua
setPedDropsWeapon(ped)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
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