Custom unknow command message
#1

How do I change the default unknown command message?
Reply
#2

What command processor are you using?
Reply
#3

Quote:
Originally Posted by tyler12
Посмотреть сообщение
What command processor?
ZCMD, sorry i forgot to mention
Reply
#4

pawn Код:
public OnPlayerCommandPerformed( playerid, cmdtext[ ], success )
{
    if( !success )
    {
        SendClientMessage( playerid, 0xFF0000FF, "[ERROR]: That command does not exist." );
    }
    return 1;
}
Reply
#5

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!sucess) return some error;
return 1;
}
EDIT: Late; fuck 120 seconds wasted of my life.
Reply
#6

Quote:
Originally Posted by tyler12
Посмотреть сообщение
pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!sucess) return some error;
return 1;
}
EDIT: Late; fuck 120 seconds wasted of my life.
You replied first on the thread ,so thanks to you
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)