'LinKin Posted February 6, 2014 Posted February 6, 2014 Hello, Is it possible to change the server's font? Is it possible to change everything at once? Or do I need to change the font in each resource (i.e mapmanager, votemanager, etc...) Thanks
myonlake Posted February 6, 2014 Posted February 6, 2014 I think you can force font changing by for looping through all GUI label elements and then setting their font to whatever choice you want to set it to. It's a bit more difficult with DirectX texts however, if you're using those. You could make your own font handler resource and just export a font function that sets the font to whatever you want, this way you have easier management over all fonts, I'd guess.
'LinKin Posted February 6, 2014 Author Posted February 6, 2014 I will use codebold.otf I don't really understand very much about those DirectX texts. " just export a font function that sets the font to whatever you want" For example.. ?
myonlake Posted February 7, 2014 Posted February 7, 2014 Well, not sure how that could work anyhow, it's practically the same as using guiSetFont I think you'll just have to loop through all labels and set their font. You can use a for loop and check for gui-label elements and then just set the font with guiSetFont.
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