SA-MP Forums Archive
Wrong track detector - 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: Wrong track detector (/showthread.php?tid=263789)



Wrong track detector - Pooh7 - 23.06.2011

Is it possible to make script what detects if player drive in wrong track?
If is possible, tell me how to check if is player in wrong track?


Re: Wrong track detector - Macluawn - 23.06.2011

you mean like a train track? I'm quite sure that only one track is fully available.


Re: Wrong track detector - Wesley221 - 23.06.2011

I think he means the road.
When you drive on the road, he wants to know if you're driving on the right/left side of the road
It should be possible, but i dont know how.


Re: Wrong track detector - LZLo - 23.06.2011

i think no


Re: Wrong track detector - =WoR=Varth - 23.06.2011

uf.inc have GetDistanceFromPointToLine. Maybe that used for?