Different color for admins when they chat?
#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


Messages In This Thread
Different color for admins when they chat? - by Ercha - 17.02.2014, 17:48
Re : Different color for admins when they chat? - by mirou123 - 17.02.2014, 18:34

Forum Jump:


Users browsing this thread: 1 Guest(s)