Gang Zone Issue. - 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: Gang Zone Issue. (
/showthread.php?tid=609132)
Gang Zone Issue. -
UnholyBeast - 09.06.2016
Well. It's hard to explain. So I am gonna give you pictures of the issue, and post all the code I used to create the gang zone.
Код:
new GroveGangZone;
GroveGangZone = GangZoneCreate(2349.8303, -1631.6602, 2543.2820, -1725.5413);
As you can see MinX, MinY, are infact smaller then MaxX, and MaxY. I looked at a thread made in 2014 regarding this issue, and that is what caused their issue, but as you can clearly see. That is not the case here.
Re: Gang Zone Issue. -
Gammix - 09.06.2016
Код:
minx = 2349.8303
miny = -1631.6602
maxx = 2543.2820
maxy = -1725.5413
So your
miny > maxy, where it should be
miny < maxy
Код:
new GroveGangZone;
GroveGangZone = GangZoneCreate(2349.8303, -1725.5413, 2543.2820, -1631.6602);
Re: Gang Zone Issue. -
UnholyBeast - 09.06.2016
Thank you very much, but that honestly makes no sense, but it did in fact work. I'm just so confused on how minY has to be bigger then maxY.
Re: Gang Zone Issue. -
Gammix - 09.06.2016
Quote:
Originally Posted by UnholyBeast
Thank you very much, but that honestly makes no sense, but it did in fact work. I'm just so confused on how minY has to be bigger then maxY.
|
Its opposite, miny should be smaller than maxy. Makes complete sense, and it is what i have stated in my previous reply.