itemCargo: Difference between revisions
Lou Montana (talk | contribs) m (Text replacement - "\|s([0-9])\= '''([^' ]+)'''([^ ]+) " to "|s$1= $2$3 ")  | 
				Lou Montana (talk | contribs)  m (Text replacement - " |r1=[[" to " |r1= [[")  | 
				||
| Line 13: | Line 13: | ||
|p1= object: [[Object]] - Vehicle or ammo box  | |p1= object: [[Object]] - Vehicle or ammo box  | ||
|r1=[[Array]] - Format: ["ItemType1","ItemType2","ItemType3"...]  | |r1= [[Array]] - Format: ["ItemType1","ItemType2","ItemType3"...]  | ||
|x1= <code>[[hint]] [[str]] [[itemCargo]] [[vestContainer]] [[player]];</code>  | |x1= <code>[[hint]] [[str]] [[itemCargo]] [[vestContainer]] [[player]];</code>  | ||
Revision as of 23:45, 7 August 2021
Description
- Description:
 - Get array with items from ammo box (or any general weapon holder container).
 - Groups:
 - Vehicle Inventory
 
Syntax
- Syntax:
 - itemCargo object
 - Parameters:
 - object: Object - Vehicle or ammo box
 - Return Value:
 - Array - Format: ["ItemType1","ItemType2","ItemType3"...]
 
Examples
- Example 1:
 hint str itemCargo vestContainer player;
Additional Information
- See also:
 - getItemCargoaddItemCargoaddItemCargoGlobalclearItemCargoclearItemCargoGlobalweaponCargomagazineCargo
 
Notes
- 
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note