User Tools

Site Tools


4rpl:commands:getunitmaxammo

Index

GetUnitMaxAmmo

GetUnitMaxAmmo(<-unit) ->maxAmmo

Description

Pushes the max ammo of the unit to the stack. If max ammo is less than ammo, then ammo is lowered to equal max ammo.

Examples

trace(GetUnitMaxAmmo(self))

Index

4rpl/commands/getunitmaxammo.txt · Last modified: 2021/01/24 14:38 by Sanian