SA-MP Forums Archive
[Ajuda] Array index out of bounds - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Array index out of bounds (/showthread.php?tid=385485)



Array index out of bounds - fodaoeusim - 16.10.2012

Alguem experiente pode me dizer o que se trata isso? e como arrumar?

[23:29:52] [debug] Run time error 4: "Array index out of bounds"
[23:29:52] [debug] Accessing element at negative index -400
[23:29:52] [debug] AMX backtrace:
[23:29:52] [debug] #0 00007bc8 in ?? () from BJK.amx
[23:29:52] [debug] #1 0010a0d4 in public velocimetro () from BJK.amx


Re: Array index out of bounds - zSuYaNw - 16.10.2012

Abra seu gamemode e apague a ъltima mer ops coisa que vocк fez.


Re: Array index out of bounds - rjjj - 16.10.2012

Isso significa que uma tentativa de acesso a uma parte de array de нndice -400, que й invбlida, foi efetuada :


pawn Code:
new Array[10];
new Indice = -400;
printf("Parte de нndice igual a -400: %d", Array[Indice]);


Espero ter ajudado .