Curious how one would go about centering drawTextEx according to the windows width? I mean I understand how to do it, but a bit stuck on getting it done correctly. So this is what I attempted...
Assuming this would center the X value of the text properly but then the issue occurs when the string is too long, making the string look like it starts in the middle and continues to the right, rather than getting an actual center alignment of the text. I know I can use drawText method which has a much better selection of options but then I loose the message codes that are available with drawTextEx. So my question is, how would I go about center aligning drawTextEx and if you can't is there a way to add the message codes to drawText ?
I know my first solution was to just do my code above but add in an offset option for users to adjust accordingly with the plugin command. Then I figured I would like to hear other peoples ideas on my issue first though lol. So lets hear it :D
Code:
var tx = LTN.Param.windowWidth / 2 ;
I know my first solution was to just do my code above but add in an offset option for users to adjust accordingly with the plugin command. Then I figured I would like to hear other peoples ideas on my issue first though lol. So lets hear it :D