29.11.2012, 08:41
Is it possible to split up the chat??
Like if i've 120 lengths in my word it will automatically do like
I've one but it shows the name like
Here is the code
Like if i've 120 lengths in my word it will automatically do like
Code:
I love Chicken I ha- te McDonalds
Code:
* Romel Rowan junking in the yard for 3 mon- * Romel Rowan ths
pawn Code:
if(IsPlayerInRangeOfPoint(i, radi, x, y, z))
{
if(strlen(string) <= 120) SendClientMessage(i, color, string);
else
{
new texts[120];
strmid(texts, string, 120, 129);
strins(string, "-", 120, 1);
strdel(string, 121, 129);
SendClientMessage(i, color, string);
SendClientMessage(i, color, string);
}
}