Not all gang zones show
#1

Hi

I have some problems. I'm making a new game mode which uses gang zones.
I took the coords for the zones right from the info.zon file, so I know the coordinates are correct.

But when the player spawns, only about half of the zones is shown (see map).

pawn Код:
public OnPlayerSpawn(playerid)
{
    for(new i = 0; i <= MAX_ZONES_PER_AREA; i++)
    {
        GangZoneShowForPlayer(playerid, GZ_LAIR[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_ELCO[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_LIND[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_LDOC[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_VERO[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_BLUF[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_MARI[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_CONF[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_GLEN[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_COMM[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_PER[i],  0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_LMEX[i],     0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_IWD[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_JEF[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_CHC[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_GAN[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_EBE[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_ELS[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_LFL[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_LDT[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_MULINT[i],   0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_MUL[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_MKT[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_VIN[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_SUN[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_SMB[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_ROD[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_RIH[i],      0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_UNITY[i],    0x0000FF66);
        GangZoneShowForPlayer(playerid, GZ_PLS[i],      0x0000FF66);
    }
    return 1;
}
Los Santos is split into 30 areas, with the use of 142 gang zones. How can I fix it, so ALL zones show when a player spawns? I added some screens:

Whole map (note missing part of Los Santos Airport):


Los Santos Airport and El Corona only enabled:

Reply


Messages In This Thread
Not all gang zones show - by Vince - 29.05.2009, 16:35
Re: Not all gang zones show - by member - 29.05.2009, 16:46
Re: Not all gang zones show - by Vince - 29.05.2009, 17:04
Re: Not all gang zones show - by member - 29.05.2009, 17:06
Re: Not all gang zones show - by Vince - 29.05.2009, 17:13
Re: Not all gang zones show - by Vince - 29.05.2009, 20:33

Forum Jump:


Users browsing this thread: 1 Guest(s)