HL2 co op game mode enabling spawn menu

This game mode disables the spawn menu. I need to know how to make it so I can enable the spawn menu for admins.

That gamemode does not disable the spawn menu; It does not have it because it doesn’t derive from sandbox.

Oh. Is there a way to enable the spawn menu then?

Yes. You have to modify the source codes to derive from Sandbox, then write a new handler for the concommand or function that opens the spawnmenu and check if the player wanting to open it is an admin.

You’d have to override the spawning functions, too. It’s really not that hard, but annoying.

Ok. Thanks