Run time error , please help -
jesdynguyen - 04.06.2014
Код:
[05/06/2014 04:58:15] [debug] Run time error 4: "Array index out of bounds"
[05/06/2014 04:58:15] [debug] Accessing element at index 999 past array upper bound 699
[05/06/2014 04:58:15] [debug] AMX backtrace:
[05/06/2014 04:58:15] [debug] #0 004ab6e8 in public OnPlayerInteriorChange () from RazorRP.amx
How to fix this , please help me
Re: Run time error , please help -
Dangjai - 04.06.2014
show the full code
Re: Run time error , please help -
jesdynguyen - 09.06.2014
[debug] Run time error 4: "Array index out of bounds"
[09/06/2014 08:28:29] [debug] Accessing element at negative index -1
[09/06/2014 08:28:29] [debug] AMX backtrace:
[09/06/2014 08:28:29] [debug] #0 00088328 in public Streamer_OnPlayerEnterCP () from razorrp.amx
[09/06/2014 08:28:29] [debug] #1 native CallLocalFunction () [00472ef0] from samp-server.exe
[09/06/2014 08:28:29] [debug] #2 00000f68 in public OnPlayerEnterCheckpoint () from razorrp.amx
Re: Run time error , please help -
jesdynguyen - 09.06.2014
anyone help me
Re: Run time error , please help -
iFiras - 09.06.2014
I think this is not the problem, show the recent log, the last time when it gives you that error.
Re: Run time error , please help -
KSI - 09.06.2014
update your streamer plugin and recompile your gamemode and see if that work's if not check around on your public OnPlayerEnterCheckpoint & public OnPlayerInteriorChange
Re: Run time error , please help -
Konstantinos - 09.06.2014
Compile your scripts with -d3:
https://github.com/Zeex/samp-plugin-...ith-debug-info
and it will print the exact line caused the run time error. Then post the output of crashdetect and the 2 callbacks: OnPlayerInteriorChange and OnPlayerEnterCheckpoint.
Re: Run time error , please help -
Camataru7 - 09.06.2014
Try update your plugin(streamer,include) and your include you use.If still not work,look at public
OnPlayerInteriorChange and OnPlayerEnterCheckpoint.
All the best.