---
name: "items"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/items
revid: 377151
updated: 2026-01-01T10:36:00Z
---

# items

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

Locality: arguments **global**

## Description

Returns an array of names of all unit's stored items, including [weapons](../commands/weapons.md) but excluding [magazines](../commands/magazines.md) (see [itemsWithMagazines](../commands/itemsWithMagazines.md)) and [assignedItems](../commands/assignedItems.md).

## Syntax

```sqf
items unit
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
_itemsPlayer = items player;
```

### Example 2

```sqf
player sideChat format ["%1", items player];
```

## See also

[itemsWithMagazines](../commands/itemsWithMagazines.md) · [assignedItems](../commands/assignedItems.md) · [primaryWeaponItems](../commands/primaryWeaponItems.md) · [secondaryWeaponItems](../commands/secondaryWeaponItems.md) · [backpacks](../commands/backpacks.md)

## Community notes

**comp_uter15776** — 2022-01-19

When using **items** on a player; any equipped primary/secondary weapon/launchers, as well as certain throwables i.e. chemlights, smokes, grenades etc. are *not* returned.
For weapons and launchers that aren't stored inside a uniform, backpack or vest use **weaponsItems**. For throwables use **magazines**.

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