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=101008)



SERVER: Unknown Command - sandisk125 - 07.10.2009

when player types a wrong command then it says: "SERVER: Unknown Command",right?
so how can i edit the SERVER: Unknown Command to something else?


Re: SERVER: Unknown Command - Hiitch - 07.10.2009

You can't, at least I dont think you can.

I have a feeling that it's client sided.


Re: SERVER: Unknown Command - [XST]O_x - 07.10.2009

That have been asked alot of times before.
On the end of OnPlayerCommandText you have return 0;
change the return 0; to something like
pawn Код:
return SendClientMessage(playerid,YOUR_COLOR,"This is an Unknown command,Try using /Commands or /Help.");
Search next time.

Quote:
Originally Posted by Compton's Eazy E
edit: Firefox you beat me :P




Re: SERVER: Unknown Command - Eazy_Efolife - 07.10.2009

Quote:
Originally Posted by [NaB
Hiitch - No srsly, Im a NaB ! ]
You can't, at least I dont think you can.

I have a feeling that it's client sided.
You can, Just in OnPlayerCommandText put

Код:
SendClientMessage(playerid, COLOR, "Your Words ");
edit: Firefox you beat me :P