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