Garry's Mod

[TUTORIAL] Remove sections from spawn menu

Submitted by heymynameischeval, , Thread ID: 102930

Thread Closed
06-10-2018, 07:33 AM
This post was last modified: 06-10-2018, 07:33 AM by heymynameischeval
#1
Hey, today I will show you how the remove sections from the GMod spawn menu.
Like these :

[Image: 1503960106-steamworkshop-webupload-previ...review.jpg]

So go togarrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/content.lua


Just remove what you want (line 8 to 15)

Code:
include( "contenttypes/custom.lua" )
include( "contenttypes/npcs.lua" )
include( "contenttypes/weapons.lua" )
include( "contenttypes/entities.lua" )
include( "contenttypes/postprocess.lua" )
include( "contenttypes/vehicles.lua" )
include( "contenttypes/saves.lua" )
include( "contenttypes/dupes.lua" ) //For exemple remove this line to disable dupes tab

RE: [TUTORIAL] Remove sections from spawn menu

#2
Interesting guide. Good to see others helping out, nice.

RE: [TUTORIAL] Remove sections from spawn menu

#3
I don't get why one would want to remove these tabs from the spawn menu? Perhaps for situations like people not spawning dupes or spawning npcs in DarkRP? That's the only practical use I see for it.
If I'm missing something feel free to let me know.

RE: [TUTORIAL] Remove sections from spawn menu

#4
I dont think i need it,maybe,theres a lot of things that i dont use in gmod. And you can add a new one?

RE: [TUTORIAL] Remove sections from spawn menu

#5
06-10-2018, 04:42 PM
Kowalski Wrote:
I don't get why one would want to remove these tabs from the spawn menu? Perhaps for situations like people not spawning dupes or spawning npcs in DarkRP? That's the only practical use I see for it.
If I'm missing something feel free to let me know.

I agree with you, I don't know why anyone would want to remove any of the tabs. I mean if you don't want people spawning NPC's there is a config to disable that. And not using dupes just change settings in Falco's Prop Protection or another similar addon to restrict the duplicator tool. There are much better options than directly editing gamemodefiles to do just about anything I could think of this would be for.

RE: [TUTORIAL] Remove sections from spawn menu

#6
Do you now how I can remove the tools tab?

Theres just so many tools it doesnt look clean

RE: [TUTORIAL] Remove sections from spawn menu

#7
thank you <3
.......................................................

RE: [TUTORIAL] Remove sections from spawn menu

#8
for sandbox server just needed, thank
............

RE: [TUTORIAL] Remove sections from spawn menu

#9
Let's chat and share Addons of different modes Nation is not important

RE: [TUTORIAL] Remove sections from spawn menu

#10
I know I'm bumping on an old post but I've written a lua script for this without having to go in the gamemodes folder.

It's literally a one liner ;p

spawnmenu.GetCreationTabs()["#spawnmenu.category.dupes"] = nil

Users browsing this thread: 13 Guest(s)