Crash detect help - 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: Crash detect help (
/showthread.php?tid=633556)
Crash detect help -
Farzam - 03.05.2017
Greetings,
I've got this problem in my gamemode, It worked very well previous time I compiled it, and now some commands aren't working. I don't know much about this errors. Anyone can help? I've got a long ass ongamemodeinit that's why I'm not posting it. I used crashdetect and got this lines:
Код:
[debug] Run time error 4: "Array index out of bounds"
[debug] Accessing element at index 65535 past array upper bound 1999
[debug] AMX backtrace:
[debug] #0 00062cc0 in public zcmd_OnGameModeInit () from SATDM_v9.amx
[debug] #1 native CallLocalFunction () from samp-server.exe
[debug] #2 00006834 in public Streamer_OnGameModeInit () from SATDM_v9.amx
[debug] #3 native CallLocalFunction () from samp-server.exe
[debug] #4 00005f40 in public OnGameModeInit () from SATDM_v9.amx
Re: Crash detect help -
Logic_ - 03.05.2017
Show us your OnGameModeInit callback. Here the error shows that you have set/ created something beyond the max. value of 1999, I believe this is because of the vehicles limit.