Commands Not Working - 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: Commands Not Working (
/showthread.php?tid=398698)
Commands Not Working -
PryX0G3n - 10.12.2012
Hi guys, i have created a filterscript but when start the server, working only commands the filterscript, and those of the gamemode not working, why?
And what's this error ?
Код:
[20:53:59] [debug] Run time error 4: "Array index out of bounds"
[20:53:59] [debug] Accessing element at negative index -1
[20:53:59] [debug] AMX backtrace:
[20:53:59] [debug] #0 0001a0f0 in ?? () from Filterscript2.amx
[20:53:59] [debug] #1 00035940 in ?? () from Filterscript2.amx
[20:53:59] [debug] #2 000224dc in public Itter_OnPlayerDisconnect () from Filterscript2.amx
[20:53:59] [debug] #3 native CallLocalFunction () [00472c00] from samp-server.exe
[20:53:59] [debug] #4 0001d758 in public S@@_OnPlayerDisconnect () from Filterscript2.amx
[20:53:59] [debug] #5 native CallLocalFunction () [00472c00] from samp-server.exe
[20:53:59] [debug] #6 0000062c in public OnPlayerDisconnect () from Filterscript2.amx
Please help me it's urgent! (sorry my english)
Re: Commands Not Working -
Red_Dragon. - 10.12.2012
Show us your OnPlayerDisconnect
Re: Commands Not Working -
PryX0G3n - 10.12.2012
Thanks for reply, i have resolved the First problem (command not working)
This problem not always appens.
Re: Commands Not Working -
Red_Dragon. - 10.12.2012
So what is the problem now ?
Re: Commands Not Working -
PryX0G3n - 10.12.2012
The problem is AMX backtrace in the OnPlayerDisconnect, but happens sometimes.
Re: Commands Not Working -
Red_Dragon. - 10.12.2012
I know but does it cause any problems in the commands ? because i have errors similar to these errors but affect nothing in my GM
Re: Commands Not Working -
PryX0G3n - 10.12.2012
Quiet I solved, thanks however!
REP +