RedM Natives

_GIVE_WEAPON_COLLECTION_TO_PED

Hash0x899A04AFCC725D04
Runtime nameGiveWeaponCollectionToPed
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _GIVE_WEAPON_COLLECTION_TO_PED(Ped ped, Hash weaponCollection);

Parameters

NameTypeDescription
pedPed—
weaponCollectionHash—

Returns void

Usage

Lua
GiveWeaponCollectionToPed(ped, weaponCollection)

-- always works, by hash
Citizen.InvokeNative(0x899A04AFCC725D04, ped, weaponCollection)
JavaScript and C#
JavaScript
GiveWeaponCollectionToPed(ped, weaponCollection);

// by hash
Citizen.invokeNative('0x899A04AFCC725D04', ped, weaponCollection);
C#
Function.Call((Hash)0x899A04AFCC725D04, ped, weaponCollection);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

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