18.08.2011, 12:14
let say u have timer named Timer_Stay[MAX_PLAYERS], then:
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
if(PlayertoPoint(3,playerid,X,Y,Z) // this x, y and z is coordinates from ur CP
{
SenClientMessage(playerid,Blue,"Stay in this pos. for 20sec to take this area");
Timer_Stay[playerid] = SetTimerEx("StandInPlace",1000, 1, "i", playerid);
return 1;
}
return 1;
}