Code Dont Work
#1

This dont work i want it so that if the president is killed (not TEAM_TERR) i want it to say he was killed in a accident but it dont work

pawn Код:
if(gTeam[playerid] == TEAM_PRES)
{
if(TEAMPRES == playerid)
{
if(gTeam[killerid] != TEAM_TERR)
{
new string[156];
new pname[30];
GetPlayerName(playerid,pname,30);
format(string, sizeof(string),"%s(%d) Is No Longer President",pname,playerid);
SendClientMessageToAll(COLOR_TEAMYELLOW, string);
TEAMPRES = playerid;
GameTextForAll("~b~The President Has Been Killed In An Accident!", 8000, 5);
}
}
return 1;
}
Reply


Messages In This Thread
Code Dont Work - by Kyle - 02.08.2009, 18:03
Re: Code Dont Work - by member - 02.08.2009, 18:10
Re: Code Dont Work - by Kyle - 02.08.2009, 18:25
Re: Code Dont Work - by Marc_307 - 02.08.2009, 18:33
Re: Code Dont Work - by Kyle - 02.08.2009, 18:34
Re: Code Dont Work - by xCoder - 02.08.2009, 18:38
Re: Code Dont Work - by member - 02.08.2009, 18:39
Re: Code Dont Work - by Kyle - 03.08.2009, 09:47

Forum Jump:


Users browsing this thread: 1 Guest(s)