Checkpoint problem??
#2

Try this (Not Tested):

pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(gTeam[playerid] == FIRST_TEAM) //EX: TEAM_GREEN
{
SendClientMessage(playerid,COLOR_GREEN, "You are the rong team!");
return;
}
else if(gTeam[playerid] == SECOND_TEAM) //EX: TEAM_BLUE
{
GameTextForPlayer(playerid, "|PRISONERS WIN|", 2500, 5);
//WIN FUNCTION... (Ex:GameModeExit();
return;
}
}
Reply


Messages In This Thread
Checkpoint problem?? - by -Rebel Son- - 24.01.2010, 22:25
Re: Checkpoint problem?? - by LuxurioN™ - 24.01.2010, 22:57
Re: Checkpoint problem?? - by -Rebel Son- - 24.01.2010, 23:16
Re: Checkpoint problem?? - by LuxurioN™ - 24.01.2010, 23:19
Re: Checkpoint problem?? - by -Rebel Son- - 24.01.2010, 23:58

Forum Jump:


Users browsing this thread: 2 Guest(s)