14.06.2015, 10:50
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
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;
}