iiv03 Posted August 16, 2018 Share Posted August 16, 2018 (edited) How do I use the font in the dxDrawText on the panel? Edited August 16, 2018 by liwahadri Link to comment
VenomOG Posted August 16, 2018 Share Posted August 16, 2018 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 Link to comment
iiv03 Posted August 16, 2018 Author Share Posted August 16, 2018 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
VenomOG Posted August 16, 2018 Share Posted August 16, 2018 9 minutes ago, liwahadri said: Thanks its working, but how do I make it in the center? Edit the positions Link to comment
iiv03 Posted August 16, 2018 Author Share Posted August 16, 2018 2 minutes ago, KnucklesSAEG said: Edit the positions Yes, but the font will not appear with the panel and I want it to be reflected in the panel. How do I mean if you press the button, the font comes with the panel how? 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