Garry's Mod Wiki
Description
Called whenever a player sends a chat message. For the serverside equivalent, see GM:PlayerSay.
The input (or suppression) of this hook is based on the output from GM:PlayerSay. Chat events suppressed serverside do not call this hook.
Arguments
Returns
Example
How you could create a clientside only chat command.
Output: Prints
Hello world! to the console when you type /hello in the chat.This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.
Page content is automatically updated four times a day. Edits and history are not available.
Last Parsed: Loading...