[debug] Run time error 4: "Array index out of bounds"
#4

Quote:
Originally Posted by FaLLenGirL
Посмотреть сообщение
Try using debug level 3, so it shows you the exact lines that produce the crash. You must do this:
Create a file called pawn.cfg in your pawno folder, inside this file write:
PHP код:
-d3 
After you made this thing please reply with the errors code here.
Don't forget to save the file and recompile your script.
PHP код:
[00:53:40] [debugRun time error 4"Array index out of bounds"
[00:53:40] [debug]  Attempted to read/write array element at negative index -400
[00:53:40] [debugAMX backtrace:
[
00:53:40] [debug#0 001bcfec in public avt_OnPlayerStateChange (playerid=0, newstate=8, oldstate=0) at C:\Users\PC-20\Desktop\Roleplay\gamemodes\Roleplay.pwn:20641
[00:53:40] [debug#1 0001b148 in public OnPlayerStateChange (playerid=0, newstate=8, oldstate=0) at C:\Users\PC-20\Desktop\Roleplay\pawno\include\anti-vehicle_teleporter.inc:155
[00:53:40] [debugRun time error 4"Array index out of bounds"
[00:53:40] [debug]  Attempted to read/write array element at negative index -400
[00:53:40] [debugAMX backtrace:
[
00:53:40] [debug#0 001bcfec in public avt_OnPlayerStateChange (playerid=0, newstate=1, oldstate=8) at C:\Users\PC-20\Desktop\Roleplay\gamemodes\Roleplay.pwn:20641
[00:53:40] [debug#1 0001b148 in public OnPlayerStateChange (playerid=0, newstate=1, oldstate=8) at C:\Users\PC-20\Desktop\Roleplay\pawno\include\anti-vehicle_teleporter.inc:155 
Reply


Messages In This Thread
[debug] Run time error 4: "Array index out of bounds" - by Richturtle - 08.05.2018, 14:56
Re: [debug] Run time error 4: "Array index out of bounds" - by TadePoleMG - 08.05.2018, 15:01
Re: [debug] Run time error 4: "Array index out of bounds" - by FaLLenGirL - 08.05.2018, 16:03
Re: [debug] Run time error 4: "Array index out of bounds" - by Richturtle - 09.05.2018, 17:57
Re: [debug] Run time error 4: "Array index out of bounds" - by Richturtle - 09.05.2018, 18:03

Forum Jump:


Users browsing this thread: 1 Guest(s)