SA-MP Forums Archive
[How to?] Change SERVER: ... Messages? - 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: [How to?] Change SERVER: ... Messages? (/showthread.php?tid=135478)



[How to?] Change SERVER: ... Messages? - Thrarod - 20.03.2010

I want to change those message for ex. "SERVER: Unknown command." to "[Server] Wrong command, check /help"


Re: [How to?] Change SERVER: ... Messages? - jameskmonger - 20.03.2010

Change the "return 0;" at the bottom of the OnPlayerCommandText to this:
Код:
return SendClientMessage(playerid, COLOR, "[Server] Wrong command, check /help");



Re: [How to?] Change SERVER: ... Messages? - Thrarod - 20.03.2010

Thanks!