---
name: "removeMagazine"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/removeMagazine
revid: 370164
updated: 2024-11-02T23:35:39Z
---

# removeMagazine

*Command · Unit Inventory · Arma 3 v0.50 · introduced in Operation Flashpoint v1.00*

Locality: arguments **local**

## Description

Remove magazine from the unit or static weapon.

## Syntax

```sqf
unitName removeMagazine magazineName
```

**Parameters:**

- `unitName`: [Object](../topics/Object.md)
- `magazineName`: [String](../topics/String.md) - see weapons

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

## Examples

### Example 1

```sqf
player removeMagazine "M16";
```

## See also

[removeMagazines](../commands/removeMagazines.md) · [removeWeapon](../commands/removeWeapon.md) · [removeMagazinesTurret](../commands/removeMagazinesTurret.md) · [removeMagazineTurret](../commands/removeMagazineTurret.md) · [setVehicleAmmo](../commands/setVehicleAmmo.md)

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