magazinesAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) (example/see also) |
m (template:command argument fix) |
||
Line 8: | Line 8: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines. |= | |Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| '''magazinesAmmoCargo''' vehicle |= | | '''magazinesAmmoCargo''' vehicle |SYNTAX= | ||
|p1= vehicle: [[Object]] |= | |p1= vehicle: [[Object]] |PARAMETER1= | ||
| [[Array]] |= | | [[Array]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[[magazinesAmmoCargo]] [[vehicle]] [[player]];</code> |= | |x1= <code>[[magazinesAmmoCargo]] [[vehicle]] [[player]];</code> |EXAMPLE1= | ||
|x2= <code>[[magazinesAmmoCargo]] [[uniformContainer]] [[player]];</code> | |x2= <code>[[magazinesAmmoCargo]] [[uniformContainer]] [[player]];</code> | ||
<code>[ | <code>[ | ||
Line 24: | Line 24: | ||
["30Rnd_65x39_caseless_mag",30], | ["30Rnd_65x39_caseless_mag",30], | ||
["Chemlight_green",1] | ["Chemlight_green",1] | ||
]</code> |= | ]</code> |EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[magazinesAmmo]], [[magazinesAmmoFull]] |= | | [[magazinesAmmo]], [[magazinesAmmoFull]] |SEEALSO= | ||
}} | }} |
Revision as of 14:43, 7 April 2019
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