The Lab
WEAPON native

REMOVE_WEAPON_FROM_PED

returns void4 paramsbuild 1207

Removes the weapon weaponHash from the ped, tagged with removeReason.

Signature

C
void REMOVE_WEAPON_FROM_PED(Ped ped, Hash weaponHash, BOOL p2, Hash removeReason); // 0x4899CB088EDF59B8 b1207

Parameters

#NameType
1pedPed
2weaponHashHash
3p2BOOL
4removeReasonHash

Facts

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

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