[Help] Enter / Exit
#6

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.

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
}
Reply


Messages In This Thread
[Help] Enter / Exit - by Oi! - 06.01.2010, 07:49
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 08:23
Re: [Help] Enter / Exit - by Oi! - 06.01.2010, 09:33
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 10:07
Re: [Help] Enter / Exit - by Oi! - 06.01.2010, 10:17
Re: [Help] Enter / Exit - by Deat_Itself - 06.01.2010, 10:27
Re: [Help] Enter / Exit - by Oi! - 08.01.2010, 08:34
Re: [Help] Enter / Exit - by Oi! - 09.01.2010, 09:18
Re: [Help] Enter / Exit - by Oi! - 15.01.2010, 16:20

Forum Jump:


Users browsing this thread: 2 Guest(s)