13.10.2011, 14:14
pawn Код:
SetTimer("CheckPlayer",500,true);
pawn Код:
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;
}