Jump to content

guiSetFont(custom)


FuriouZ

Recommended Posts

Hello,i have problem with guiSetFont.

I need to add custom font but it doesn't work.

meta:

"fonts/Forza_Light.ttf" />  

(font is in 'fonts' folder and font type is TTF

(all are client-side)

local Forza_Light = dxCreateFont("fonts/Forza_Light.ttf", 21) 
  

  
    username_Lbl = guiCreateLabel(X - -150,Y + 180,600,300,"Username",false) 
        guiSetFont ( username_Lbl, Forza_Light ) 
  

Link to comment
Hello,i have problem with guiSetFont.

I need to add custom font but it doesn't work.

meta:

"fonts/Forza_Light.ttf" />  

(font is in 'fonts' folder and font type is TTF

(all are client-side)

local Forza_Light = dxCreateFont("fonts/Forza_Light.ttf", 21) 
  

  
    username_Lbl = guiCreateLabel(X - -150,Y + 180,600,300,"Username",false) 
        guiSetFont ( username_Lbl, Forza_Light ) 
  

dxCreateFont 

:shock:

guiCreateFont 

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