Jump to content

help dxdrawtext please!


xFabel

Recommended Posts

hey is there a way to turn color coded + clips together in dxDrawText?

In real i read Syntax and i saw you should turn off clip

colorCoded: Set to true to enable embedded #FFFFFF color codes. Note: clip and wordBreak are forced false if this is set.

please help guys i was been searching for weeks and have not found a solution :'(

 

Link to post
10 minutes ago, Overkillz said:

Of couse, you can use dxCreateRenderTarget.


dxCreateRenderTarget()

However, it will give you less quality unless you use dxSetBlendMode


dxSetBlendMode()

 

I haven't used it once i used dxDrawText to give name of the players but i have no idea what I gave me. can you give me an example

10 minutes ago, N3xT said:

No, It's not possible

However, you can use render targets to achieve that.

example please? but I didn't understand how to use it?

Edited by xFabel
Link to post
dxGetTextWidth()

Just gives you the width of a text depending of the font and size.

It is not going to fix your issue if you are going to use Hexadecimal color codes with the clipping or wordbreaking function.

You are just doing the 'invisible' box of the text adjusted to the text width..

Regards.

Edited by Overkillz
  • Like 1
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.

×
×
  • Create New...