Gangzone
#1

pawn Код:
Zones[i] = GangZoneCreate(ZoneInfo[i][zMinX],ZoneInfo[i][zMinY],ZoneInfo[i][zMaxX],ZoneInfo[i][zMaxY]);
      zones ++;
This reads Stuff from the gangzone.ini file PRoblem is;
Not all of the gang turfs shows up. Can anyone identify the problem? This is my list

Код:
-86,unclaimed,2046.923583,1533.014892,2325.559326,1771.223510
-86,unclaimed,2321.400878,1770.611816,2427.387451,1612.886352
-86,unclaimed,2334.349121,1615.400268,2425.341308,1534.744384
-86,unclaimed,2421.994384,1603.924560,2609.828369,1473.264892
-86,unclaimed,2595.804931,1477.540283,2425.105224,1184.449462
-86,unclaimed,2339.506103,962.238098,2598.270751,1197.897583
-86,unclaimed,2605.806640,974.489990,2681.631835,1173.231689
-86,unclaimed,2681.568115,1166.207275,2595.866455,1607.281372
-86,unclaimed,2681.190917,1606.157104,2503.554931,1960.986938
-86,unclaimed,2508.664062,1603.731933,2431.421386,1775.755371
-86,unclaimed,2508.334472,1774.593994,2352.821777,1884.197631
-86,unclaimed,2355.726562,1883.265869,2506.070556,1973.762573
-86,unclaimed,2115.989013,1763.437011,2357.905273,1886.414306
-86,unclaimed,2354.640380,1892.758422,2129.361572,2022.946899

etc
Reply
#2

Maybe You forgot to show it?
https://sampwiki.blast.hk/wiki/GangZoneShowForPlayer
Reply
#3

Quote:
Originally Posted by Martin_M
No I have shown it. I did not include that part of the script here
Reply
#4

Perhaps there's a MAX_ZONES definition someplace, you'd have to increase that. Or increase the variable that holds the information. (Zones[17] would need to be increase)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)