"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)
+--- Thread: "Server:UNKNOWN COMMAND" (
/showthread.php?tid=392278)
"Server:UNKNOWN COMMAND" -
RieTzz - 13.11.2012
Hey there folks,
As the topic says, I would like to change the "SERVER: UNKNOWN COMMAND" to an other ClientMessage, like
"This command does not exist on this server."
Does anyone knows how to do that? I have got zcmds..
Mit freundlichen Grьssen - Regards.
RieTzz.
Re: "Server:UNKNOWN COMMAND" -
West X - 13.11.2012
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) SendClientMessageEx(playerid, COLOR_WHITE, "Unknown command. You can use /help to view a list of server commands.");
return 1;
}
Re: "Server:UNKNOWN COMMAND" -
Jochemd - 13.11.2012
Change the return 0 to return SendClientMessage(...)