02.07.2020, 16:23
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:
One of your arrays has a size of 50 cells, but it attempts to access index 60.
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
pawn Code:
new myArray[50];
myArray[60] = 1;