/aooc?
#1

Hey!, I made this code for Rcon admin untill I get my Admin system, It saneds this "Admin Name:" Whic his what I want it to send but I want to send a message also E.g If I type "LOL" I want it to send that.

pawn Код:
if (strcmp("/aooc", cmdtext, true, 10) == 0)
    {
        IsPlayerAdmin(playerid);
        if(!strlen(cmdtext)) return SendClientMessage(playerid, COLOR_YELLOW, "Usage: /aooc [chat]");
        new str[128];
        GetPlayerName(playerid, str, sizeof(str));
        format(str, sizeof(str), "Admin %s: %s", str, cmdtext);
        SendClientMessageToAll(COLOR_GOLD, str);
        return 1;
    }
Reply


Messages In This Thread
/aooc? - by Luis- - 30.08.2010, 23:48
Re: /aooc? - by Yamoo - 31.08.2010, 00:01
Re: /aooc? - by AndriusZ* - 31.08.2010, 00:04
Re: /aooc? - by Luis- - 31.08.2010, 00:08
Re: /aooc? - by mrcoolballs - 31.08.2010, 01:19

Forum Jump:


Users browsing this thread: 1 Guest(s)