15.11.2010, 22:16
(
Последний раз редактировалось AnGeeeL; 15.11.2010 в 22:17.
Причина: fail
)
pawn Код:
public Check()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(IsPlayerInRangeOfPoint(i, 2/*this is the range*/, x, y, z/*Coordinates here*/))
{
SetPlayerInterior(playerid, /*the interior you want*/);
SetPlayerPos(playerid, /*Coordinates you want*/);
}
}
return 1;
}
public OnGameModeInit()
{
SetTimer("Check", 1000, true);
return 1;
}