04.04.2012, 14:46
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 says: %s", pname, text);
ProxDetector(30.0, playerid, str, COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY,COLOR_GREY);
SetPlayerChatBubble(playerid, text, COLOR_GOLD, 100.0, 10000);
return 0;
}
NAME(COLOR_GREY): TEXT(COLOR_WHITE) How?