Warning: file_put_contents(/ff_42f4e6ae6094b881edfa3bd1f9681a956ddef167effd8734.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