07.03.2011, 13:11
Not sure if this works:
You should probably do some formating to get everything as you want.
pawn Код:
public OnPlayerText(playerid, text[])
{
StrSplit(text);
return 0;
}
stock StrSplit(text[])
{
new string[128], Length = strlen(text) ;
if(Length > 80)
{
strmid(string, text, 0, Length / 2);
SendClientMessageToAll(COLOR, string);
strmid(string, text, Length / 2, Length);
SendClientMessageToAll(COLOR, string);
}
else
{
SendClientMessageToAll(COLOR, text);
}
}

