Warning: file_put_contents(/ff_bda5236584e0fb22b7c054792162bfe03745dd2a1460dded.php): failed to open stream: Permission denied in /home/ofpecsav/public_html/forum/Sources/Subs-ForumFirewall.php on line 1619
ammo - OFPEC Scripting Command Reference | OFPEC The Editing Center

unitName ammo weapon

Operand types

unitName: Object
weapon: String

Type of returned value

Description

Count how many shots are left in the magazine of weapon being used.

Used In

OFP/ArmA

Example

player ammo "M16"

Advertisement