SA-MP Forums Archive
Random coordinates in an area: - 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: Random coordinates in an area: (/showthread.php?tid=532818)



Random coordinates in an area: - Twizted - 20.08.2014

I need some random coordinates in a specific area. The area is a mapped island. How could I do this code-wise, instead of going around and typing /rs or /save for each position I'd like?


Re: Random coordinates in an area: - Vince - 20.08.2014

I don't really think you have any other option unless you create a heightmap yourself, somehow.


Re: Random coordinates in an area: - Twizted - 21.08.2014

I am left with /save and /rs then. I was expecting I had a better option. Thanks for the reply, Vince.


Re: Random coordinates in an area: - AroseKhanNiazi - 21.08.2014

IF THe z (height) was same on all island there was a solution