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(PoliceComputerSPTD37, 388.000000, 20.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.400115, 195.626632, "View tickets");
    
TextDrawLetterSize(PoliceComputerSPTD37, 0.449999, 1.600000);
    
TextDrawTextSize(PoliceComputerSPTD37, 388.000000, 20.000000);
    
TextDrawAlignment(PoliceComputerSPTD37, 1);
    
TextDrawColor(PoliceComputerSPTD37, 255);
    
TextDrawSetShadow(PoliceComputerSPTD37, 0);
    
TextDrawSetOutline(PoliceComputerSPTD37, 0);
    
TextDrawBackgroundColor(PoliceComputerSPTD37, 51);
    
TextDrawFont(PoliceComputerSPTD37, 1);
    
TextDrawSetProportional(PoliceComputerSPTD37, 1);
    
TextDrawSetSelectable(PoliceComputerSPTD37, true); 
I have used the same code for the two red options below the preview model which works fine:
PHP код:
PoliceComputerSPTD28 = TextDrawCreate(111.600013, 275.146697, "This person is linked to a warrant! Click here for more info");
    
TextDrawLetterSize(PoliceComputerSPTD28, 0.189999, 0.699999);
    
TextDrawTextSize(PoliceComputerSPTD28, 388.000000, 10.000000);
    
TextDrawAlignment(PoliceComputerSPTD28, 1);
    
TextDrawColor(PoliceComputerSPTD28, -1);
    
TextDrawSetShadow(PoliceComputerSPTD28, 0);
    
TextDrawSetOutline(PoliceComputerSPTD28, 1);
    
TextDrawBackgroundColor(PoliceComputerSPTD28, 51);
    
TextDrawFont(PoliceComputerSPTD28, 1);
    
TextDrawSetProportional(PoliceComputerSPTD28, 1);
    
TextDrawSetSelectable(PoliceComputerSPTD28, true); 
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: