Stop player's from spawning immediately? (gamemode)

Seems pretty basic, but I’m honestly lost. I’d like a menu to appear for players who have just connected to the server, like the team/class select in TF2, or perk menu in Killing Floor. Can anyone provide brief instructions on how to do so?

I think you have to override the PlayerDeathThink gamemode hook to prevent the player from spawning themselves.

PlayerDeathThink is the major part of it. Here is something to set up a spectator system; I’d recommend creating a CanSpawn function and use that…