itemCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}")
m (Text replacement - " \| *(\[\[[a-zA-Z ]+\]\].+) \|x1=" to " |r1=$1 |x1=")
Line 13: Line 13:
|p1= object: [[Object]] - Vehicle or ammo box
|p1= object: [[Object]] - Vehicle or ammo box


| [[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 20:59, 10 June 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Vehicle Inventory

Syntax

Syntax:
Syntax needed
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