TextDrawTextSize problem
#1

Hello all, I have a problem with textdrawtextsize. I need it to set it correctly to be selected. It works fine for other td's.
So this is how it supposed to look like:
http://217.62.194.69/sa-mp-522.png

But when i add the following code:
PHP код:
TextDrawTextSize(PoliceComputerSPTD37388.00000020.000000); 
I have tried to set it to 10, and 20. both with no result.

This is how it looks like:
http://217.62.194.69/sa-mp-521.png


PHP код:
        PoliceComputerSPTD37 TextDrawCreate(386.400115195.626632"View tickets");
    
TextDrawLetterSize(PoliceComputerSPTD370.4499991.600000);
    
TextDrawTextSize(PoliceComputerSPTD37388.00000020.000000);
    
TextDrawAlignment(PoliceComputerSPTD371);
    
TextDrawColor(PoliceComputerSPTD37255);
    
TextDrawSetShadow(PoliceComputerSPTD370);
    
TextDrawSetOutline(PoliceComputerSPTD370);
    
TextDrawBackgroundColor(PoliceComputerSPTD3751);
    
TextDrawFont(PoliceComputerSPTD371);
    
TextDrawSetProportional(PoliceComputerSPTD371);
    
TextDrawSetSelectable(PoliceComputerSPTD37true); 
I have used the same code for the two red options below the preview model which works fine:
PHP код:
PoliceComputerSPTD28 TextDrawCreate(111.600013275.146697"This person is linked to a warrant! Click here for more info");
    
TextDrawLetterSize(PoliceComputerSPTD280.1899990.699999);
    
TextDrawTextSize(PoliceComputerSPTD28388.00000010.000000);
    
TextDrawAlignment(PoliceComputerSPTD281);
    
TextDrawColor(PoliceComputerSPTD28, -1);
    
TextDrawSetShadow(PoliceComputerSPTD280);
    
TextDrawSetOutline(PoliceComputerSPTD281);
    
TextDrawBackgroundColor(PoliceComputerSPTD2851);
    
TextDrawFont(PoliceComputerSPTD281);
    
TextDrawSetProportional(PoliceComputerSPTD281);
    
TextDrawSetSelectable(PoliceComputerSPTD28true); 
What am i doing wrong?
Reply
#2

Solved, for those who are interested in solution:
TextDrawTextSize(PoliceComputerSPTD34, 588.000000, 15.000000);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)