SA-MP Forums Archive
Help, no commands will work except for admin commands? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help, no commands will work except for admin commands? (/showthread.php?tid=274179)



Help, no commands will work except for admin commands? - MrPlayboy - 04.08.2011

Hi, I was recently editing my script and made a bad mistake. Now none of my commands will work except for admin one's and I cant see what the problem is.
When I try a command it returns -
SERVER: Unknown Command

I dont think its to do with any callbacks I'm not sure.
Could someone please help me, guide me how to fix this and just put me through step by step?


Re: Help, no commands will work except for admin commands? - Backwardsman97 - 05.08.2011

Are your admin commands in a seperate FS? Any filterscripts running that have the OnPlayerCommandText callback in them must have return 0 at the end of them or it will cause all other ones to return unknown.