Text Draw Problem
#1

When I make a Text Draw with Background. The Background doesnt stay within the text and it becomes like this:



But I want the background to remain until the Black line. Can Anybody Help me?
Reply
#2

Everyguy that ask for Textdraw help i always show them this video : https://www.youtube.com/watch?v=ARsmM0PzM38
Reply
#3

No Man I dont want to use Text Draw Editor. Just tell me how to fix this problem.
Reply
#4

Quote:
Originally Posted by Compiler
Посмотреть сообщение
No Man I dont want to use Text Draw Editor. Just tell me how to fix this problem.
what's the code you use to create this textdraw?
Reply
#5

You need to learn anything about textdraws at wiki, if you can't just use a Textdraw editor then look at the exported codes...
Reply
#6

This is the code I used:

Quote:

text = TextDrawCreate(295.000000,105.000000,"GodMode Enabled!");
TextDrawUseBox(text, 1);
TextDrawBackgroundColor(text,0x00000033);
TextDrawBoxColor(text,0x00000066);
TextDrawSetProportional(text,1);
TextDrawColor(text, 0x00E600FF);
TextDrawSetShadow(text, 1);
TextDrawFont(text, 2);
TextDrawLetterSize(text, 0.28, 1.42);

Reply
#7

Sorry There was a Double Post so I edited this one.
Reply
#8

Obviously it won't stay as you wanted it.
A box is not set to be a "containing box" with a standard padding for the content by default.
You need to use
TextDrawTextSize to specify the size of the box.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)