chat libraryclient
Part of Chat Box
Client side of the Chatbox plugin, which takes over the chat.AddText function of GMod.
Text added with chat.AddText is sent to the server and comes back as a chatbox message for
the local player; the original function is kept in Chatbox.old_add_text. The rest of this
file adds received messages to the chatbox (Chatbox.add_message), compiles them into
pieces that can be drawn (Chatbox.compile) and creates, shows and hides the chatbox panel.
Summary
Functions
AddText(...)client
Replaces the default chat.AddText.
Functions
Replaces the default chat.AddText. The arguments are sent to the server, which sends them back to the local player as a chatbox message.
Parameters
- ... Vararg strings, colors, font sizes, players and entities to display