ENABLE MAX AMMO CAP

From GTAModding
Jump to: navigation, search
ENABLE_MAX_AMMO_CAP
Number of parameters: 1
Parameter #TypeDescription
1.integerset (0=off / 1=on)
Return value:
TypeDescription
None

This function sets a cap on the amount of ammo the player can carry. Turning this function on will remove the extra ammo if the player has more ammo than the cap. The caps are set in the WeaponInfo.xml file.