[Ajuda] Ajuda Run Time Error 4
#1

O que significa isso? ele tб dando isso em alguns comandos e tambйm em algumas publics.

Код:
[23:23:48] [debug] Run time error 4: "Array index out of bounds"
[23:23:48] [debug]  Accessing element at negative index -1
[23:23:48] [debug] AMX backtrace:
[23:23:48] [debug] #0 001bb764 in public cmd_vendercaixa (5, 30789024) from gm.amx
Код:
[debug] #1 native CallLocalFunction () from samp03svr
[23:25:07] [debug] #2 00019c14 in public OnPlayerCommandText (5, 30788972) from gm.amx
[23:26:08]
Reply
#2

Vocк estб acessando uma array com нndice -1, exemplo:
Код:
new key = -1;
new Test[10];

printf("%d", Test[key]);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)