Jump to content
  • 0

Run time error 4: "Array index out of bounds"



[11:08:38] [debug] Run time error 4: "Array index out of bounds"
[11:08:38] [debug]  Accessing element at index 100 past array upper bound 99
[11:08:38] [debug] AMX backtrace:
[11:08:38] [debug] #0 003135ec in public LoadProperty () at C:\Users\Xps\Desktop\gmCosminAK47\gamemodes\gmm.pwn:31379
[11:08:38] [debug] #1 000c103c in public [email protected]@_OnGameModeInit () at C:\Users\Xps\Desktop\gmCosminAK47\gamemodes\gmm.pwn:1549
[11:08:38] [debug] #2 0002f06c in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\YSI\y_hooks/impl.inc:484
[11:08:38] [debug] #3 native CallLocalFunction () [080dfb90] from samp03svr
[11:08:38] [debug] #4 0001bbec in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\AutoAFK.inc:47
[11:08:38] [debug] #5 000152d8 in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\sscanf2.inc:205
[11:08:38] [debug] #6 native CallLocalFunction () [080dfb90] from samp03svr
[11:08:38] [debug] #7 00014010 in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\YSI\y_iterate.inc:791
[11:08:38] [debug] #8 00012c30 in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\YSI\internal\..\y_scriptinit.inc:171
[11:08:38] [debug] #9 native CallLocalFunction () [080dfb90] from samp03svr
[11:08:38] [debug] #10 00006c10 in Command_Add () at C:\Users\Xps\Desktop\gmCosminAK47\pawno\include\playerzone.inc:429
[11:08:38] Number of vehicle models: 64
[11:08:39] Accesory loaded: 100

Am problema de mai sus la compilare.


 31379:       mysql_get_field("ID", result);                HouseInfo[hID] = strval(result);
           mysql_get_field("Entrancex", result);        HouseInfo[hEntrancex] = floatstr(result);
        mysql_get_field("Entrancey", result);        HouseInfo[hEntrancey] = floatstr(result);
        mysql_get_field("Entrancez", result);        HouseInfo[hEntrancez] = floatstr(result);
        mysql_get_field("Exitx", result);            HouseInfo[hExitx] = floatstr(result);
        mysql_get_field("Exity", result);            HouseInfo[hExity] = floatstr(result);
        mysql_get_field("Exitz", result);            HouseInfo[hExitz] = floatstr(result);



//    LoadClans();
//    LoadGraffiti();

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.