Arma 3 Scripting

Command in Vehicle Inventory

itemCargo

Also available as Markdown and JSON, or read the original wiki page.

Description

Get array with items from ammo box (or any general weapon holder container).

Syntax

itemCargo object

Parameters:

Returns: Array of Strings - ["ItemType1","ItemType2","ItemType3"...]

Examples

Example 1

hint str itemCargo vestContainer player;

See also

getItemCargo · addItemCargo · addItemCargoGlobal · clearItemCargo · clearItemCargoGlobal · weaponCargo · magazineCargo