# CFX::REMOVE_ALL_PED_WEAPONS

- **Hash:** `0xA44CE817`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `RemoveAllPedWeapons`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/REMOVE_ALL_PED_WEAPONS

## Signature

```c
void REMOVE_ALL_PED_WEAPONS(Ped ped, BOOL p1);
```

## Parameters

- `ped` (`Ped`) — The ped entity
- `p1` (`BOOL`)

## Returns

`void`

## Description

*Source: 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](?\_0xF25DF915FA38C5F3).**

## Usage

### Lua

```lua
RemoveAllPedWeapons(ped, p1)

-- always available, by hash
Citizen.InvokeNative(0xa44ce817, ped, p1)
```

### JavaScript

```js
RemoveAllPedWeapons(ped, p1);

// by hash
Citizen.invokeNative('0xa44ce817', ped, p1);
```

### C#

```csharp
Function.Call((Hash)0xa44ce817, ped, p1);
```

*Sources: Cfx.re native reference.*
