18.07.2013, 14:36
(
Последний раз редактировалось thimo; 18.07.2013 в 17:33.
)
Poofed away
[18:41:37] [debug] Run time error 4: "Array index out of bounds" [18:41:37] [debug] Accessing element at index 10 past array upper bound 9 [18:41:37] [debug] AMX backtrace: [18:41:37] [debug] #0 0000e020 in public cmd_park () from ET.amx [18:41:37] [debug] #1 native CallLocalFunction () [00471e90] from samp-server.exe [18:41:37] [debug] #2 00000694 in public OnPlayerCommandText () from ET.amx [18:41:37] Thimo used: /park
enum e_TestEnum
{
eTest
}
new TestEnum[10][e_TestEnum];
TestEnum[9][eTest] = 5; // Works fine
TestEnum[10][eTest] = 5; // Out of bounds error