Run time error , please help
#1

Код:
[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
Reply
#2

show the full code
Reply
#3

[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
Reply
#4

anyone help me
Reply
#5

I think this is not the problem, show the recent log, the last time when it gives you that error.
Reply
#6

update your streamer plugin and recompile your gamemode and see if that work's if not check around on your public OnPlayerEnterCheckpoint & public OnPlayerInteriorChange
Reply
#7

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.
Reply
#8

Try update your plugin(streamer,include) and your include you use.If still not work,look at public

OnPlayerInteriorChange and OnPlayerEnterCheckpoint.

All the best.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)