18.12.2010, 19:21
if(gTeam[killerid] == gTeam[playerid])
{
TeamKills[killerid]++;
SendClientMessage(killerid, COLOR_RED, "Next is jail!");
GivePlayerMoney(killerid, -1000);
SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
SetPlayerHealth(killerid,0.0);
GameTextForPlayer(killerid,"~r~Don't team kill",5000,3);
{
TeamKills[killerid]++;
SendClientMessage(killerid, COLOR_RED, "Next is jail!");
GivePlayerMoney(killerid, -1000);
SetPlayerScore(killerid, GetPlayerScore(killerid) - 1);
SetPlayerHealth(killerid,0.0);
GameTextForPlayer(killerid,"~r~Don't team kill",5000,3);