SA-MP Forums Archive
need help with checkpoints - 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: need help with checkpoints (/showthread.php?tid=496548)



need help with checkpoints - karolis11234 - 22.02.2014

how can i check if a player entered a certain checkpoint created like this:
new vm[playerid][0] = SetPlayerRaceCheckpoint(playerid,2,1824.2744,-1843.8301,13.4141,0.0,0.0,0.0,2);


Re: need help with checkpoints - MattTucker - 22.02.2014

OnPlayerEnterRaceCheckpoint

https://sampwiki.blast.hk/wiki/OnPlayerEnterRaceCheckpoint - Wiki


Quote:
Originally Posted by karolis11234
Посмотреть сообщение
SetPlayerRaceCheckpoint
For normal checkpoints it would be SetPlayerCheckpoint and OnPlayerEnterCheckpoint

(https://sampwiki.blast.hk/wiki/OnPlayerEnterCheckpoint OnPlayerEnterCheckpoint, normal one.)