jingzhi

Splitting the font scale of dxDrawText into 2 variables

Recommended Posts

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!

Share this post


Link to post
 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" )
  • Thanks 1

Share this post


Link to post

Don't ruin the typography :/

Not sure which typo hater invented this option.

Share this post


Link to post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.