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



Portals - Jason_Larson - 23.04.2009

Ok, I'm trying to figure out how to create when a player walks into the redportal it TP's them?

I know its called a CheckPoint, aka CP.

I'm trying to make a Check Point for the Big Building in LS by city hall, oftenly used for City Hall.

If someone could be so kind and explain how or point out the topic where its located.


Re: Portals - Backwardsman97 - 23.04.2009

Use the SetPlayerCheckpoint function and the OnPlayerEnterCheckpoint callback. If you want multiple checkpoints though, you will need a streamer.