removeAllPedWeapons
REMOVE_ALL_PED_WEAPONS0xF25DF915FA38C5F3The GTA V native REMOVE_ALL_PED_WEAPONS of the WEAPON namespace, as LS:MP client scripts call it: the global function removeAllPedWeapons, in JavaScript and in Lua.
removeAllPedWeapons(ped: Ped, p1: boolean): voidremoveAllPedWeapons(ped: Ped, p1: boolean)Usage
JavaScript
removeAllPedWeapons(ped, p1);Lua
removeAllPedWeapons(ped, p1)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
ped | Ped | number | integer |
p1 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
setting the last params to false it does that same so I would suggest its not a toggle
Reference
- Namespace
- Weapon WEAPON
- In the game
void REMOVE_ALL_PED_WEAPONS(Ped ped, BOOL p1)- Hash
0xF25DF915FA38C5F3