addMagazineGlobal: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Commands group update)
m (Text replacement - "| Nothing |x1=" to "|r1= Nothing |x1=")
Line 21: Line 21:
|p2= magazineName: [[String]]
|p2= magazineName: [[String]]


| [[Nothing]]
|r1= [[Nothing]]


|x1= <code>[[player]] [[addMagazineGlobal]] "30Rnd_65x39_caseless_mag";</code>
|x1= <code>[[player]] [[addMagazineGlobal]] "30Rnd_65x39_caseless_mag";</code>

Revision as of 09:59, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Multiplayer:
Before Arma 3 v2.00 this command was broken in MP and duplicated items per the number of clients.
Groups:
Unit Inventory

Syntax

Syntax:
Syntax needed
Parameters:
unit: Object
magazineName: String
Return Value:
Nothing

Examples

Example 1:
player addMagazineGlobal "30Rnd_65x39_caseless_mag";

Additional Information

See also:
addMagazineaddMagazinesaddMagazineCargoaddMagazineCargoGlobaladdMagazinePooladdMagazineTurretaddMagazineAmmoCargo

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note