04.02.2012, 08:42
Hey, i don't know what's wrong with the code. Ir doesn't say this line:
Here is the code:
Thanks guys for any help!
pawn Код:
SendClientMessage(playerid,OBJECTIVE_COLOR,"Your team has captured this flag, you dont need to do this again.");
pawn Код:
if(gTeam[playerid] == TEAM_BLUE || gTeam[playerid] == TEAM_GREEN)
{
if(Checkpoint)
{
SendClientMessage(playerid,OBJECTIVE_COLOR,"Wait 20 seconds.");
captureTimer = SetTimerEx("SetZone",20000,false,"i",playerid);
}
else
{
SendClientMessage(playerid,OBJECTIVE_COLOR,"Your team has captured this flag, you dont need to do this again.");
}
}
return 1;
}