Jump to content

[HELP] dxDrawText with HTML Color codes?


John_Scott

Recommended Posts

Hi!

I have a problem with the 'dxDrawText' function. I red in the wiki, if I change the color code argument '(tocolor, 0, 0, 0, 0)' to 'true', the text is colored by the HTML color codes, but if I do that, just get an error about placed boolean where integer requested.

Code:

dxDrawText ( "Killed: " .. murdered .. " +100", screenW / 2,100, screenWidth, screenHeight, true, 1.02, "pricedown", "center", "center" ) 

How can I allow these color formats then? Thanks for helping!

Link to comment

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...