• Config file & Text out of box
    2 replies, posted
Hello, Question 1: How do I make a config.lua file? I want for example disable my Hook or function. How would I do this? Question 2: I have a draw.SimpleText on a draw.RoundedBoxEx. Now when a player his name is longer then the RoundedBoxEx it will just go over it. How can I do this so there is a limit (So it won't go over the RoundedBoxEx)? Thanks in advance!
Question 2: Use surface.GetTextSize to get the size the text will be. Then just add that to the width of the box so it won't go over. You can also wrap the text using a few methods: Text Wrapping
Thank you very much for the information! I will be testing it out tomorrow. I will let you know how it worked out.
Sorry, you need to Log In to post a reply to this thread.