Index

GetUnitAmmo

GetUnitAmmo(<-unit) ->unitAmmo

Description

Pushes the ammo of the unit to the stack. One packet increments the ammo by 1.

Examples

trace(GetUnitAmmo(self))

Index