23.08.2018, 07:27
(
Последний раз редактировалось Mohaaaaaaaaaaa; 23.08.2018 в 08:29.
)
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"); } }