SA-MP Forums Archive
Checkpoint Problem - 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)
+--- Thread: Checkpoint Problem (/showthread.php?tid=548885)



Checkpoint Problem - Steve Habbz - 03.12.2014

Hello,
Can I SetPlayerPos at exit checkpoint ?
I think I can't set the player pos at exit checkpoint while other gamemode can ..
I want something like when player enter entrance checkpoint then the player will spawn in the round of checkpoint. If i'm Set the player pos to exit checkpoint it will be go back to entrance checkpoint and loop each other.
You can take a look here : 192.169.82.202:7777
Try enter their checkpoint at look where you were spawn at.

Sorry for my bad english


Re: Checkpoint Problem - Divergent - 03.12.2014

Use the OnPlayerEnterCheckPoint and OnPlayerLeaveCheckPoint functions with SetPlayerPos. If you want specifics, post the code that have already here and explain further what you want and I'd be glad to help.


Re: Checkpoint Problem - Josh_Main - 04.12.2014

Post the code so we can help you