SA-MP Forums Archive
chatlog error - 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: chatlog error (/showthread.php?tid=599212)



chatlog error - Oeal - 22.01.2016

[20:59:57] [debug] Run time error 4: "Array index out of bounds"
[20:59:57] [debug] Accessing element at negative index -1
[20:59:57] [debug] AMX backtrace:
[20:59:57] [debug] #0 00015e5c in public SSCANF_OnPlayerDisconnect (4, 1) from script.amx
[20:59:57] [debug] #1 00006da0 in public FIXES_OnPlayerDisconnect (4, 1) from script.amx
[20:59:57] [debug] #2 native CallLocalFunction () from sampsvr-port_2441
[20:59:57] [debug] #3 000049c8 in public Itter_OnPlayerDisconnect (4, 1) from script.amx
[20:59:57] [debug] #4 native CallLocalFunction () from sampsvr-port_2441
[20:59:57] [debug] #5 00001854 in public OnPlayerDisconnect (4, 1) from script.amx

I get this when a player leaves the server, I don't understand it..
Any help? I wanna fix it. Thanks


Re: chatlog error - Mencent - 22.01.2016

Hello!

Can you show us your callback OnPlayerDisconnect, please?