_GIVE_WEAPON_COLLECTION_TO_PED
Hash
0x899A04AFCC725D04Runtime name
GiveWeaponCollectionToPedNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _GIVE_WEAPON_COLLECTION_TO_PED(Ped ped, Hash weaponCollection);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
weaponCollection | Hash | — |
Returns void
Usage
GiveWeaponCollectionToPed(ped, weaponCollection)
-- always works, by hash
Citizen.InvokeNative(0x899A04AFCC725D04, ped, weaponCollection)JavaScript and C#
GiveWeaponCollectionToPed(ped, weaponCollection);
// by hash
Citizen.invokeNative('0x899A04AFCC725D04', ped, weaponCollection);Function.Call((Hash)0x899A04AFCC725D04, ped, weaponCollection);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.