17.02.2014, 17:48
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?
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;
}