• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] [debug] Run time error 4: "Array index out of bounds"
#4
Add
Code:
if (!rows) return 1;
Before the first for loop

Also, loop through rows, not MAX_VEHICLES
Using Pawn.CMD?

If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
  Reply


Messages In This Thread
RE: HELP! [debug] Run time error 4: "Array index out of bounds" - by Pinch - 2021-05-17, 09:13 AM

Forum Jump: