RedM Natives

REMOVE_ALL_PED_WEAPONS

Parameter p1 does not seem to be used or referenced in game binaries.\ This is the server-side RPC native equivalent of the client native REMOVE_ALL_PED_WEAPONS.

Hash0xA44CE817
Runtime nameRemoveAllPedWeapons
NamespaceCFX
SideServer
NameOfficial
Docs

Signature

void REMOVE_ALL_PED_WEAPONS(Ped ped, BOOL p1);

Parameters

NameTypeDescription
pedPed

The ped entity

p1BOOL—

Returns void

Description

Cfx.re native reference

Parameter p1 does not seem to be used or referenced in game binaries.
Note: When called for networked entities, a CRemoveAllWeaponsEvent will be created per request.

This is the server-side RPC native equivalent of the client native REMOVE_ALL_PED_WEAPONS.

Usage

Lua
RemoveAllPedWeapons(ped, p1)

-- always works, by hash
Citizen.InvokeNative(0xa44ce817, ped, p1)
JavaScript and C#
JavaScript
RemoveAllPedWeapons(ped, p1);

// by hash
Citizen.invokeNative('0xa44ce817', ped, p1);
C#
Function.Call((Hash)0xa44ce817, ped, p1);

Sources

Cfx.re native reference

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