How to make text Wrap?
#9

Try:
pawn Код:
public OnPlayerText(playerid, text[])
{
    TESTAGAIN:
    if(strlen(text) > 100)
    {
        new string[101];
        format(string, 101, "%s", text);
        SendPlayerMessageToAll(playerid, string);
        strdel(text, 0,100);
        goto TESTAGAIN;
    }
    SendPlayerMessageToAll(playerid, text);
    return 0;
}
Dont know if it works, just typed this fast.
Reply


Messages In This Thread
How to make text Wrap? - by Deal-or-die - 14.03.2011, 13:14
Re: How to make text Wrap? - by CyNiC - 14.03.2011, 13:36
Re: How to make text Wrap? - by Deal-or-die - 14.03.2011, 13:38
Re: How to make text Wrap? - by Pz - 14.03.2011, 13:41
Re: How to make text Wrap? - by Deal-or-die - 14.03.2011, 14:07
Re: How to make text Wrap? - by Pz - 14.03.2011, 14:08
Re: How to make text Wrap? - by Deal-or-die - 14.03.2011, 14:37
Re: How to make text Wrap? - by Tee - 14.03.2011, 14:39
Re: How to make text Wrap? - by Jeffry - 14.03.2011, 14:46
Re: How to make text Wrap? - by Macluawn - 14.03.2011, 15:17

Forum Jump:


Users browsing this thread: 1 Guest(s)