Chat to next line.
#1

Код:
SendCustomPlayerMessage(playerid, color, text[]);
{
    if(strlen(text) > 84)
    {
        new tekst1[85],
            tekst2[85];
            
        strmid(tekst2, text, 84, 168);
        strmid(tekst1, text, 0, 84);
                
        format(string, 168, "%s...", tekst1);
        SendClientMessage(playerid, color, string);
        
        format(string, 168, "...%s", tekst2);
        SendClientMessage(playerid, color, string);
    }
    else SendClientMessage(playerid, color, text);
}
Don't know why, but it is not working. No errors or warnings, it's just not working.
Someone maybe can help?
Reply


Messages In This Thread
Chat to next line. - by Lops - 29.05.2013, 18:15
Re: Chat to next line. - by GiamPy. - 29.05.2013, 21:10
Re: Chat to next line. - by Scenario - 29.05.2013, 21:18
Re: Chat to next line. - by Vince - 29.05.2013, 21:59
Re: Chat to next line. - by Lops - 30.05.2013, 08:54

Forum Jump:


Users browsing this thread: 2 Guest(s)