aka Blue Posted April 21, 2019 Posted April 21, 2019 I want to know if it is possible or if it exists a function that returns the lines ammount of a DX Text. I'm trying to do a notification system and it would be so useful. Thanks.
Scripting Moderators thisdp Posted April 22, 2019 Scripting Moderators Posted April 22, 2019 dxGetTextWidth/bounding box width
aka Blue Posted April 22, 2019 Author Posted April 22, 2019 Thank you but, can you specify better? I have not played DX for a long time
Dzsozi (h03) Posted April 22, 2019 Posted April 22, 2019 (edited) @MrTasty helped me with the following useful function: https://wiki.multitheftauto.com/wiki/WordWrap I also needed it for a notification system. This could be useful if you want to do multiple line dx texts, this function also supports color codes going from the 1st line to the 2nd. Edited April 22, 2019 by Dzsozi (h03) 1
aka Blue Posted April 23, 2019 Author Posted April 23, 2019 14 hours ago, Dzsozi (h03) said: @MrTasty helped me with the following useful function: https://wiki.multitheftauto.com/wiki/WordWrap I also needed it for a notification system. This could be useful if you want to do multiple line dx texts, this function also supports color codes going from the 1st line to the 2nd. Thanks. That is what I need. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now