03.08.2009, 13:06
This code works fine
But as soon as i add
&& gTeam[killerid] != TEAM_TERR
into the statement it dont work
Quote:
if(gTeam[playerid] == TEAM_PRES && TEAMPRES == playerid) { new string[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(string, sizeof(string),"%s(%d) Is No Longer President",pname,playerid); SendClientMessageToAll(COLOR_TEAMYELLOW, string); GameTextForAll("~b~The President Has Been Killed In An Accident!", 8000, 5); return 1; } |
&& gTeam[killerid] != TEAM_TERR
into the statement it dont work