_REQUEST_WEAPON_ASSET
Hash
0x72D4CB5DB927009CRuntime name
RequestWeaponAssetNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _REQUEST_WEAPON_ASSET(Hash weaponHash, int p1, BOOL p2);Parameters
| Name | Type | Description |
|---|---|---|
weaponHash | Hash | — |
p1 | int | — |
p2 | BOOL | — |
Returns void
Usage
RequestWeaponAsset(weaponHash, p1, p2)
-- always works, by hash
Citizen.InvokeNative(0x72D4CB5DB927009C, weaponHash, p1, p2)JavaScript and C#
RequestWeaponAsset(weaponHash, p1, p2);
// by hash
Citizen.invokeNative('0x72D4CB5DB927009C', weaponHash, p1, p2);Function.Call((Hash)0x72D4CB5DB927009C, weaponHash, p1, p2);- 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.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.