Maximum Ammo Help
#5

Quote:

/*if(PlayerInfo[playerid][pGunAmmo][2] > 45)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][2], 45);
PlayerInfo[playerid][pGunAmmo][2] = 45;
}
if(PlayerInfo[playerid][pGuns][3] == 25 && PlayerInfo[playerid][pGunAmmo][3] > 20)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][3], 20);
PlayerInfo[playerid][pGunAmmo][3] = 20;
}
if(PlayerInfo[playerid][pGuns][3] == 26 && PlayerInfo[playerid][pGunAmmo][3] > 30)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][3], 30);
PlayerInfo[playerid][pGunAmmo][3] = 30;
}
if(PlayerInfo[playerid][pGuns][3] == 27 && PlayerInfo[playerid][pGunAmmo][3] > 25)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][3], 25);
PlayerInfo[playerid][pGunAmmo][3] = 25;
}
if(PlayerInfo[playerid][pGunAmmo][4] > 80)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][4], 80);
PlayerInfo[playerid][pGunAmmo][4] = 80;
}
if(PlayerInfo[playerid][pGunAmmo][5] > 85)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][5], 85);
PlayerInfo[playerid][pGunAmmo][5] = 85;
}
if(PlayerInfo[playerid][pGuns][6] == 33 && PlayerInfo[playerid][pGunAmmo][6] > 30)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][6], 30);
PlayerInfo[playerid][pGunAmmo][6] = 30;
}
if(PlayerInfo[playerid][pGuns][6] == 34 && PlayerInfo[playerid][pGunAmmo][6] > 20)
{
SetPlayerAmmo(playerid, PlayerInfo[playerid][pGuns][6], 20);
PlayerInfo[playerid][pGunAmmo][6] = 20;
}*/

What should I do in here?

Because the AMMO was unlimited, how can I change it?
Reply


Messages In This Thread
Maximum Ammo Help - by kkeeii - 24.02.2015, 09:55
Re: Maximum Ammo Help - by Golf - 24.02.2015, 10:02
Re: Maximum Ammo Help - by $$inSane - 24.02.2015, 10:12
Re: Maximum Ammo Help - by Aerotactics - 24.02.2015, 10:34
Re: Maximum Ammo Help - by kkeeii - 24.02.2015, 11:04
Re: Maximum Ammo Help - by kkeeii - 26.02.2015, 11:37
Re: Maximum Ammo Help - by Kenway - 26.02.2015, 11:47

Forum Jump:


Users browsing this thread: 1 Guest(s)