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

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]

Advertisement