SA-MP Forums Archive
[debug] Run time error 4: "Array index out of bounds" - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [debug] Run time error 4: "Array index out of bounds" (/showthread.php?tid=659002)



[debug] Run time error 4: "Array index out of bounds" - Mamoru - 19.09.2018

Hola, Alguien sabe porque sale esto en el log?

Hello, Does anyone know why this is in the log?


pawn Код:
[18:27:55] [debug] Run time error 4: "Array index out of bounds"
[18:27:55] [debug] AMX backtrace:
[18:27:55] [debug] #0 001545c4 in public OnPlayerStateChange (0, 2, 1) from Gamemode.amx
[18:27:56] [debug] Run time error 4: "Array index out of bounds"
[18:27:56] [debug] AMX backtrace:
[18:27:56] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:27:57] [debug] Run time error 4: "Array index out of bounds"
[18:27:57] [debug] AMX backtrace:
[18:27:57] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:27:58] [debug] Run time error 4: "Array index out of bounds"
[18:27:58] [debug] AMX backtrace:
[18:27:58] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:27:59] [debug] Run time error 4: "Array index out of bounds"
[18:27:59] [debug] AMX backtrace:
[18:27:59] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:00] [debug] Run time error 4: "Array index out of bounds"
[18:28:00] [debug] AMX backtrace:
[18:28:00] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:01] [debug] Run time error 4: "Array index out of bounds"
[18:28:01] [debug] AMX backtrace:
[18:28:01] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:03] [debug] Run time error 4: "Array index out of bounds"
[18:28:03] [debug] AMX backtrace:
[18:28:03] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:04] [debug] Run time error 4: "Array index out of bounds"
[18:28:04] [debug] AMX backtrace:
[18:28:04] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:05] [debug] Run time error 4: "Array index out of bounds"
[18:28:05] [debug] AMX backtrace:
[18:28:05] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:06] [debug] Run time error 4: "Array index out of bounds"
[18:28:06] [debug] AMX backtrace:
[18:28:06] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:06] [debug] Run time error 4: "Array index out of bounds"
[18:28:06] [debug] AMX backtrace:
[18:28:06] [debug] #0 0004f430 in public EstadoVehiculos (0, -1) from Gamemode.amx
[18:28:07] [debug] Run time error 4: "Array index out of bounds"
[18:28:07] [debug] AMX backtrace:
[18:28:07] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:08] [debug] Run time error 4: "Array index out of bounds"
[18:28:08] [debug] AMX backtrace:
[18:28:08] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:09] [debug] Run time error 4: "Array index out of bounds"
[18:28:09] [debug] AMX backtrace:
[18:28:09] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:10] [debug] Run time error 4: "Array index out of bounds"
[18:28:10] [debug] AMX backtrace:
[18:28:10] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:11] [debug] Run time error 4: "Array index out of bounds"
[18:28:11] [debug] AMX backtrace:
[18:28:11] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:12] [debug] Run time error 4: "Array index out of bounds"
[18:28:12] [debug] AMX backtrace:
[18:28:12] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:14] [debug] Run time error 4: "Array index out of bounds"
[18:28:14] [debug] AMX backtrace:
[18:28:14] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:15] [debug] Run time error 4: "Array index out of bounds"
[18:28:15] [debug] AMX backtrace:
[18:28:15] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:16] [debug] Run time error 4: "Array index out of bounds"
[18:28:16] [debug] AMX backtrace:
[18:28:16] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:17] [debug] Run time error 4: "Array index out of bounds"
[18:28:17] [debug] AMX backtrace:
[18:28:17] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:17] [debug] Run time error 4: "Array index out of bounds"
[18:28:17] [debug] AMX backtrace:
[18:28:17] [debug] #0 0004f430 in public EstadoVehiculos (0, -1) from Gamemode.amx
[18:28:18] [debug] Run time error 4: "Array index out of bounds"
[18:28:18] [debug] AMX backtrace:
[18:28:18] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:19] [debug] Run time error 4: "Array index out of bounds"
[18:28:19] [debug] AMX backtrace:
[18:28:19] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:20] [debug] Run time error 4: "Array index out of bounds"
[18:28:20] [debug] AMX backtrace:
[18:28:20] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:21] [debug] Run time error 4: "Array index out of bounds"
[18:28:21] [debug] AMX backtrace:
[18:28:21] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:22] [debug] Run time error 4: "Array index out of bounds"
[18:28:22] [debug] AMX backtrace:
[18:28:22] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:24] [debug] Run time error 4: "Array index out of bounds"
[18:28:24] [debug] AMX backtrace:
[18:28:24] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:25] [debug] Run time error 4: "Array index out of bounds"
[18:28:25] [debug] AMX backtrace:
[18:28:25] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx
[18:28:26] [debug] Run time error 4: "Array index out of bounds"
[18:28:26] [debug] AMX backtrace:
[18:28:26] [debug] #0 0006f734 in public TiempoSegundo (0) from Gamemode.amx



Re: [debug] Run time error 4: "Array index out of bounds" - v1k1nG - 20.09.2018

PHP код:
new x[4];
printf("%d",x[5]); 
Something like that