SA-MP Forums Archive
How to get the max, and min coordinates for a location ? - 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: How to get the max, and min coordinates for a location ? (/showthread.php?tid=357127)



How to get the max, and min coordinates for a location ? - Mr.Fames - 06.07.2012

Hello guys, can you tell me a way to get the minx, miny, maxx, maxy coordinates for a location


Re: How to get the max, and min coordinates for a location ? - MP2 - 06.07.2012

The North-East corner is the max X and Y.
The South-West corner is the min x and Y.
Go in-game and use /save [min/max].


Re: How to get the max, and min coordinates for a location ? - Mr.Fames - 06.07.2012

Yes but aren't there any applications that do it.


Re : How to get the max, and min coordinates for a location ? - Ataraxia - 06.07.2012

You can type /save in game to save a location. Locations will be saved in GTA San Andreas User Files folder in locations.txt.


Re: How to get the max, and min coordinates for a location ? - Grim_ - 06.07.2012

I use to use this when I first started. It outputs the code directly for you for multiple different things. You can either use that, or extract the min and max coordinates for yourself.

https://sampforum.blast.hk/showthread.php?tid=372


Re: How to get the max, and min coordinates for a location ? - [KHK]Khalid - 06.07.2012

Read this article.