unit addMagazineCargo [magazineName, count]

Operand types

unit: Object
[magazineName, count]: Array

Type of returned value

Description

Add magazines to weapon cargo space.
Used for infantry weapons.
Format of magazines is [magazineName, count].
For magazineName values see OFPWeapons or ArmAWeapons.

Used In

OFP/ArmA

Example

rearmTruckOne addMagazineCargo ["M16",10]