Jump to content
  • 0

Amx Backtrace [ Debug ]


CrystyXSR

Question

Problemă întâlnită (descriere): AMX Backtrace
Ero(area / rile) / warning-(ul / urile): 

[16:50:30] [debug] Run time error 4: "Array index out of bounds"
[16:50:30] [debug]  Accessing element at index 9 past array upper bound 8
[16:50:30] [debug] AMX backtrace:
[16:50:30] [debug] #0 00060f1c in ?? (0x00000000) from XSR.amx
[16:50:30] [debug] #1 00060ff4 in public OnPlayerConnectEx (0x00000000) from XSR.amx
[16:50:30] [debug] #2 0005df3c in public BanListCheck (0x00000000) from XSR.amx

Vine in urma intrari pe server a unui jucator si am descoperit ca este de la stock-ul ShowZonesFor de la Public OnPlayerConnect.

 

Stock ShowZonesFor:

stock ShowZonesFor( playerid ) 
{
    for ( new i = 0; i < MAX_TERITORIES; i++ ) 
    {
         GangZoneShowForPlayer( playerid, Teritories[ i ][ ID ], GangColors[ GangInfo[Teritories[ i ][ owner ]][GangColor] ] );
    }
} 

Liniile de cod / sursa / script-ul: Este scris mai sus .xD
Imagini / Video (optional): -
Aţi încercat să rezolvaţi singur?: da

93.119.26.23:7777

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.