i was wondering if i can change fonts when using a derma button? and if so how
[editline]8th May 2015[/editline]
also does anybody know if there like is like a IfResoution() == 1920x1080?
I know how to create a font but i dont know how to use it in a Derma Button
I may be able to give help here but could you explain a bit more about what you plan to do?
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/DLabel/SetFont]DLabel/SetFont[/url] DButton is derived from DLabel, so you can call this function on a DButton object.
[Lua]
MyDButton:SetFont( "YourAwesomeFont" )
[/lua]
[QUOTE=NiandraLades;47687048]I may be able to give help here but could you explain a bit more about what you plan to do?[/QUOTE]
on which part? the font size or the resolution
Sorry, you need to Log In to post a reply to this thread.