{"name":"addMagazineGlobal","title":"addMagazineGlobal","type":"command","url":"https://community.bistudio.com/wiki/addMagazineGlobal","revid":318776,"updated":"2022-05-13T09:21:28Z","groups":["Unit Inventory"],"status":"ok","games":{"arma3":"0.76"},"since":"arma3 0.76","arma3_since":"0.76","locality":{"argument":"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.","syntaxes":[{"syntax":"unit addMagazineGlobal magazineName","params":[{"name":"unit","type":"Object","type_expr":"Object"},{"name":"magazineName","type":"String","type_expr":"String"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit"},"right":{"text":"magazineName"}}],"examples":[{"code":["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"]}