Gangzone problem - 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: Gangzone problem (
/showthread.php?tid=594092)
Gangzone problem -
ax1 - 13.11.2015
Код:
black=GangZoneCreate(-3000.0,-3000.0,3000.0,3000.0);
red=GangZoneCreate(11.9665, 2632.0515, 441.9730, 2391.1531);
http://i.imgur.com/3s6jnkV.png : the way it should be
http://i.imgur.com/VDClLj3.png : when I change my viewpoint, it mess up my red gangzone. How do I fix this?
Re: Gangzone problem -
Vince - 13.11.2015
Parameter order!
PHP код:
native GangZoneCreate(Float:minx, Float:miny, Float:maxx, Float:maxy);
minx must be smaller than maxx and miny must be smaller than maxy.
Re: Gangzone problem -
AbyssMorgan - 13.11.2015
Код:
red=GangZoneCreate(11.9665, 2391.1531, 441.9730, 2632.0515);