GangZone Show For All!
#7

ERRORS:

pawn Код:
[14:47:17] [debug] Run time error 4: "Array index out of bounds"
[14:47:17] [debug]   Accessing element at index 8 past array upper bound 7
[14:47:17] [debug] AMX backtrace:
[14:47:17] [debug] #0  0001ee78 in public S@@_OnPlayerConnect () from (SE).amx
[14:47:17] [debug] #1  native CallLocalFunction () [00472c00] from samp-server.exe
[14:47:17] [debug] #2  00013268 in public Itter_OnPlayerConnect () from (SE).amx
[14:47:17] [debug] #3  native CallLocalFunction () [00472c00] from samp-server.exe
[14:47:17] [debug] #4  00009f20 in public SSCANF_OnPlayerConnect () from (SE).amx
[14:47:17] [debug] #5  native CallLocalFunction () [00472c00] from samp-server.exe
[14:47:17] [debug] #6  00001a48 in public Streamer_OnPlayerConnect () from (SE).amx
[14:47:17] [debug] #7  native CallLocalFunction () [00472c00] from samp-server.exe
[14:47:17] [debug] #8  00000f6c in public OnPlayerConnect () from (SE).amx

for
pawn Код:
for(new i=1; i<18; i++)
    {
        GangZoneShowForPlayer(playerid, turf[i], GangColors[ TeritoriuInfo[i][tColor] ]);
    }
and
pawn Код:
for(new i=1; i<18; i++)
    {
         turf[i] = GangZoneCreate(TeritoriuInfo[i][tPozX1],TeritoriuInfo[i][tPozY1],TeritoriuInfo[i][tPozX2],TeritoriuInfo[i][tPozY2]);
    }
Reply


Messages In This Thread
GangZone Show For All! - by nGen.SoNNy - 25.07.2012, 10:59
Re: GangZone Show For All! - by iggy1 - 25.07.2012, 11:04
Re: GangZone Show For All! - by nGen.SoNNy - 25.07.2012, 11:18
Re: GangZone Show For All! - by iggy1 - 25.07.2012, 11:20
Re: GangZone Show For All! - by nGen.SoNNy - 25.07.2012, 11:22
Re: GangZone Show For All! - by iggy1 - 25.07.2012, 11:25
Re: GangZone Show For All! - by nGen.SoNNy - 25.07.2012, 12:03
Re: GangZone Show For All! - by iggy1 - 25.07.2012, 12:18

Forum Jump:


Users browsing this thread: 1 Guest(s)