[Ajuda] Chat Admin
#5

pawn Код:
if(text[0] == '#' && PlayerInfo[playerid][Level] >= 1) {
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        SendClientMessageToAdmins(0xFFA500FF, "=====================================================");
        format(string,sizeof(string),"Admin Chat: %s: (%i): %s",string,playerid,text[1]); MessageToAdmins(cor[playerid],string); // coloca a cor aqui
        SendClientMessageToAdmins(0xFFA500FF, "=====================================================");
        return 0;
    }
ou
pawn Код:
if(text[0] == '#' && PlayerInfo[playerid][Level] >= 1) {
        new string[128]; GetPlayerName(playerid,string,sizeof(string));
        SendClientMessageToAdmins(0xFFA500FF, "=====================================================");
        format(string,sizeof(string),"Admin Chat: %s: (%i): %s",string,playerid,text[1]); MessageToAdmins(GetPlayerColor(playerid),string);
        SendClientMessageToAdmins(0xFFA500FF, "=====================================================");
        return 0;
    }
Reply


Messages In This Thread
Chat Admin - by Devasting - 17.05.2014, 02:32
Re: Chat Admin - by MultiKill - 17.05.2014, 02:39
Re: Chat Admin - by Devasting - 17.05.2014, 02:53
Re: Chat Admin - by MultiKill - 17.05.2014, 02:54
Re: Chat Admin - by MultiKill - 17.05.2014, 02:58
Re: Chat Admin - by Devasting - 17.05.2014, 03:05

Forum Jump:


Users browsing this thread: 1 Guest(s)