28.06.2018, 22:45
https://sampwiki.blast.hk/wiki/OnPlayerText
...
PHP код:
public OnPlayerText(playerid, text[])
{
if(bloquear_chat == true)
return 0;
new Str[128];
format(Str, sizeof(Str), "{FF8040}%s:{FFFFFF} %s", PlayerInfo[playerid][pNome], text);
MessageToPlayers(-1, Str);
return 0;
}