OnPlayerText changing color
#1

When I login /rcon and chat, it shows up [Admin]Brandon: blah blah.
But it shows up in white. Any way to change that to red?

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(IsPlayerAdmin(playerid))
    {
        new pName[MAX_PLAYER_NAME], String[128];
        GetPlayerName(playerid, pName, 24);
        format(String, sizeof(String), "[Admin]%s: %s", pName, text);
        SendClientMessageToAll(-1,String);
        return 0;
    }
    return 1;
}
Reply


Messages In This Thread
OnPlayerText changing color - by Brandondw8 - 19.05.2014, 07:35
Re: OnPlayerText changing color - by SAMProductions - 19.05.2014, 07:37
Re: OnPlayerText changing color - by Brandondw8 - 19.05.2014, 07:40
Re: OnPlayerText changing color - by SAMProductions - 19.05.2014, 07:43
Re: OnPlayerText changing color - by Guest4390857394857 - 19.05.2014, 07:48
Re: OnPlayerText changing color - by Brandondw8 - 19.05.2014, 07:49
Re: OnPlayerText changing color - by Threshold - 19.05.2014, 07:49
Re: OnPlayerText changing color - by Stanford - 19.05.2014, 07:50
Re: OnPlayerText changing color - by Brandondw8 - 19.05.2014, 07:51

Forum Jump:


Users browsing this thread: 1 Guest(s)