Change color of global chat?
#1

How can I change the color of global chat?
Reply
#2

pawn Код:
public OnPlayerText(playerid, text[])
{
    new Ftext[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(Ftext,sizeof(Ftext),"[%i]%s: %s",playerid,name,text);
    SendClientMessageToAll(COLOR_HERE,Ftext); // Change 'COLOUR_HERE' with any colour you like..
    return 0;
}
Reply
#3

Quote:
Originally Posted by iPLEOMAX
Посмотреть сообщение
pawn Код:
public OnPlayerText(playerid, text[])
{
    new Ftext[128], name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,MAX_PLAYER_NAME);
    format(Ftext,sizeof(Ftext),"[%i]%s: %s",playerid,name,text);
    SendClientMessageToAll(COLOR_HERE,Ftext); // Change 'COLOUR_HERE' with any colour you like..
    return 0;
}
I know that, but how to do it if I'm using LimitGlobalChatRadius() ? Does it effect on SendClientMessageToAll?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)