Difference between revisions of "ENABLE MAX AMMO CAP"

From GTAMods Wiki
Jump to navigation Jump to search
(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 ...)
 
(No difference)

Latest revision as of 03:29, 31 August 2009

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.