magazinesAmmoCargo: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=") |
Lou Montana (talk | contribs) m (Text replacement - "\| *(arg|eff|mp|serverExec|gr[0-9]) *= *(.*) * *\|([^=0-9]{12})" to "|$1=$2 |descr=$3") |
||
Line 7: | Line 7: | ||
|gr1= Vehicle Inventory | |gr1= Vehicle Inventory | ||
|Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines. | |descr=Returns an array of subarrays with the type names and ammo left of all the vehicle's cargo or container magazines. | ||
|s1= '''magazinesAmmoCargo''' vehicle | |s1= '''magazinesAmmoCargo''' vehicle |
Revision as of 21:10, 13 June 2021
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
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