Allow spawn menu (Q) with base gamemode (Like flood)

How would I accomplish this? So I hold q and can spawn in items like sandbox
I tried
SANDBOX:SpawnMenuEnabled( true )

function GM:SpawnMenuEnabled()
     return true

Did not work

You gotta derive your gamemode from sandbox, not base gamemode.

Or code your own spawnmenu, which is preferable because you won’t have all the unnecessary stuff.

So I would need to create a derma with buttons and when you press it spawns the entity?

uh. yeah.

Haha yeah, I don’t know why I even said that…