06.01.2010, 10:27
Use IsPlayerInRangeOfPoint in your script ,It will check the player if he is in that range point so after IsPlayerInRangeOfPoint add SetTimer
It will Settimer for 5 seconds and after 5 seconds the player will automatically teleport to location which you chosen for them.
It will Settimer for 5 seconds and after 5 seconds the player will automatically teleport to location which you chosen for them.
pawn Код:
public teleporting()
{
for(new i=0 ; i<MAX_PLAYERS; i++)//thats for everyone who will be in the range of that icon
{
SetPlayerPos(i , Float:X, Float:y , Float:z); //this floats are position which you want to set after 5 seconds
}