Help about Textdraws !!!
#2

You could use strlen and use that as a multiplier for the box size.

Like, do strlen for how it is now, wich is your default.
Lets say its 50 characters.
If it becomed 55 size should be multiplied by 1.1
So you could do something like
multiplier = 1+((strlen-50)/50);
Then at the size you just have the default size and do it *multiplier.

Please note, these numbers are made up, you should trial and error how much bigger the box should become after adding 5 more characters(or 1 or w/e you wanna test with).
Reply


Messages In This Thread
Help about Textdraws !!! - by CprYseeR - 16.07.2015, 09:17
Re: Help about Textdraws !!! - by notime - 16.07.2015, 10:14
Re: Help about Textdraws !!! - by arlindi - 16.07.2015, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)