---
name: "addWeaponPool"
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/addWeaponPool
revid: 364177
updated: 2024-05-05T10:46:45Z
---

# addWeaponPool

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

## Description

Add weapons to the weapon pool, of which the player may choose in the following mission. Available in campaigns only.

## Syntax

```sqf
addWeaponPool [weaponName, count]
```

**Parameters:**

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

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

## Examples

### Example 1

```sqf
addWeaponPool ["M16",5];
```

## See also

[addMagazinePool](../commands/addMagazinePool.md) · [clearWeaponPool](../commands/clearWeaponPool.md) · [queryWeaponPool](../commands/queryWeaponPool.md) · [addMagazineAmmoCargo](../commands/addMagazineAmmoCargo.md)

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