dogtags
#3

Something like that should work or i guess i have to create a variable to check if player died or not to get it picked up
Код:
foreach(new i :Player)
	{
		if(IsPlayerConnected(i))
		{
			if(pickupid == KCPickup[i]) 
			{
				if(KCPickup[i] != KCPickup[playerid])
				{
					if(PlayerInfo[i][gTeam] != PlayerInfo[playerid][gTeam]) 
					{ 
						TeamKCKills[PlayerInfo[playerid][gTeam]]+=PointCount;
						SendClientMessage(playerid, -1, "{FFFFFF}KILL:{57BB82}Kill confirmed"); 
					}
					else 
					{
						TeamKCDenie[PlayerInfo[playerid][gTeam]]+=PointCount;
						SendClientMessage(playerid, -1,"{FFFFFF}DEATH:{57BB82}Death has been denied"); 
					}
				}
			} else return SendClientMessage(playerid, -1, "{FFFFFF}DEATH:{57BB82}You have denied your own death");
		}
	}
Reply


Messages In This Thread
dogtags - by Mohaaaaaaaaaaa - 22.08.2018, 22:40
Re: dogtags - by Sew_Sumi - 23.08.2018, 01:59
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 07:27
Re: dogtags - by Sew_Sumi - 23.08.2018, 08:16
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 08:24
Re: dogtags - by Sew_Sumi - 23.08.2018, 10:41
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 11:49
Re: dogtags - by Sew_Sumi - 23.08.2018, 15:05
Re: dogtags - by Mohaaaaaaaaaaa - 23.08.2018, 16:58
Re: dogtags - by Mohaaaaaaaaaaa - 24.08.2018, 10:59

Forum Jump:


Users browsing this thread: 1 Guest(s)