If you were putting in in a gamemode, it would be in the cl_init.lua and would look like this:
[code]function GM:SpawnMenuEnabled() return false end[/code]
Alright thanks.
You could also simply derive from base instead of sandbox so your gamemode doesn't run code it won't use.
So would tha tcause any errors like, not having simple weapons like the crowbar?
Have a look at it yourself and see if you're using things from Sandbox. If it's all useless because you're making it from scratch just derive from base.
[url]http://luabin.foszor.com/code/gamemodes[/url]
And no the weapons wouldn't be removed from the game. But you wouldn't spawn with them like in Sandbox (Gotta remake the loadout for your gamemode).
Sorry, you need to Log In to post a reply to this thread.