setWeaponMaxAmmo( <weapon name>, <max ammo> )
Module: Weapons
Summary:
Set new maximum ammo to a weapon
Example:
maxammo = 999; setWeaponMaxAmmo(weaponName, maxammo);
Required Args:
1 : <weapon name>: (string) The weapon name for this weapon.
2 : <max ammo> New max ammo to set
Deprecated Args:
1 : <id> Weapon id (available for backwards compatibility). You can get it with
getLoadedWeapons()