Help with TextDraw's
#1

When creating lines, they are all different sizes.

Screen

If you put the way I wanted

PHP код:
TextDrawTextSize(TextDrawMap[1][i], 300.0000000.4444); 
then the line 170.0,120.0 (TextDrawMap[1][0]) will not be visible when showing

CODE:
PHP код:
for(new 09i++)
    {
        
TextDrawMap[0][i] = TextDrawCreate(170.0+float(30*(i+1)), 90.0"LD_SPAC:black");
        
TextDrawLetterSize(TextDrawMap[0][i], 0.0000000.000000);
        
TextDrawTextSize(TextDrawMap[0][i], 1.0300.0);
        
TextDrawAlignment(TextDrawMap[0][i], 1);
        
TextDrawColor(TextDrawMap[0][i], -1);
        
TextDrawSetShadow(TextDrawMap[0][i], 0);
        
TextDrawSetOutline(TextDrawMap[0][i], 0);
        
TextDrawFont(TextDrawMap[0][i], 4);
        
TextDrawMap[1][i] = TextDrawCreate(170.090.0+float(30*(i+1)), "LD_SPAC:black");
        
TextDrawLetterSize(TextDrawMap[1][i], 0.0000000.000000);
        
TextDrawTextSize(TextDrawMap[1][i], 300.0000001.0);
        
TextDrawAlignment(TextDrawMap[1][i], 1);
        
TextDrawColor(TextDrawMap[1][i], -1);
        
TextDrawSetShadow(TextDrawMap[1][i], 0);
        
TextDrawSetOutline(TextDrawMap[1][i], 0);
        
TextDrawFont(TextDrawMap[1][i], 4);
    } 
Reply
#2

170+30(1+1) = 230
170+30(2+1) = 260

170+30(5+1) = 209
170+30(6+1) = 380
170+30(10+1) = 500
170+30(11+1) = 530

Are these the numbers you want?
Reply
#3

I do not understand you
Reply
#4

I corrected the mistake.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)