Textdraw logic help
#1

Hello, I've got these 7 textdraw's.

What is the logic, of when I add one to the 6th line (last line), all the text moves up? (the direction of the arrow)

I've got this but it aint working
pawn Код:
function addLogLine(text[])
{
    new oldInfo[70];
    //
    for(new i = 6; i >= 0; i--)
    {
        if(i != 0)
        {
            format(oldInfo, 70, "%s", Logs[i-1]);
            TextDrawSetString(Logs[i-1], LogsInfo[i]);
            format(LogsInfo[i-1], 70, "%s", LogsInfo[i]);
        }
    }
   
    TextDrawSetString(Logs[6], text);
    format(LogsInfo[6], 70, "%s", text);
    return 1;
}
Reply


Messages In This Thread
Textdraw logic help - by lukewid - 14.06.2015, 10:50
Re: Textdraw logic help - by [XST]O_x - 14.06.2015, 11:23
Re: Textdraw logic help - by lukewid - 14.06.2015, 11:36
Re: Textdraw logic help - by [XST]O_x - 14.06.2015, 11:38
Re: Textdraw logic help - by lukewid - 14.06.2015, 11:45
Re: Textdraw logic help - by bgedition - 14.06.2015, 11:50

Forum Jump:


Users browsing this thread: 4 Guest(s)