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