19.03.2012, 16:13
Try this, I wrote that in the browser so let me know if you get any errors.
Funny thing is , I don't even have OnPlayerText in my script yet my chat does this on its own, so if ^ that don't work try deleting the whole call back and see what happens when you go in game and talk
pawn Код:
public OnPlayerText(playerid, text[])
{
new str[256], name[24], Float: color;
GetPlayerName(playerid, name, sizeof(name));
color = GetPlayerColor(playerid);
format(string, sizeof(string), " "%f" %s~w~[%d]:%s", color, name, playerid, text);
SendClientMessageToAll(0xFFFFFFAA, string);
return 0;
}