help ammo bug
#1

Help my ammo becomes -31230 something like this. And I can't switch weapons. Is there any other way to make ammo limit? Thanks!
Reply
#2

What GameMode you use?
Reply
#3

Quote:
Originally Posted by Stefan_Salvatore
Посмотреть сообщение
What GameMode you use?
I make a new one. I didn't download it from gamemode board. And if you would like to know the gamemode only had maps, no commands and other addons.

Anyway this is on my filterscript..

Код:
#define AMMO 5000
Код:
            if(listitem == 0)
            {
                GivePlayerWeapon(playerid, 25, AMMO);
            }
            if(listitem == 1)
            {
                GivePlayerWeapon(playerid, 26, AMMO);
            }
            if(listitem == 2)
            {
                GivePlayerWeapon(playerid, 27, AMMO);
            }
When I spawn a gun it has 5000 ammo and when I spawn again same weapon it will be 10000 now. So basically it will get bugged if you reached around 60000 ammo above.


Can anyone please tell me. How to make a ammo limititer?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)