SA-MP Forums Archive
Help with TextDraw's - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Help with TextDraw's (/showthread.php?tid=637113)



Help with TextDraw's - SexyBatya - 09.07.2017

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);
    } 



Re: Help with TextDraw's - Meller - 09.07.2017

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?


Re: Help with TextDraw's - SexyBatya - 09.07.2017

I do not understand you


Re: Help with TextDraw's - SexyBatya - 09.07.2017

I corrected the mistake.