Command Message
#5

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    new Text[100];
    format(Text, sizeof Text,"[Error] Command /%s don't exist!", cmdtext);
    /*Your commands here
    here...
    here...
    blah blah*/


    return SendClientMessage(playerid, COLOR_ERROR, Text);
}
Should work then.

EDIT: MyLife was a bit faster.
Reply


Messages In This Thread
Command Message - by The_$ - 13.05.2011, 17:07
Re: Command Message - by MadeMan - 13.05.2011, 18:14
Re: Command Message - by Famalamalam - 13.05.2011, 18:17
Re: Command Message - by MyLife - 13.05.2011, 18:18
Re: Command Message - by Jeffry - 13.05.2011, 18:20
Re: Command Message - by Famalamalam - 13.05.2011, 18:22
Re: Command Message - by Ozz - 13.05.2011, 20:03
Re: Command Message - by Jeffry - 13.05.2011, 20:10
Re: Command Message - by Famalamalam - 13.05.2011, 22:12
AW: Command Message - by The_$ - 15.05.2011, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)