Strange Y canvas size
#5

Pretty simple code which puts a textdraw in each row
pawn Код:
new
    Text: gText
;

public OnFilterScriptInit() {
    for(new i, tmp[8] = "~r~"; i != 480; ++i) {
        valstr(tmp[3], i, false);

        gText = TextDrawCreate((i * 31) % 620 + 20, i, tmp);
        TextDrawLetterSize(gText, 0.20, 0.70);
        TextDrawAlignment(gText, 2);
        TextDrawSetOutline(gText, 1);
        TextDrawFont(gText, 1);

        TextDrawShowForAll(gText);
    }
}

public OnFilterScriptExit() {
    for(new i; i != 480; ++i) {
        TextDrawDestroy(gText - Text: i);
    }
}
Maybe someone can reproduce this ?, and show me if he gets 480 canvas
Reply


Messages In This Thread
Strange Y canvas size - by Nero_3D - 08.12.2013, 00:52
Re: Strange Y canvas size - by Pottus - 08.12.2013, 06:41
Re: Strange Y canvas size - by newbie scripter - 08.12.2013, 07:18
Re: Strange Y canvas size - by nGen.SoNNy - 08.12.2013, 07:59
AW: Strange Y canvas size - by Nero_3D - 08.12.2013, 12:05
Re: Strange Y canvas size - by Pottus - 08.12.2013, 21:09
Re: Strange Y canvas size - by Kar - 08.12.2013, 21:49
Re: AW: Strange Y canvas size - by RyDeR` - 09.12.2013, 20:58
AW: Strange Y canvas size - by Nero_3D - 09.12.2013, 21:19
Re: Strange Y canvas size - by nGen.SoNNy - 10.12.2013, 18:55

Forum Jump:


Users browsing this thread: 3 Guest(s)