Gang zone flashing on map, any solution?
#1

Hi.

I tried everything but I alltime get this bug when I create some gangzones.
Who know what the fuck is this, please help! Thanks!

I don't have any idea, I have this problem since I play samp.



Here is the code:

pawn Код:
GangZoneCreate(1655.885986,-2076.760498,1809.850585,-2158.480957);
GangZoneCreate(1808.585815,-2157.917968,1956.172851,-2062.886962);
GangZoneCreate(1813.746704,-2079.041748,1672.981933,-1865.627685);
GangZoneCreate(1812.860839,-2070.945312,1953.452392,-1862.097167);
Reply
#2

Not really sure what I'm looking at there. Are you overlapping the zones? You shouldn't.
Reply
#3

For example, view this video. You will see what I want to say.

[ame]http://www.youtube.com/watch?v=V_mKJCJ1xJ8[/ame]
Reply
#4

Yeah i had this problem, it occurs when two gang zones mix with each other.
Reply
#5

having the same problem ...
Reply
#6

How do you even have diagonal gang zones? Looks like you screwed up some coordinates.
Reply
#7

interesting... it looks like the orders of the zone coordinates got swapped.. imagine me drawing a aquare, by ONLY getting 4 points. you should assume that i draw them in clockwise direction:
Код:
.
.
.
x
Код:
x
I
I
x
Код:
x--x
I
I
x
Код:
x--x
I  I
I  I
x  x
Код:
x--x
I  I
I  I
x--x
now, since the order is ok, the 4 lines are connected properly, forming the square.
now change the 2 middle (upper) points, then we get:
Код:
   x
  /
 /
x
Код:
x--x
  /
 /
x
Код:
x--x
 \/
 /\
x  x
... and THATS what leads me to the conclusion that you fucked up some coordinates. the parameter order is:
minX, minY, maxX, maxY
Reply
#8

Thanks for help!
Yes, I fucked the cordinates.

I loaded GTA zones from info.zon and I see I must create left to right and everything will be ok.

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)