Making the chat and the message split?
#1

Is it possible to split up the chat??

Like if i've 120 lengths in my word it will automatically do like

Code:
I love Chicken I ha-
te McDonalds
I've one but it shows the name like

Code:
* Romel Rowan junking in the yard for 3 mon-
* Romel Rowan ths
Here is the code

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);
    }
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)