Jump to content

How Import font to textlib race


Brad96

Recommended Posts

Posted

I want to import a source for textlib of race in order to change the font of timeleft, as I do? thx

Mi Nick En El Juego : Bs|Brad

Mi Skype : fer_va_96

Posted

You have to edit the textlib.

Replace this function with the old one

function dxText:font( font ) 
    if validFonts[ font ] then  
        self.strFont = font 
    else 
        self.strFont = dxCreateFont( font ) 
    end 
    return true 
end 

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