Not named anywhere in the server, client or engine binaries. It may be fired by scripts, or not at all.
ServerPreShutdownEvent[GameEventHandler("server_pre_shutdown")]
public HookResult OnServerPreShutdown(ServerPreShutdownEvent args) {
// args.Reason
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| reason | string | Reason string | reason why server is about to be shut down |