RedM Natives

_REMOVE_WEAPON_COMPONENT_FROM_PED

Hash0x19F70C4D80494FF8
Runtime nameRemoveWeaponComponentFromPed
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _REMOVE_WEAPON_COMPONENT_FROM_PED(Ped ped, Hash componentHash, Hash weaponHash);

Parameters

NameTypeDescription
pedPed—
componentHashHash—
weaponHashHash—

Returns void

Usage

Lua
RemoveWeaponComponentFromPed(ped, componentHash, weaponHash)

-- always works, by hash
Citizen.InvokeNative(0x19F70C4D80494FF8, ped, componentHash, weaponHash)
JavaScript and C#
JavaScript
RemoveWeaponComponentFromPed(ped, componentHash, weaponHash);

// by hash
Citizen.invokeNative('0x19F70C4D80494FF8', ped, componentHash, weaponHash);
C#
Function.Call((Hash)0x19F70C4D80494FF8, ped, componentHash, weaponHash);
  • Hash parameters: the named function also accepts a string and hashes it for you; Citizen.InvokeNative needs the number — pass joaat("name") or a backtick literal like `name`.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Sources

alloc8or RDR3 NativeDB

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.