Index

SetUnitMaxAmmo

SetUnitMaxAmmo(<-unit <-amt)

Description

Sets the max ammo of the unit. A value of 1 is is how much a packet normally carries. If ammo is higher than max ammo, then the ammo will be lowered to the value max ammo is set to.

Examples

SetUnitMaxAmmo(self 20)

Index