how to make command error message
#4

pawn Код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
    if(!succes)
    {
        new
            string[64]
        ;
        format(string, sizeof(string), "Command %s is wrong! Please look at /cmds!", cmdtext);
        return SendClientMessage(playerid, 0xFFFFFFFF, string);
    }
    return 1;
}
Well, I'm not experienced with zcmd, but I think this should work.
Reply


Messages In This Thread
how to make command error message - by [WSF]ThA_Devil - 06.11.2010, 19:15
Re: how to make command error message - by RyDeR` - 06.11.2010, 19:22
Re: how to make command error message - by [WSF]ThA_Devil - 06.11.2010, 19:26
Re: how to make command error message - by RyDeR` - 06.11.2010, 19:32
Re: how to make command error message - by [WSF]ThA_Devil - 06.11.2010, 19:35
Re: how to make command error message - by RyDeR` - 06.11.2010, 19:36
Re: how to make command error message - by [WSF]ThA_Devil - 06.11.2010, 19:39

Forum Jump:


Users browsing this thread: 1 Guest(s)