SA-MP Forums Archive
TextDrawTextSize messing with textdraws? - 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: TextDrawTextSize messing with textdraws? (/showthread.php?tid=366055)



TextDrawTextSize messing with textdraws? - 2KY - 05.08.2012



When I created the textdraw, the "United States ( US )" thing was horizontal like normal across the black box, but since I added TextDrawTextSize, it messes up and does that. What did I do wrong?

pawn Code:
TeamSelUS = TextDrawCreate(216.000000, 180.000000, "United States ( US )");
    TextDrawBackgroundColor(TeamSelUS, 255);
    TextDrawFont(TeamSelUS, 1);
    TextDrawLetterSize(TeamSelUS, 0.500000, 1.000000);
    TextDrawColor(TeamSelUS, 16777215);
    TextDrawSetOutline(TeamSelUS, 0);
    TextDrawSetProportional(TeamSelUS, 1);
    TextDrawSetShadow(TeamSelUS, 1);
    TextDrawSetSelectable(TeamSelUS, 1);
    TextDrawTextSize(TeamSelUS, 218.000000, 188.000000);



Re: TextDrawTextSize messing with textdraws? - RelaxCafe - 05.08.2012

https://sampforum.blast.hk/showthread.php?tid=117851 < easier textdraw creator..


Re: TextDrawTextSize messing with textdraws? - Ranama - 05.08.2012

Try to remove:
Code:
    TextDrawSetProportional(TeamSelUS, 1);
I think that's the ting making the text "proportional".

Hope it worked


Re: TextDrawTextSize messing with textdraws? - 2KY - 05.08.2012

Quote:
Originally Posted by RelaxCafe
View Post
That's what I use.

Quote:
Originally Posted by Ranama
View Post
Try to remove:
Code:
    TextDrawSetProportional(TeamSelUS, 1);
I think that's the ting making the text "proportional".

Hope it worked
Didn't work, sadly.