Hurdock Posted March 13, 2017 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.
ragempdev Posted March 13, 2017 Posted March 13, 2017 You are already able to customize your chat. /ui/style/main.css:
Hurdock Posted March 13, 2017 Author Posted March 13, 2017 Yes rage, but what about: Making some serverside settings to download and apply the font ?
ragempdev Posted March 13, 2017 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.
Hurdock Posted March 13, 2017 Author 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.
ragempdev Posted March 13, 2017 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>");
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