Run time error 4
#2

Runtime error 4: Array index out of bounds.

It means it tries to get data from an array from an index that does not exist. It literally says that:
Code:
[22:05:28] [debug] Run time error 4: "Array index out of bounds"
[22:05:28] [debug]  Attempted to read/write array element at index 60 in array of size 50
One of your arrays has a size of 50 cells, but it attempts to access index 60.
pawn Code:
new myArray[50];
myArray[60] = 1;
Reply


Messages In This Thread
Run time error 4 - by Yukie - 02.07.2020, 14:37
Re: Run time error 4 - by Kwarde - 02.07.2020, 16:23
Re: Run time error 4 - by ShadowMortar - 02.07.2020, 16:45
Re: Run time error 4 - by Yukie - 02.07.2020, 19:44

Forum Jump:


Users browsing this thread: 1 Guest(s)