SA-MP Forums Archive
In marker - 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: In marker (/showthread.php?tid=228938)



In marker - duckie - 20.02.2011

hello.
i want to script that if the player is in a marker, it wil automatically teleport to another place.
How can i do that?
i've searched for it but i couldn't find it.

Thanks!


Re: In marker - hadzx - 20.02.2011

a timer checking if hes within range of it


Re: In marker - xRyder - 20.02.2011

Use 'OnPlayerEnterCheckpoint()' callback.
But first you need to set the check point of course.