22.10.2015, 21:30
(
Last edited by Abravanel; 23/10/2015 at 03:02 AM.
)
Quebra de linha no chat.
PHP Code:
public OnPlayerText(playerid, text[])
{
if (text[100] != EOS)
{
new
buff[103],
str[150];
format(str, sizeof str, text);
format(buff, sizeof buff, #...%s, (strdel(str, 0, 72), str));
SendPlayerMessageToAll(playerid, (strdel(text, 72, strlen(text)),text));
SendClientMessageToAll(-1, buff);
return 0;
}
return 1;
}