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=463096)
Checkpoint Problem :\ -
ray93 - 10.09.2013
How to make the checkpoint disappear from the map when i move far away from it ??
Re: Checkpoint Problem :\ -
Konstantinos - 10.09.2013
Maybe a timer every n seconds that checks if you are not in range of point with the coordinates the checkpoint has been set. So if you're not in range (a high number), then disable the checkpoint.
Re: Checkpoint Problem :\ -
Sting. - 10.09.2013
Yes exactly like what Konstantinos has said, when I want to create checkpoints that disappear from the map when I move far away from it I use
IfIsPlayerInRangeOfPoint . Here you go,
https://sampwiki.blast.hk/wiki/IsPlayerInRangeOfPoint