The Lab
WEAPON native

REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT

returns void2 paramsbuild 1207

Removes the component component from the weapon object.

Signature

C
void REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT(Object weaponObject, Hash component); // 0xF7D82B0D66777611 b1207

Parameters

#NameType
1weaponObjectObject
2componentHash

Facts

Facts about REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
Name
REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
Hash
0xF7D82B0D66777611
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0xF7D82B0D66777611, -- REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
  0, -- Object weaponObject
  GetHashKey("name") -- Hash component
)
JavaScript
Citizen.invokeNative("0xF7D82B0D66777611", // REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
  0, // Object weaponObject
  GetHashKey("name") // Hash component
);
C#
Function.Call((Hash)0xF7D82B0D66777611, // REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT
  0, // Object weaponObject
  (uint)API.GetHashKey("name") // Hash component
);
All WEAPON natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.