---
name: "removeMagazinesTurret"
type: command
status: ok
groups: ["Turrets"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/removeMagazinesTurret
revid: 377499
updated: 2026-01-02T06:49:26Z
---

# removeMagazinesTurret

*Command · Turrets · Arma 3 v0.50 · introduced in Arma 2: Operation Arrowhead v1.52*

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

## Description

Removes all magazines of the given type from given vehicle. Use turret path [-1] for driver's turret.

## Syntax

```sqf
vehicle removeMagazinesTurret [magazineName, turretPath]
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md)
- `magazineName`: [String](../topics/String.md)
- `turretPath`: Turret Path

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

## Examples

### Example 1

```sqf
vehicle player removeMagazinesTurret ["60rnd_CMFlareMagazine", [-1]];
```

### Example 2

```sqf
_tank removeMagazinesTurret ["20Rnd_120mmSABOT_M1A2", [0]];
```

## See also

[removeAllMagazinesTurret](../commands/removeAllMagazinesTurret.md) · [addMagazineTurret](../commands/addMagazineTurret.md) · [removeAllMagazines](../commands/removeAllMagazines.md) · [magazinesTurret](../commands/magazinesTurret.md) · [removeMagazineTurret](../commands/removeMagazineTurret.md) · [weaponsTurret](../commands/weaponsTurret.md) · [addWeaponTurret](../commands/addWeaponTurret.md) · [removeWeaponTurret](../commands/removeWeaponTurret.md) · [turretLocal](../commands/turretLocal.md)

## Community notes

**Kylania** — 2011-07-30

Here's how you would remove all machine gun ammo from an M1A2 TUSK:

remove the gunner's M240 ammo.

```sqf
this removeMagazinesTurret ["1200Rnd_762x51_M240", [0]];
```

remove the commander's M2 ammo.

```sqf
this removeMagazinesTurret ["100Rnd_127x99_M2", [0, 0]];
```

remove the loader's M240 ammo.

```sqf
this removeMagazinesTurret ["100Rnd_762x51_M240", [0, 1]];
```

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