Garry's Mod Wiki
Description
Called when a message is printed to the chat box. Note, that this isn't working with player messages even though there are arguments for it.
For player messages see GM:PlayerSay and GM:OnPlayerChat
Arguments
4 string type
Chat filter type. Possible values are:
joinleave- Player join and leave messagesnamechange- Player name change messagesservermsg- Server messages such as convar changesteamchange- Team changes?chat- (Obsolete?) Player chat? Seems to trigger when server console uses thesaycommandnone- A fallback value
Returns
Example
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...