Chat colors..
#1

Hello guys..
I wanted to add player id after his nickname in chat so i done this :
pawn Код:
public OnPlayerText(playerid, text[])
{
    new name[MAX_PLAYER_NAME],msg[128];
    GetPlayerName(playerid,name,sizeof(name));
    format(msg,sizeof(msg),"%s(%i):%s",name,playerid,text);
    SendClientMessageToAll(GetPlayerColor(playerid),msg);
    return 0;
}
How is it possible to make two color message ? Player nick and id should be same color as his team and the message should be white..
Reply
#2

Color Embedding
Reply
#3

Thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)