SA-MP Forums Archive
gps system ? how ? - 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: gps system ? how ? (/showthread.php?tid=188796)



gps system ? how ? - Rocky Balboa - 09.11.2010

how to make a gps system ? pls help, i have searched and nothing came up ...


Re: gps system ? how ? - cessil - 09.11.2010

get every intersection noted down, and every intersection that connects to each intersection, then use some math equation to get the shortest route using those intersections.


Re: gps system ? how ? - Rocky Balboa - 09.11.2010

is that thing done already? btw i saw somehting like this on a gm , getplayer2dzone .. but is that from samp.inc .. cuz it was marked as undefined..


Re: gps system ? how ? - Kitten - 09.11.2010

Please search more
http://forum.sa-mp.com/showthread.ph...light=Location


Re: gps system ? how ? - Buzzbomb - 09.11.2010

nice avatar kitten hehe


Re: gps system ? how ? - Haydz - 09.11.2010

If you want a advanced one that shows the nearest root do what cessils said, but if you want a simple dialog one you can use this one, just simply add/change cords etc.
http://pastebin.com/vGxteVNP


Re: gps system ? how ? - Rocky Balboa - 09.11.2010

no no i just want one like , /gps playerid ...
and then there will be show a message ..
Player .. blah is not at %s ",place??


Re: gps system ? how ? - Haydz - 09.11.2010

There a gps system like that on Luxadmin, maybe you could search through and look at the code