Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 4s ago· Viewing build 6698 (Sep 17 2026), not the latest

spec_mode_updated

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 SpecModeUpdatedEvent
[GameEventHandler("spec_mode_updated")]
public HookResult OnSpecModeUpdated(SpecModeUpdatedEvent args) {
	// args.UseridController, args.UseridPawn
	return HookResult.Continue;
}

Fields

FieldTypeDeadworks propertyValve's comment
useridplayer_controller_and_pawn
UseridController CBasePlayerController?
UseridPawn CBasePlayerPawn?
spectating player

History

  1. 6696–6745first dumped