magazinesAmmoCargo

From Bohemia Interactive Community
Jump to: navigation, search
Introduced with Arma 3 version 1.22
  

Click on the images for descriptions

Introduced in

Game:
Arma 3
Version:
1.22

Description

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

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

Multiplayer:
-
See also:
magazinesAmmomagazinesAmmoFull

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section