Difference between revisions of "ammo"

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 4: Line 4:
 
[[Category:Scripting Commands ArmA|A]]
 
[[Category:Scripting Commands ArmA|A]]
  
back to [[Scripting_Reference#A|COMREF]]
 
  
 
<h2 style="color:#000066">'''''unit'' ammo ''magazine'''''</h2>
 
<h2 style="color:#000066">'''''unit'' ammo ''magazine'''''</h2>

Revision as of 11:28, 23 April 2006


unit ammo magazine


Operand types:

unit: Object

magazine: String

Type of returned value:

Number

Description:

Count how many shots are left for given magazine type.


Example:

player ammo "M16"