---
name: "magazines"
type: command
status: ok
groups: ["Unit Inventory", "Vehicle Inventory"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/magazines
revid: 378372
updated: 2026-04-03T16:50:03Z
---

# magazines

*Command · Unit Inventory, Vehicle Inventory · Arma 3 v0.50 · introduced in Operation Flashpoint v1.75*

## Description

Returns array of type names of all vehicle's magazines. When applied to a unit, the command behaves differently and will omit magazines already loaded into unit's weapons. Use [currentMagazine](../commands/currentMagazine.md) to get this information for a currently loaded magazine.

## Syntax

### Syntax 1

```sqf
magazines vehicle
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s

### Syntax 2

*since arma3 2.00*

```sqf
magazines [vehicle, includeEmpty]
```

**Parameters:**

- `vehicle`: [Object](../topics/Object.md) - unit or vehicle
- `includeEmpty`: [Boolean](../topics/Boolean.md) - (Optional, default [false](../commands/false.md)) [true](../commands/true.md) to include empty magazines

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s

## Examples

### Example 1

```sqf
_mags = magazines player;
```

## See also

[currentMagazine](../commands/currentMagazine.md) · [magazinesTurret](../commands/magazinesTurret.md) · [magazinesDetail](../commands/magazinesDetail.md) · [magazinesAmmo](../commands/magazinesAmmo.md) · [magazinesAmmoFull](../commands/magazinesAmmoFull.md) · [ammo](../commands/ammo.md) · [weapons](../commands/weapons.md) · [backpacks](../commands/backpacks.md)

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