SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: SERVER:Unknown command (/showthread.php?tid=165652)



SERVER:Unknown command - ShawnMiller1337 - 05.08.2010

Hello SA-MP Community , I have a situation with my gamemode , I searched "SERVER: Unknown Command" in my gamemode and nothing comes up but when I am in game ,and say I type /testblahblah it returns SERVER:Unknown Command , How would I remove it from saying server: unknown command ? any help please ?


Re: SERVER:Unknown command - Jeffry - 05.08.2010

Go in your gamemode under "OnPlayerCommandText" to the:
pawn Код:
return 0;
and change to:
pawn Код:
return SendClientMessage(playerid, red, "Non-Existing cmd!!"); //Or whatever.
or to remove the message at all make it to:
pawn Код:
return 1;
I hope this helps you.