RedM Natives

SET_ALLOW_ANY_WEAPON_DROP

Hash0x78030C7867D8B9B6
Runtime nameSetAllowAnyWeaponDrop
NamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207

Signature

void SET_ALLOW_ANY_WEAPON_DROP(Ped ped, BOOL toggle);

Parameters

NameTypeDescription
pedPed—
toggleBOOL—

Returns void

Usage

Lua
SetAllowAnyWeaponDrop(ped, toggle)

-- always works, by hash
Citizen.InvokeNative(0x78030C7867D8B9B6, ped, toggle)
JavaScript and C#
JavaScript
SetAllowAnyWeaponDrop(ped, toggle);

// by hash
Citizen.invokeNative('0x78030C7867D8B9B6', ped, toggle);
C#
Function.Call((Hash)0x78030C7867D8B9B6, ped, toggle);

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.