RedM Natives

_REMOVE_WEAPON_ASSET

Hash0xC3896D03E2852236
Runtime nameRemoveWeaponAsset
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _REMOVE_WEAPON_ASSET(Hash weaponHash);

Parameters

NameTypeDescription
weaponHashHash—

Returns void

Usage

Lua
RemoveWeaponAsset(weaponHash)

-- always works, by hash
Citizen.InvokeNative(0xC3896D03E2852236, weaponHash)
JavaScript and C#
JavaScript
RemoveWeaponAsset(weaponHash);

// by hash
Citizen.invokeNative('0xC3896D03E2852236', weaponHash);
C#
Function.Call((Hash)0xC3896D03E2852236, weaponHash);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

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