ENABLE MAX AMMO CAP

From GTAMods Wiki
Revision as of 03:29, 31 August 2009 by Spaceeinstein (talk | contribs) (New page: {{Native |np=1 |p1t=integer |p1d=set (0=off / 1=on) |r=0 }} 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 ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to 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.