Quote:
Originally Posted by new121
Try this, I wrote that in the browser so let me know if you get any errors.
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; }
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
|
Well my compliments if this will ever work.