Warning: file_put_contents(/ff_dc327a2b8ad0a8d0d10fb3bae5e88bc1696a7dc0918d52df.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
addMagazineGlobal - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName addMagazineGlobal magazineName

Operand types

unitName: Object
magazineName: String

Type of returned value

Description

Adds a magazine to the unit.

Note: You may create invalid combinations by adding more magazines than the free space in unit's inventory allows. When doing so, application behaviour is undefined.

Global in multiplayer.

Used In

Arma3

Example

player addMagazineGlobal "30Rnd_65x39_caseless_mag";

Advertisement