Help with cp!
#1

Hello, guys!

pawn Код:
if(gTeam[playerid] == TEAM_BLUE || TEAM_GREEN) // Guessing the Blue team is defined as this
        {
        if(Checkpoint)
        {
        SendClientMessage(playerid,OBJECTIVE_COLOR,"Wait 20 seconds.");
        SetTimerEx("SetZone",20000,false,"i",playerid);
        }
        }
pawn Код:
forward SetZone(playerid);
public SetZone(playerid)
{
SendClientMessage(playerid, OBJECTIVE_COLOR, "You have captured the flag.");
return 1;
}
And all I need is how to do that if player is not in that Checkpoint so the timer should end? I hope you understand me, thanks for any help
Reply


Messages In This Thread
Help with cp! - by Setkus - 02.02.2012, 20:44
Re: Help with cp! - by Snowman12 - 02.02.2012, 21:23
Re: Help with cp! - by Setkus - 03.02.2012, 07:57
Re: Help with cp! - by MP2 - 03.02.2012, 08:07

Forum Jump:


Users browsing this thread: 3 Guest(s)