15.06.2018, 04:37
Hi
I can help you, i'm also facing same problem before.
If you are going to set a TextDrawString with a Textdraw using box(true), then this problem occurs due to str or string or whatever variable are using.
Example Code: BAD
Then the problem of box not adjusting to text occurs because of your string lenght.
So, best way to solve this problem is do not use string, use your text directly.
Example Code: GOOD
Thank You.
I can help you, i'm also facing same problem before.
If you are going to set a TextDrawString with a Textdraw using box(true), then this problem occurs due to str or string or whatever variable are using.
Example Code: BAD
PHP Code:
new string[128] = "Hi I'm Textdraw";
TextDrawSetString(/*Your TextDraw Name*/,string);
So, best way to solve this problem is do not use string, use your text directly.
Example Code: GOOD
PHP Code:
TextDrawSetString(/*Your TextDraw Name*/,"~r~Hi I'm Textdraw");