SA-MP Forums Archive
Need some help, (Unknown Server 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: Need some help, (Unknown Server Command) (/showthread.php?tid=417651)



Need some help, (Unknown Server Command) - Lemonaidz - 22.02.2013

Hey, need some help, After any command i use on my server, it will say "Unknown server command" the Commands i use all work, but its annoying to see this after every command i use, Link to my PAWN coding - http://pastebin.com/YDAMyZX3

(p.s Im noob at scripting)
Any help is greatly appreciated!


Re: Need some help, (Unknown Server Command) - thefatshizms - 22.02.2013

Change return 0; to return 1; in OnPlayerCommandText

You have also defined it ( and using OnFilterScriptInit ) as a Filterscript so I would remove those lines as well


Re: Need some help, (Unknown Server Command) - Lemonaidz - 22.02.2013

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
Change return 0; to return 1; in OnPlayerCommandText

You have also defined it ( and using OnFilterScriptInit ) as a Filterscript so I would remove those lines as well
Thx Heaps