No Spawn Menu in Custom Gamemode

Hey guys… I made a series of custom maps for a LAN gamemode. Well, it’s an extremely basic script, disallowing you to spawn with weapons and helps choose a team. That’s it.

Well, it works… But the spawn menu is gone. I tried "include( ‘cl_spawnmenu.lua’) in the cl_init.lua file, but that did absolutely nothing.

I spent an entire hour Google searching this and honestly found nothing.

Add this function both on the server and client: