SetTimer("CheckPlayer",500,true);
forward CheckPlayer();public CheckPlayer(){ for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(IsPlayerInRangeOfPoint(i,1,-2088.0269,2477.8394,48.3979)) { SetPlayerPos(i,-2076.4126,2475.6736,41.1647); } } } return 1;}
if(IsPlayerInRangeOfPoint(playerid, 3.0, -2088.0269,2477.8394,48.3979)){ SetPlayerPos(playerid, -2076.4126,2475.6736,41.1647);}