jingzhi Posted November 12, 2017 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!
Scripting Moderators thisdp Posted November 12, 2017 Scripting Moderators 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
Scripting Moderators thisdp Posted November 15, 2017 Scripting Moderators Posted November 15, 2017 26 minutes ago, jingzhi said: Great, thank you! That's OK.
Moderators IIYAMA Posted November 15, 2017 Moderators Posted November 15, 2017 Don't ruin the typography Not sure which typo hater invented this option.
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