/asay?
#7

pawn Код:
if (strcmp("/asay1", cmdtext, true, 10) == 0)
    {
        if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid, COLOR_RED, "Error: You are not an admin");
        {
            new str[128];
            GetPlayerName(playerid, str, sizeof(str));
            strdel(cmdtext,0,6);
            format(str, sizeof(str), "Admin: %s %s", cmdtext);
            SendClientMessageToAll(COLOR_YELLOW, cmdtext);
        }
        return 1;
    }
I think this should work same (if not even faster, than the other ones).
Reply


Messages In This Thread
/asay? - by Luis- - 12.09.2010, 13:09
Re: /asay? - by iJumbo - 12.09.2010, 13:31
Re: /asay? - by Mr.Obscure - 12.09.2010, 14:27
Re: /asay? - by Luis- - 12.09.2010, 15:30
Re: /asay? - by Toni - 12.09.2010, 15:55
Re: /asay? - by Luis- - 12.09.2010, 16:03
Re: /asay? - by DeathOnaStick - 12.09.2010, 16:06
Re: /asay? - by PotH3Ad - 12.09.2010, 17:00

Forum Jump:


Users browsing this thread: 1 Guest(s)