gmaxammo <WeaponID> <return>
Gets the global maximum amount of ammo for <WeaponID> and places it into <return>.