Props - Custom gamemode


Is there way i can implement the sandbox spawnmenu?

And how do i spawn a prop like you spawning the prop in the spawnmenu. Have tried to check the files in sandbox, to see how they did it. But couldnt find it.


Just set your gamemode’s base to sandbox. Look in the gamemode_name.txt and set the base to sandbox. Then in gamemode/shared.lua call


Thanks you solved my first problem, anyone can answer my second problem?

by using the spawn menu

The console command gm_spawn[sent/swep/vehicle] [model/classname] is what gets called by the spawnmenu buttons. Is that what you want?