---
name: "removeAllHandgunItems"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.70"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/removeAllHandgunItems
revid: 310238
updated: 2022-05-05T13:11:00Z
---

# removeAllHandgunItems

*Command · Unit Inventory · Arma 3 v0.70*

Locality: arguments **local** · effect **global**

## Description

Removes all items from [handgunWeapon](../commands/handgunWeapon.md), except magazine.

## Syntax

```sqf
removeAllHandgunItems unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
removeAllHandgunItems player;
```

## See also

[addHandgunItem](../commands/addHandgunItem.md) · [removeHandgunItem](../commands/removeHandgunItem.md) · [removeAllPrimaryWeaponItems](../commands/removeAllPrimaryWeaponItems.md) · [removeAllSecondaryWeaponItems](../commands/removeAllSecondaryWeaponItems.md) · [removeAllBinocularItems](../commands/removeAllBinocularItems.md)

<sub>Source: [BI Community Wiki — removeAllHandgunItems](https://community.bistudio.com/wiki/removeAllHandgunItems) (revision 310238).</sub>
