---
name: "removeAllMagazines"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "2.20"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/removeAllMagazines
revid: 373492
updated: 2025-05-16T14:39:26Z
---

# removeAllMagazines

*Command · Unit Inventory · Arma 3 v2.20*

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

## Description

Removes all magazines from the unit.

## Syntax

```sqf
removeAllMagazines unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
removeAllMagazines player;
```

## See also

[removeMagazines](../commands/removeMagazines.md) · [addMagazine](../commands/addMagazine.md) · [magazines](../commands/magazines.md) · [removeMagazine](../commands/removeMagazine.md) · [removeWeapon](../commands/removeWeapon.md) · [removeMagazinesTurret](../commands/removeMagazinesTurret.md) · [removeAllMagazinesTurret](../commands/removeAllMagazinesTurret.md) · [removeMagazineTurret](../commands/removeMagazineTurret.md) · [setVehicleAmmo](../commands/setVehicleAmmo.md)

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