I know the answer will be really simple, but I spent a while trying to find out and I have looked all over for it, and I still don't know. Like it says in the title, I want to enable the spawn menu and prop spawning in general; but the error I'm getting is "Unknown Command: 'gm_spawn'". Any help would be welcomed!
Thanks in advance :)
Wich gamemode are you using?
This a gamemode I am currently making.
Derive your gamemode from sandbox, not base gamemode.
When I do that I get this error when "undo-ing" a prop.
[QUOTE]
[ERROR] LuaCmd:1: attempt to call method 'OnUndo' (a nil value)
1. unknown - LuaCmd:1
Warning: vgui.Create failed to create the VGUI component (ControlPanel)
Trace:
1: Line 32 "Trace" lua/includes/extensions/debug.lua
2: Line 13 "Get" lua/includes/modules/controlpanel.lua
3: Line 366 "v" lua/weapons/gmod_tool/stools/coaster_supertool.lua
4: Line 82 "nil" lua/includes/modules/hook.lua
controlpanel.Get() - Error creating a ControlPanel!
You're calling this function too early! Call it in a hook!
[[/QUOTE]
And the spawn menu still does not open.
Sorry, you need to Log In to post a reply to this thread.