Ammo help
#2

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
Reply


Messages In This Thread
Ammo help - by kkeeii - 21.02.2015, 11:52
Re: Ammo help - by Extremo - 21.02.2015, 11:57
Re: Ammo help - by kkeeii - 21.02.2015, 13:18
Re: Ammo help - by CalvinC - 21.02.2015, 13:30
Re: Ammo help - by Extremo - 21.02.2015, 14:25
Re: Ammo help - by kkeeii - 22.02.2015, 11:24

Forum Jump:


Users browsing this thread: 2 Guest(s)