magazinesAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) |
Lou Montana (talk | contribs) m (Text replacement - "<code>\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\] +\[\[([a-zA-Z0-9_]+)\]\];?<\/code>" to "<sqf>$1 $2 $3;</sqf>") |
||
Line 14: | Line 14: | ||
|r1= [[Array]] | |r1= [[Array]] | ||
|x1= < | |x1= <sqf>magazinesAmmoCargo vehicle player;</sqf> | ||
|x2= < | |x2= <sqf>magazinesAmmoCargo uniformContainer player;</sqf> | ||
<code>[ | <code>[ | ||
["30Rnd_65x39_caseless_mag",30], | ["30Rnd_65x39_caseless_mag",30], |
Revision as of 14:11, 5 May 2022
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:
- Example 2:
[ ["30Rnd_65x39_caseless_mag",30], ["30Rnd_65x39_caseless_mag",30], ["Chemlight_green",1] ]
Additional Information
- See also:
- magazinesAmmo magazinesAmmoFull
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