Removing "SERVER: Unknown Command!"
#4

Quote:
Originally Posted by DaRk_RaiN
Посмотреть сообщение
This won't work if he's using a command processor try this
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!success) SendClientMessage(playerid, -1, "The command you typed is invalid use/cmds");
    return 1;
}
Quote:
Originally Posted by Unknownich
Посмотреть сообщение
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    //commands here
    return SendClientMessage(playerid, color, "Invalid command");
   
}
Thank you both , solved.
Reply


Messages In This Thread
Removing "SERVER: Unknown Command!" - by xDaidal0S - 26.01.2013, 16:57
Re: Removing "SERVER: Unknown Command!" - by Unknownich - 26.01.2013, 17:16
Re: Removing "SERVER: Unknown Command!" - by DaRk_RaiN - 26.01.2013, 17:19
Re: Removing "SERVER: Unknown Command!" - by xDaidal0S - 26.01.2013, 17:20

Forum Jump:


Users browsing this thread: 2 Guest(s)