magazinesAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Command|= Comments ____________________________________________________________________________________________ | arma3 |= Game name |1.22|= Game version ________________...") |
Killzone Kid (talk | contribs) (example/see also) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo magazines. |= Description | |Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines. |= Description | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
Line 18: | Line 18: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>magazinesAmmoCargo | |x1= <code>[[magazinesAmmoCargo]] [[vehicle]] [[player]];</code> |= Example 1 | ||
|x2= <code>[[magazinesAmmoCargo]] [[uniformContainer]] [[player]];</code> | |||
<code>[ | |||
["30Rnd_65x39_caseless_mag",30], | |||
["30Rnd_65x39_caseless_mag",30], | |||
["Chemlight_green",1] | |||
]</code> |= Example 2 | |||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| | | [[magazinesAmmo]], [[magazinesAmmoFull]] |= See also | ||
}} | }} |
Revision as of 20:12, 14 June 2014
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
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