Garry's Mod Wiki

chat

The chat library's purpose is to interface with the default chatbox.

Methods

chat.AddText( vararg arguments )
Adds text to the local player's chat box (which only they can read).
chat.Close()
Closes the chat window.
Returns the chatbox position.
Returns the chatbox size.
chat.Open( number mode )
Opens the chat window.
chat.PlaySound()
Plays the chat "tick" sound.