Hurdock Posted March 13, 2017 Share Posted March 13, 2017 it should be nice to be able to choose the 'clientside font' of the chat. For example i would love to see the chat in Ubuntu font. Link to comment Share on other sites More sharing options...
ragempdev Posted March 13, 2017 Share Posted March 13, 2017 You are already able to customize your chat. /ui/style/main.css: Link to comment Share on other sites More sharing options...
Hurdock Posted March 13, 2017 Author Share Posted March 13, 2017 Yes rage, but what about: Making some serverside settings to download and apply the font ? Link to comment Share on other sites More sharing options...
ragempdev Posted March 13, 2017 Share Posted March 13, 2017 13 minutes ago, Hurdock said: Yes rage, but what about: Making some serverside settings to download and apply the font ? Serverside API is enough to make you able to replace whole chat. Also you can use html/css/js in chat messages. Link to comment Share on other sites More sharing options...
Hurdock Posted March 13, 2017 Author Share Posted March 13, 2017 10 hours ago, ragempdev said: Serverside API is enough to make you able to replace whole chat. Also you can use html/css/js in chat messages. Can you give me an example please? I'm not very experienced with JS. Also check pm. Link to comment Share on other sites More sharing options...
ragempdev Posted March 13, 2017 Share Posted March 13, 2017 0.1 way of replacing chat: player.outputChatBox("<script>window.location.url = 'your hosted /ui/index.html url';</script>"); HTML/CSS/JS in chat: player.outputChatBox("<span style='font-family: Arial; color: white'>kk</span>"); Link to comment Share on other sites More sharing options...
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