SA-MP Forums Archive
Automatically teleports - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Automatically teleports (/showthread.php?tid=100897)



Automatically teleports - Studio - 07.10.2009

Hi, I want to know how you make someone automatically teleport if there in a certain cord.

The coordinate is: -2208.802979,295.048309,34.761684

Thanks


Re: Automatically teleports - Jasen - 07.10.2009

Please be more specific, when do you want them to be automatically teleported and how?


Re: Automatically teleports - [XST]O_x - 07.10.2009

Quote:
Originally Posted by Jasen
Please be more specific, when do you want them to be automatically teleported and how?
I Think he meant that he want,That when a player Is on the coords he gave(-2208.802979,295.048309,34.761684)
It will teleport the player somewhere.


Re: Automatically teleports - Studio - 07.10.2009

Yes, that's exactly what I mean.


Re: Automatically teleports - Studio - 07.10.2009

Better coord format:

{1239,-2208.802979,295.048309,34.761684,0.000000,0.000000 ,22.499995319}


Re: Automatically teleports - [XST]O_x - 07.10.2009

I Dont know how To automaticlly teleport,But i DO know that you can make A Pickup in that
Coord,so when the player enter the pickup he will get teleported.


Re: Automatically teleports - Jasen - 07.10.2009

Are you using SA-MP 0.2x or 0.3? If your using 0.3 you could use
Код:
if(IsPlayerInRangeOfPoint(playerid, 20, -2208.802979 ,295.048309 ,34.761684))
{
    SetPlayerPos(playerid, x, y, z);
}



Re: Automatically teleports - Studio - 07.10.2009

I'm using 0.2. Where do I get 0.3x


Re: Automatically teleports - [XST]O_x - 07.10.2009

Quote:
Originally Posted by Studio
Where do I get 0.3x
o_O
Here
But next time you Get it Here


Re: Automatically teleports - Studio - 07.10.2009

Quote:
Originally Posted by ►ϻozilla Fir3foж◄
Quote:
Originally Posted by Studio
Where do I get 0.3x
o_O
Here
But next time you Get it Here
Okay, I wont bother though. How do you do the icon thingy.