REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
Hash
0xF7D82B0D66777611Runtime name
RemoveWeaponComponentFromWeaponObjectNamespaceWEAPON
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0xF7D82B0D66777611Signature
void REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT(Object weaponObject, Hash component);Parameters
| Name | Type | Description |
|---|---|---|
weaponObject | Object | — |
component | Hash | — |
Returns void
Usage
RemoveWeaponComponentFromWeaponObject(weaponObject, component)
-- always works, by hash
Citizen.InvokeNative(0xF7D82B0D66777611, weaponObject, component)JavaScript and C#
RemoveWeaponComponentFromWeaponObject(weaponObject, component);
// by hash
Citizen.invokeNative('0xF7D82B0D66777611', weaponObject, component);Function.Call((Hash)0xF7D82B0D66777611, weaponObject, component);- 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`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.