SA-MP Forums Archive
[Help] Gang Zones BUG - 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: [Help] Gang Zones BUG (/showthread.php?tid=450646)



[Help] Gang Zones BUG - David (Sabljak) - 14.07.2013

I dont know how to explain that, happening whole time with zones in some areas when i move camera in position then its show on whole map...

anyway to fix?

Pictures

Bugged - http://i.imgur.com/bKeZgEw.jpg

Not Bugged - http://i.imgur.com/CVWTRss.jpg


Respuesta: [Help] Gang Zones BUG - Parka - 14.07.2013

code?
I doubt if the pawn code that can help.


Re: [Help] Gang Zones BUG - David (Sabljak) - 14.07.2013

Код:
new PSZona;
new DBZona;
new FAFZona;
Код:
PSZona = GangZoneCreate(1690.8373,-1151.2504,1831.5469,-1092.8162);
	DBZona = GangZoneCreate(1069.6509,-1414.1553, 1189.2960,-1564.8917);
	FAFZona = GangZoneCreate(1836.7708,-1270.9724, 1722.4917,-1431.8853);
Код:
GangZoneShowForPlayer(playerid,PSZona,TPlavaZ);
    GangZoneShowForPlayer(playerid,DBZona,MaslinaZ);
    GangZoneShowForPlayer(playerid,FAFZona,CrvenaZ);
DBZona is used in pictures...


AW: [Help] Gang Zones BUG - Macronix - 14.07.2013

Then there is something wrong with the coordinates i think...
Did you do this on your own with /save or did you use a GangZoneCreator script?


Re: [Help] Gang Zones BUG - David (Sabljak) - 14.07.2013

I do it with /save

like

I will try to drawn area xD

Код:
O--------------X


X--------------O
i use /save on O and O or X and X, its same right?


AW: [Help] Gang Zones BUG - Macronix - 14.07.2013

Mmh, try to view the north cardinal direction and then do a save at the bottom left-corner and then the same (same view at north) at the upper right-corner:

Код:
_________________________X(view north)
|                       |
|                       |
|                       |
|                       |
|                       |
X(view north)___________|
That's how i do it


Re: AW: [Help] Gang Zones BUG - David (Sabljak) - 14.07.2013

Quote:
Originally Posted by Macronix
Посмотреть сообщение
Mmh, try to view the north cardinal direction and then do a save at the bottom left-corner and then the same (same view at north) at the upper right-corner:

Код:
_________________________X(view north)
|                       |
|                       |
|                       |
|                       |
|                       |
X(view north)___________|
That's how i do it
Ok, thanks, i will try...


AW: [Help] Gang Zones BUG - Macronix - 14.07.2013

But use X1 and Y1 for the bottom left-corner and X2, Y2 for the upper right-corner, okay?


Re: AW: [Help] Gang Zones BUG - David (Sabljak) - 14.07.2013

Quote:
Originally Posted by Macronix
Посмотреть сообщение
But use X1 and Y1 for the bottom left-corner and X2, Y2 for the upper right-corner, okay?
Wait now i dont get it XD

I must

Код:
O-----------/save

/save--------------O
you draw like that? XD


AW: [Help] Gang Zones BUG - Macronix - 14.07.2013

Yes, and then just use the x-coordinate and y-coordinate from the bottom leftcorner and the x-coord and y-coord from the upper right-corner

Код:
O-----------(x2,y2)/save

/save (x1,y1)--------------O