06.12.2011, 18:54
pawn Код:
public OnPlayerText(playerid, text[])
{
new pname[MAX_PLAYER_NAME], str[128];
GetPlayerName(playerid, pname, sizeof(pname));
strreplace(pname, '_', ' ');
//This will show when player speaks FirstName_LastName says: test
format(str, sizeof(str), "%s: %s", pname, text);
ProxDetector(30.0, playerid, str, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY, COLOR_GREY);
return 0;
}
FirstName_Lastname(grey): chat text (this white)?
PS: Whats the id of the dark grey? who can give me the "include" of it? +REP...