SERVER: Unknown Command - 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: SERVER: Unknown Command (
/showthread.php?tid=375205)
SERVER: Unknown Command -
Luis- - 05.09.2012
Righty, i've scripted my own gamemode which i'm using for 'Luis's Fun Box' but i'm having problems with it, "SERVER: Unknown Command" appears sometimes when a player connects, after they type their password in, nothing happens the server just stops working, nothing loads etc. Even if the connecting part works, sometimes when a player dies, the "SERVER: Unknown Command" appears and the commands are not working. I am using ZCMD & SSCANF for my commands. I don't have "OnPlayerCommandText" in my script. Any ideas?
Re: SERVER: Unknown Command -
Luis- - 06.09.2012
Bump
Re: SERVER: Unknown Command -
Kyle - 06.09.2012
OnPlayerCommandText would be called in the ZCMD, add a print inside it to see what's happening what ID is calling it and the cmdtext called.
Re: SERVER: Unknown Command -
Kyle - 06.09.2012
Sometimes Unknown Command is called by an array out of bounds.