jingzhi Posted November 12, 2017 Share Posted November 12, 2017 Quote scale: the size of the text.scale: can (optionally) be specified as two floats. i.e. scaleX, scaleY As it indicated in the wikipage of dxDrawText (https://wiki.multitheftauto.com/wiki/DxDrawText), the font scale can be splitted into 2 variables. However, I am not quite sure how to do that. Can anyone give me an example on how can it be implemented? Thanks in advance! Link to comment
Scripting Moderators thisdp Posted November 12, 2017 Scripting Moderators Share Posted November 12, 2017 dxDrawText ( playerZoneName, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, "pricedown" ) dxDrawText ( playerZoneName, 44, screenHeight - 41, screenWidth, screenHeight, tocolor ( 0, 0, 0, 255 ), 1.02, 1.02, "pricedown" ) 1 Link to comment
jingzhi Posted November 15, 2017 Author Share Posted November 15, 2017 Great, thank you! Link to comment
Scripting Moderators thisdp Posted November 15, 2017 Scripting Moderators Share Posted November 15, 2017 26 minutes ago, jingzhi said: Great, thank you! That's OK. Link to comment
Moderators IIYAMA Posted November 15, 2017 Moderators Share Posted November 15, 2017 Don't ruin the typography Not sure which typo hater invented this option. Link to comment
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