Chat colour
#1

pawn Код:
public OnPlayerText(playerid, text[])
{
    new pname[MAX_PLAYER_NAME], str[128];
    GetPlayerName(playerid, pname, sizeof(pname));
    strreplace(pname, '_', ' ');                                               //This will show when player speaks FirstName_LastName says: test
    format(str, sizeof(str), "%s says: %s", pname, text);
    ProxDetector(30.0, playerid, str, COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY);
    SetPlayerChatBubble(playerid, text, COLOR_GOLD, 100.0, 10000);
    return 0;
}
I would like to have:

NAME(COLOR_GREY): TEXT(COLOR_WHITE) How?
Reply


Messages In This Thread
Chat colour - by Gooday - 04.04.2012, 14:46
Re: Chat colour - by ViniBorn - 04.04.2012, 14:50
Re: Chat colour - by blank. - 04.04.2012, 14:51
Re: Chat colour - by EdYx - 14.05.2012, 16:14

Forum Jump:


Users browsing this thread: 2 Guest(s)