The Lab
WEAPON native

_REMOVE_WEAPON_COMPONENT_FROM_PED

returns void3 paramsbuild 1207

Removes the component componentHash from the ped's weapon weaponHash.

Signature

C
void _REMOVE_WEAPON_COMPONENT_FROM_PED(Ped ped, Hash componentHash, Hash weaponHash); // 0x19F70C4D80494FF8 b1207

Parameters

#NameType
1pedPed
2componentHashHash
3weaponHashHash

Facts

Facts about _REMOVE_WEAPON_COMPONENT_FROM_PED
Name
_REMOVE_WEAPON_COMPONENT_FROM_PED
Hash
0x19F70C4D80494FF8
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(0x19F70C4D80494FF8, -- _REMOVE_WEAPON_COMPONENT_FROM_PED
  PlayerPedId(), -- Ped ped
  GetHashKey("name"), -- Hash componentHash
  GetHashKey("weapon_revolver_cattleman") -- Hash weaponHash
)
JavaScript
Citizen.invokeNative("0x19F70C4D80494FF8", // _REMOVE_WEAPON_COMPONENT_FROM_PED
  PlayerPedId(), // Ped ped
  GetHashKey("name"), // Hash componentHash
  GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);
C#
Function.Call((Hash)0x19F70C4D80494FF8, // _REMOVE_WEAPON_COMPONENT_FROM_PED
  API.PlayerPedId(), // Ped ped
  (uint)API.GetHashKey("name"), // Hash componentHash
  (uint)API.GetHashKey("weapon_revolver_cattleman") // Hash weaponHash
);
All WEAPON natives

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