Difference between revisions of "ammo"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|A]]
+
[[Category:Scripting Commands|AMMO]]
[[Category:Scripting Commands OFP 1.97|A]]
+
[[Category:Scripting Commands OFP 1.97|AMMO]]
[[Category:Scripting Commands OFP 1.46|A]]
+
[[Category:Scripting Commands OFP 1.46|AMMO]]
[[Category:Scripting Commands ArmA|A]]
+
[[Category:Scripting Commands ArmA|AMMO]]
  
  

Revision as of 13:01, 4 May 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"