Hopefully just a simple answer but haven’t been able to quite grasp it, i want my chat to have smaller text to allow for more messages
No, DO NOT edit the default chat resource! Reason: It’s being planned to move to be an internal resource that you cannot edit.
Instead, create a chat theme. For an example, check chat-theme-gtao
which is in the same folder as chat
I asked for the size not the font. Any ideaa?
Hmmm, I have a custom chat so I can’t really help ya there. All I can say is that I edited my chat through the CSS file. I just simply made the pixels smaller which made the chatbox smaller too because its outrageously big.
Would you mind giving me a quick rundown of how the code works in making a custom chat box
Check https://github.com/citizenfx/cfx-server-data/tree/master/resources/[system]/chat-theme-gtao for an example setup.
the style.css
defines the CSS of your chat. For example, to change the font size of the message, check the .msg
and .msg > span > span > b
attribute.