new Timer[MAX_PLAYERS];
forward OutOfBound(playerid);
CMD:bortonbezar(playerid,params[])
{
new id;
if(sscanf(params,\"u\",id)) return 0;
Timer[id] = SetTimerEx(\"OutOfBound\", 1000,true,\"i\",playerid);
return 1;
}
CMD:bortonkinyit(playerid,params[])
{
new id;
if(sscanf(params,\"u\",id)) return 0;
KillTimer(Timer[id]);
return 1;
}
public OutOfBound(playerid)
{
if(!IsPlayerInRangeOfPoint(playerid, 50.0, 0.0, 0.0, 5.0))
SetPlayerPos(playerid,0.0,0.0,5.0);
return 1;
}