_HIDE_PED_WEAPONS
Unequip current weapon and set current weapon to WEAPON_UNARMED.
Hash
0xFCCC886EDE3C63ECRuntime name
HidePedWeaponsNamespaceWEAPON
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _HIDE_PED_WEAPONS(Ped ped, int p0, BOOL immediately);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
p0 | int | — |
immediately | BOOL | — |
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
HidePedWeapons(ped, p0, immediately)
-- always works, by hash
Citizen.InvokeNative(0xFCCC886EDE3C63EC, ped, p0, immediately)JavaScript and C#
HidePedWeapons(ped, p0, immediately);
// by hash
Citizen.invokeNative('0xFCCC886EDE3C63EC', ped, p0, immediately);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
InvokeNativewith the hash — it always works.
See also
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.