20.12.2009, 16:56
In a timer:
Good luck :]
pawn Код:
new
Float:x,
Float:y,
Float:z;
GetPlayerPos( playerid, x, y, z );
if( x > MAX_X || x < MIN_X || y > MAX_Y || y < MIN_Y ) //remember to change MAX_X etc to the correct coords
{
SetPlayerPos( playerid, SPAWN_X, SPAWN_Y, SPAWN_Z );
//SpawnPlayer( playerid );
//Remember, you shouldn't use both ;P
}