Named in the code or data of server.
DoorCloseEvent[GameEventHandler("door_close")]
public HookResult OnDoorClose(DoorCloseEvent args) {
// args.Userid, args.Checkpoint
return HookResult.Continue;
}| Field | Type | Deadworks property | Valve's comment |
| userid | player_pawn | Userid CBasePlayerPawn? | Who closed the door |
| checkpoint | bool | Checkpoint bool | Is the door a checkpoint door |