REMOVE_ALL_PED_WEAPONS
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](?\_0xF25DF915FA38C5F3).**
CFX
Signature
lua
RemoveAllPedWeapons(PlayerPedId(), true)
-- returns voidParameters
| Name | Type | Description |
|---|---|---|
| Ped | The ped entity | |
| BOOL | — |
Usage
lua
RemoveAllPedWeapons(PlayerPedId(), true)Generated from the native name, hash, and parameter list. Add a real example.
Details
- Hash
- API set
- Source
- cfx
Source: cfx
