"Server:UNKNOWN COMMAND"
#1

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.
Reply
#2

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;
}
Reply
#3

Change the return 0 to return SendClientMessage(...)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)