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

unit addMagazine magazineName

Operand types

unit: Object
magazineName: String

Type of returned value

Description

Add magazine to unit.
Note: You can create invalid combinations with this function like 20 grenades.
When doing so, application behaviour is undefined.

Used In

OFP/ArmA

Example

player addMagazine "M16"

Advertisement