Arma 3 Scripting

Command in Unit Inventory

addMagazineGlobal

Also available as Markdown and JSON, or read the original wiki page.

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

unit addMagazineGlobal magazineName

Parameters:

Returns: Nothing

Examples

Example 1

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 · addMagazines · addMagazineCargo · addMagazineCargoGlobal · addMagazinePool · addMagazineTurret · addMagazineAmmoCargo