21.02.2015, 11:57
This is simple. Whenever a player is given a weapon or ammo, you check the ammo before-hand to ensure it doesn't exceed the limit you stated. If it does however, you refuse to give that person the weapon with the warning that it exceeds the ammo limit.
Use the following functions:
GetPlayerAmmo
or, since sometimes the weapon isnt scrolled:
GetPlayerWeaponData
Use the following functions:
GetPlayerAmmo
or, since sometimes the weapon isnt scrolled:
GetPlayerWeaponData