_REMOVE_WEAPON_ASSET
Releases the assets of the weapon weaponHash.
Signature
void _REMOVE_WEAPON_ASSET(Hash weaponHash); // 0xC3896D03E2852236 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | weaponHash | Hash |
Facts
| Name | _REMOVE_WEAPON_ASSET |
|---|---|
| Hash | 0xC3896D03E2852236 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0xC3896D03E2852236, -- _REMOVE_WEAPON_ASSET
GetHashKey("weapon_revolver_cattleman") -- Hash weaponHash
)Citizen.invokeNative("0xC3896D03E2852236", // _REMOVE_WEAPON_ASSET
GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);Function.Call((Hash)0xC3896D03E2852236, // _REMOVE_WEAPON_ASSET
(uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);Related WEAPON natives
- _REMOVE_WEAPON_COMPONENT_FROM_PED
- _REMOVE_WEAPON_FROM_PED_BY_GUID
- REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
- _REQUEST_WEAPON_ASSET
- _GET_WEAPON_FROM_DEFAULT_PED_WEAPON_COLLECTION
- _GET_WEAPON_GUN_SPINNING_WEAPON_EMOTE_TRICK_TYPE_HASH
- _GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT
- _HAS_WEAPON_ASSET_LOADED
- _REMOVE_ALL_PED_AMMO
- _REMOVE_AMMO_FROM_PED
- _REMOVE_AMMO_FROM_PED_BY_TYPE
- HAS_WEAPON_GOT_WEAPON_COMPONENT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.