Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 18s ago· Viewing build 6745 (Oct 02 2026)

game_message

game event

Declared in core.gameevents

Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.

Deadworks (C#), as GameMessageEvent
[GameEventHandler("game_message")]
public HookResult OnGameMessage(GameMessageEvent args) {
	// args.Target, args.Text
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
targetbyte
Target int
0 = console, 1 = HUD
textstring
Text string
the message text

History

  1. 6696–6745first dumped