Garry's Mod Wiki

Garry's Mod Wiki

Description

Called when a message is sent with tv_msg

Members

string text
The Text.

Examples

Example

This is a basic template with the purpose of including all arguments / table variables to make it easily known which values can be accessed.

gameevent.Listen( "hltv_message" ) hook.Add( "hltv_message", "hltv_message_example", function( data ) local text = data.text -- The Text -- Called when a message is sent with tv_msg end )

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...