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

itemCargo box

Operand types

box: Object

Type of returned value

Description

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

Used In

Arma3

Example

hint str(itemCargo (vestContainer player));

if ("acc_flashlight" in (itemCargo ammobox1)) then {
hint "You can pick up a flashlight from this ammo box.";
};

Advertisement