[HELP]Teleport - 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: [HELP]Teleport (
/showthread.php?tid=190957)
[HELP]Teleport -
thecutkiller - 17.11.2010
Hello.
For example, if you walk in a arrow (custom made into server) you will be at another place.
like the arrow is at (X, Y, Z)
and when u walk in that coordinates of the arrow you will be teleported to another place.
This can be used to go to an underground base or somewhere at the other side of the world, those kind of things.
Not with any commands, just when you walk in it you will be somewhere else. (playercollision? I dunno.. I'm still starting at scripting. xD)
How can I script this?
Thanks.
Grtz, thecutkiller.
Re: [HELP]Teleport -
DarrenReeder - 17.11.2010
use a timer and see if the player is at the x, y ,z within about 5 feet or something.. then if they are you teleport them...
Re: [HELP]Teleport -
thecutkiller - 17.11.2010
Thanks for the reply, but I cant script that well yet.
Actually I fail at scripting.. But I kinda wanna know this cuz I wanna make a base underground, and you'll tele to the underground base.
Re: [HELP]Teleport -
Osviux - 17.11.2010
He should use an arrow pickup not a timer.
Re: [HELP]Teleport -
thecutkiller - 17.11.2010
Bumpppppppppppp