27.08.2013, 04:31
how to make the ID and the player name same color in the server chat
format(strg, sizeof(strg), "[%d]: %s", playerid, text); SendPlayerMessageToAll(playerid, strg); format(strg, sizeof(strg), "%s", text); SetPlayerChatBubble(playerid, strg, COLOR_WHITE, 50.0, 1000*10); return 0;
#define COLOR_WHITE 0xFFFFFFAA
SetPlayerColor(playerid,COLOR_WHITE);
if(text[0])
{
format(string,sizeof(string),"%s(%d): {FFFFFF}%s",PlayerName(playerid),playerid,text);
SendClientMessageToAll(GetPlayerColor(playerid),string);
return 0;
}