RedM Natives

_HIDE_PED_WEAPONS

Unequip current weapon and set current weapon to WEAPON_UNARMED.

Hash0xFCCC886EDE3C63EC
Runtime nameHidePedWeapons
NamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _HIDE_PED_WEAPONS(Ped ped, int p0, BOOL immediately);

Parameters

NameTypeDescription
pedPed—
p0int—
immediatelyBOOL—

Returns void

Description

Unequip current weapon and set current weapon to WEAPON_UNARMED.
p0 usually 2 in R* scripts. Doesn't seem to have any effect if changed....
immediately: if true it will instantly switch to unarmed

Usage

Lua
HidePedWeapons(ped, p0, immediately)

-- always works, by hash
Citizen.InvokeNative(0xFCCC886EDE3C63EC, ped, p0, immediately)
JavaScript and C#
JavaScript
HidePedWeapons(ped, p0, immediately);

// by hash
Citizen.invokeNative('0xFCCC886EDE3C63EC', ped, p0, immediately);
C#
Function.Call((Hash)0xFCCC886EDE3C63EC, ped, p0, immediately);
  • 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.

See also

Sources

alloc8or RDR3 NativeDB

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