Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.
SpecModeUpdatedEvent[GameEventHandler("spec_mode_updated")]
public HookResult OnSpecModeUpdated(SpecModeUpdatedEvent args) {
// args.UseridController, args.UseridPawn
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_controller_and_pawn | UseridController CBasePlayerController? UseridPawn CBasePlayerPawn? | spectating player |