Page tree
Skip to end of metadata
Go to start of metadata


Introduced in

Version:1.00

Description

Description:Add magazines to the cargo space of a given vehicle. The magazines can be taken out by infantry units. Once the magazine cargo space is filled up, any further addMagazineCargo calls are ignored.

Syntax

Syntax:vehicle addMagazineCargo [magazineName, count]
Parameters:
  • vehicle: Object - Vehicle to add the magazines to.
  • magazineName: String - Magazine name.
  • count: Number - Number of magazines to add.
Return Value:Nothing

Examples

Examples:
_truck addMagazineCargo ["M16",5]

Additional Information

See also: clearMagazineCargo, addMagazineCargoGlobal, addWeaponCargo
Multiplayer: 
Problems: 

Notes