---
name: "addMagazinePool"
type: command
status: ok
groups: ["Weapon Pool"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/addMagazinePool
revid: 364168
updated: 2024-05-05T10:46:43Z
---

# addMagazinePool

*Command · Weapon Pool · Arma 3 v0.50 · introduced in Operation Flashpoint v1.75*

## Description

Adds magazines to the magazine pool, of which the player may choose in the following mission. Available in campaigns only.

## Syntax

```sqf
addMagazinePool [magazineName, count]
```

**Parameters:**

- `magazineName`: [String](../topics/String.md) - magazine class name. See the topic Category:Weapons for reference about possible values.
- `count`: [Number](../topics/Number.md) - number of magazines to add

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

## Examples

### Example 1

```sqf
addMagazinePool ["M16", 20];
```

## See also

[clearMagazinePool](../commands/clearMagazinePool.md) · [queryMagazinePool](../commands/queryMagazinePool.md)

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