SET_ALLOW_ANY_WEAPON_DROP
Hash
0x78030C7867D8B9B6Runtime name
SetAllowAnyWeaponDropNamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207
Signature
void SET_ALLOW_ANY_WEAPON_DROP(Ped ped, BOOL toggle);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
toggle | BOOL | — |
Returns void
Usage
SetAllowAnyWeaponDrop(ped, toggle)
-- always works, by hash
Citizen.InvokeNative(0x78030C7867D8B9B6, ped, toggle)JavaScript and C#
SetAllowAnyWeaponDrop(ped, toggle);
// by hash
Citizen.invokeNative('0x78030C7867D8B9B6', ped, toggle);Function.Call((Hash)0x78030C7867D8B9B6, ped, toggle);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.