How to create the same textdraw many times in a row?
#1

Just a quick question. I'm trying to make 10 boxes in a row with a loop, although no success.

pawn Код:
for ( new row = 0; row < 10; row++ )
    {
        reputation_bar[ row ] = TextDrawCreate( 93.250000 + ( row * 25 ), 130.416641+ (row*10), "usebox" );
        TextDrawLetterSize(reputation_bar[ row ], 0.000000, -0.122222);
        TextDrawTextSize(reputation_bar[ row ], 67.375000, 0.000000);
        TextDrawAlignment(reputation_bar[ row ], 1);
        TextDrawColor(reputation_bar[ row ], 0);
        TextDrawUseBox(reputation_bar[ row ], true);
        TextDrawBoxColor(reputation_bar[ row ], 1661529);
        TextDrawSetShadow(reputation_bar[ row ], 0);
        TextDrawSetOutline(reputation_bar[ row ], 0);
        TextDrawFont(reputation_bar[ row ], 0);
    }
Unfortunately here is what I get



Edit: I have adjusted the Y to see whats going on because they were covering each other and it looked like a continues textdraw.
Reply


Messages In This Thread
How to create the same textdraw many times in a row? - by Cypress - 18.12.2015, 16:16
Re: How to create the same textdraw many times in a row? - by ikey07 - 18.12.2015, 16:38
Re: How to create the same textdraw many times in a row? - by Cypress - 18.12.2015, 16:41
Re: How to create the same textdraw many times in a row? - by ikey07 - 18.12.2015, 16:47
Re: How to create the same textdraw many times in a row? - by Cypress - 18.12.2015, 16:51

Forum Jump:


Users browsing this thread: 2 Guest(s)