Jump to content

How use dxcreatefont


iiv03

Recommended Posts

24 minutes ago, KnucklesSAEG said:

myFont = dxCreateFont( "FONTNAME", 20 )
addEventHandler( "onClientRender", root,
    function()
        if myFont then
            dxDrawText( "dxDrawText", 100, 350, 300, 350, tocolor(255,255,0), 1, myFont )
        end
    end

@liwahadri

Thanks its working, but how do I make it in the center?

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