Posts: 512
Threads: 121
Joined: Sep 2013
Help my ammo becomes -31230 something like this. And I can't switch weapons. Is there any other way to make ammo limit? Thanks!
Posts: 512
Threads: 121
Joined: Sep 2013
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..
Код:
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?