{"name":"itemCargo","title":"itemCargo","type":"command","url":"https://community.bistudio.com/wiki/itemCargo","revid":376929,"updated":"2025-12-31T20:24:50Z","groups":["Vehicle Inventory"],"status":"ok","games":{"arma3":"0.50"},"since":"arma3 0.50","arma3_since":"0.50","locality":{"argument":"global"},"description":"Get array with items from ammo box (or any general weapon holder container).","syntaxes":[{"syntax":"itemCargo object","params":[{"name":"object","type":"Object","description":"vehicle or ammo box","type_expr":"Object"}],"returns":{"type":"Array of Strings","type_expr":"Array<String>","description":"[\"ItemType1\",\"ItemType2\",\"ItemType3\"...]"},"form":"unary","right":{"text":"object"}}],"examples":[{"code":["hint str itemCargo vestContainer player;"]}],"see_also":["getItemCargo","addItemCargo","addItemCargoGlobal","clearItemCargo","clearItemCargoGlobal","weaponCargo","magazineCargo"]}