ammo: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|AMMO]]
[[Category:Scripting Commands|AMMO]]
[[Category:Scripting Commands OFP 1.97|AMMO]]
[[Category:Scripting Commands OFP 1.96|AMMO]]
[[Category:Scripting Commands OFP 1.46|AMMO]]
[[Category:Scripting Commands OFP 1.46|AMMO]]
[[Category:Scripting Commands ArmA|AMMO]]
[[Category:Scripting Commands ArmA|AMMO]]

Revision as of 20:41, 1 June 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"