removeWeaponComponentFromWeaponObject
REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT0xF7D82B0D66777611The GTA V native REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT of the WEAPON namespace, as LS:MP client scripts call it: the global function removeWeaponComponentFromWeaponObject, in JavaScript and in Lua.
removeWeaponComponentFromWeaponObject(
object: Object,
componentHash: Hash
): voidremoveWeaponComponentFromWeaponObject(object: Object, componentHash: Hash)Usage
JavaScript
removeWeaponComponentFromWeaponObject(object, componentHash);Lua
removeWeaponComponentFromWeaponObject(object, componentHash)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
object | Object | number | integer |
componentHash | Hash | number | integer |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
see doesWeaponTakeWeaponComponent for full list of weapons & components
Reference
- Namespace
- Weapon WEAPON
- In the game
void REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT(Object object, Hash componentHash)- Hash
0xF7D82B0D66777611