SA-MP Forums Archive
[Help] Gangzones off map - 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] Gangzones off map (/showthread.php?tid=502047)



[Help] Gangzones off map - AlexandreRangelMamut - 22.03.2014

I'm building a server, and I have several maps on the water, as if they were islands ... they are far from the original map.

I saw a tutorial that creates gangzones BLACK without transparency.

My doubt:

When I create an gangzone off the map, on top, on top of the water, it appears below the map in different place that I created. Like a world map, which starts at the top and bottom ends. Could anyone help me??

Код:
	Baboue1 = GangZoneCreate(2119.5,-2783.6000976563,2131.3000488281,-3985.8000488281);



Re: [Help] Gangzones off map - Vince - 22.03.2014

Pay close attention the the order of the parameters: minx, miny, maxx, maxy. Either you switched miny and maxy, or you did it wrong entirely.


Re: [Help] Gangzones off map - AlexandreRangelMamut - 22.03.2014

The red arrow is where I got the coordinates, and where it should appear.

The blue is where it appears on the map.




Код:
new Baboue1;

 Baboue1 = GangZoneCreate(2131.3000488281,-3985.8000488281,2119.5,-2783.6000976563);

    GangZoneShowForPlayer(playerid, Baboue1,0x000000FF);



Re: [Help] Gangzones off map - Hanuman - 22.03.2014

If your Zone is coming at wrong area then take the coordinates again.