Gangzone problem
#1

Код:
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?
Reply
#2

Parameter order!
PHP код:
native GangZoneCreate(Float:minxFloat:minyFloat:maxxFloat:maxy); 
minx must be smaller than maxx and miny must be smaller than maxy.
Reply
#3

Код:
red=GangZoneCreate(11.9665, 2391.1531, 441.9730, 2632.0515);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)