magazinesAmmoCargo

From Bohemia Interactive Community
Revision as of 00:24, 14 June 2021 by Lou Montana (talk | contribs) (Text replacement - "\| *arma3 * * *\| *([0-2]\.[0-9]{2}) * " to "|game1= arma3 |version1= $1 ")
Jump to navigation Jump to search
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:
Vehicle Inventory

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