Paint
#8

Porblems with:

Код:
if(PlayerInfo[playerid][pPaintBallG] > 0)
		{
		    foreach(Player, iddd)
		    {
		        if(PlayerInfo[iddd][pPaintBallG] == PlayerInfo[playerid][pPaintBallG])
		        {
					SendDeathMessageToPlayer(iddd, killerid, playerid, reason);
				}
			}
			new string[64];
		    PlayerInfo[killerid][pPaintBallKills]++;
	HERE	    format(string, sizeof(string), "You have been killed by %s.", pName(killerid));
		    SendClientMessage(playerid, COLOR_GENANNOUNCE, string);
		    
		    format(string,sizeof(string),"You have killed %s. You now have %d kills.", GetName(playerid), PlayerInfo[killerid][pPaintBallKills]);
		    SendClientMessage(killerid, COLOR_GENANNOUNCE, string);
		    
		    if(PlayerInfo[killerid][pPaintBallG] == 3)
			{
			    if(PlayerInfo[killerid][pPaintBallKills] == 2) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 29, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 4) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 28, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 6) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 33, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 8) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 32, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 10) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 25, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 12) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 26, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 14) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 34, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 16) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 27, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 18) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 31, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 20) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 30, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 22) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 23, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 24) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 22, 1000); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 26) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 9, 1); }
				else if(PlayerInfo[killerid][pPaintBallKills] == 28) { ResetPlayerWeaponsEx(killerid); ResetPlayerWeapons(killerid); GivePlayerWeaponEx(killerid, 4, 1); }
			}
Reply


Messages In This Thread
Paint - by MariusAdv - 01.03.2018, 06:08
Re: Paint - by Jithu - 01.03.2018, 06:17
Re: Paint - by Jithu - 01.03.2018, 06:29
Re: Paint - by MariusAdv - 01.03.2018, 06:31
Re: Paint - by Jithu - 01.03.2018, 06:34
Re: Paint - by Jithu - 01.03.2018, 06:37
Re: Paint - by Jithu - 01.03.2018, 06:39
Re: Paint - by MariusAdv - 01.03.2018, 06:39
Re: Paint - by MariusAdv - 01.03.2018, 06:43
Re: Paint - by Jithu - 01.03.2018, 06:45

Forum Jump:


Users browsing this thread: 4 Guest(s)