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

getItemCargo box

Operand types

box: Object

Type of returned value

Description

Returns all item names and counts from ammo box (or any general weapon holder container).

Returned array format is [[items],[counts]]

Used In

Arma3

Example

getItemCargo ammobox1;
// returns with NATO Supply Box: [["FirstAidKit","acc_flashlight"],[10,2]]

Advertisement