Help in Admin chat command
#3

Try it:

pawn Код:
if(!strcmp(cmdtext, "/chat", true, 4))
    {
        if(!cmdtext[4])return SendClientMessage(playerid, 0xFF0000FF, "USAGE: /chat [text]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "* %s %s", str, cmdtext[5]);
        SendClientMessageToAll(0xFFFF00AA, str);
        return 1;
    }
Reply


Messages In This Thread
Help in Admin chat command - by BASITJALIL - 12.03.2011, 12:16
Re: Help in Admin chat command - by JamesC - 12.03.2011, 12:39
Re: Help in Admin chat command - by Montis123 - 12.03.2011, 12:41
Re: Help in Admin chat command - by JamesC - 12.03.2011, 12:44
Re: Help in Admin chat command - by BASITJALIL - 12.03.2011, 12:48
Re: Help in Admin chat command - by JamesC - 12.03.2011, 12:50
Re: Help in Admin chat command - by BASITJALIL - 12.03.2011, 12:56
Re: Help in Admin chat command - by Gagi_Corleone - 12.03.2011, 13:03
Re: Help in Admin chat command - by Stigg - 12.03.2011, 13:05

Forum Jump:


Users browsing this thread: 3 Guest(s)