Set area positions - 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: Set area positions (
/showthread.php?tid=578579)
Set area positions -
cnoopers - 20.06.2015
Hi. I'm trying to set positions to area, but I got no idea which one corner is minx, miny, maxx, maxy (look at 'o')
Код:
(N)
o-------o
o-------o
Re: Set area positions -
SloProKiller - 20.06.2015
min x means the lowest x value, same goes for the y
max x means highest x value, same for y
As x is lower the further left (west) you go and y is lower the further down (south) you go, that would mean you need the South-West and North-East corners.
Код:
(N)
o-------o
o-------o
red = max x, max y
blue = min x, min y