FuriouZ Posted June 27, 2013 Share Posted June 27, 2013 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
iPrestege Posted June 27, 2013 Share Posted June 27, 2013 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 guiCreateFont Link to comment
iPrestege Posted June 27, 2013 Share Posted June 27, 2013 local Forza_Light = guiCreateFont("fonts/Forza_Light.ttf", 21) username_Lbl = guiCreateLabel(X - -150,Y + 180,600,300,"Username",false) guiSetFont ( username_Lbl, Forza_Light ) Try this. Link to comment
FuriouZ Posted June 27, 2013 Author Share Posted June 27, 2013 Finally,thank you so much ! Link to comment
~DarkRacer~ Posted June 27, 2013 Share Posted June 27, 2013 I don't get it You can't use Dx function with GUI that's your problem. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now