---
name: "addMagazineGlobal"
type: command
status: ok
groups: ["Unit Inventory"]
arma3_since: "0.76"
locality: {"argument": "global", "effect": "global", "server_exec": false}
source: https://community.bistudio.com/wiki/addMagazineGlobal
revid: 318776
updated: 2022-05-13T09:21:28Z
---

# addMagazineGlobal

*Command · Unit Inventory · Arma 3 v0.76*

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

## Description

Adds magazine to a unit regardless of locality. This command can also be used to add magazine to a vehicle, like a static gun, for example.

## Syntax

```sqf
unit addMagazineGlobal magazineName
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
player addMagazineGlobal "30Rnd_65x39_caseless_mag";
```

## Multiplayer

Before Arma 3 v2.00 this command was broken in MP and duplicated items per the number of clients.

## See also

[addMagazine](../commands/addMagazine.md) · [addMagazines](../commands/addMagazines.md) · [addMagazineCargo](../commands/addMagazineCargo.md) · [addMagazineCargoGlobal](../commands/addMagazineCargoGlobal.md) · [addMagazinePool](../commands/addMagazinePool.md) · [addMagazineTurret](../commands/addMagazineTurret.md) · [addMagazineAmmoCargo](../commands/addMagazineAmmoCargo.md)

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