magazinesAmmoCargo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "|= Game version" to "|Game version=")
Line 4: Line 4:
| arma3 |= Game name
| arma3 |= Game name


|1.22|= Game version
|1.22|Game version=


____________________________________________________________________________________________
____________________________________________________________________________________________

Revision as of 02:18, 1 September 2019

Hover & click on the images for description

Description

Description:
Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines.
Groups:
Uncategorised

Syntax

Syntax:
magazinesAmmoCargo vehicle
Parameters:
vehicle: Object
Return Value:
Array

Examples

Example 1:
magazinesAmmoCargo vehicle player;
Example 2:
magazinesAmmoCargo uniformContainer player; [ ["30Rnd_65x39_caseless_mag",30], ["30Rnd_65x39_caseless_mag",30], ["Chemlight_green",1] ]

Additional Information

See also:
magazinesAmmomagazinesAmmoFull

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

Notes

Bottom Section