how to make a color chat?
#1

how to make a color chat,if u type u wanna it show up the colors if they somthing show up the color chat need help.
Reply
#2

you mean to say chat with different colors?
like yellow text blue text?
Reply
#3

pawn Код:
define ChatColor 0xFFFFFF // this is color of chat. Change it to what you need

OnPlayerText(playerid, text[])
{
        new PlayerName[MAX_PLAYER_NAME];
        new textin[1024];
        GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
        format(textin, 1024, "%s(ID:%d): "ChatColor"%s", PlayerName, playerid, text);
        SendClientMessageToAll(GetPlayerColor(playerid), textin);
return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)