26.06.2017, 06:10
How can I format coloured strings?
This will show the color instead of coloring the name.
PHP код:
public OnPlayerText(playerid,text[])
{
new s[144];
format(s,144,"{%x}%s{FFFFFF}: %s",u[playerid][pcolor],name[playerid],text);
SendClientMessageToAll(-1,s);
return 0;
}