Different color for admins when they chat?
#1

How to make like when admins are chating in the main chat, they'll have a different color, not like the main chat's color,but for example green?
Reply
#2

Hi.Try this
Код:
public OnPlayerText(playerid, text[])
{
	new string[124];

	if(PlayerVar[playerid][AdminLevel] > 0) //change this to suit your script
	{
		format(string, sizeof(string), "%s says: %s",PlayerName(playerid), text);
		SendClientMessageToAll(0x00FF00FF, string);
	}
	return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)