any one know how to disable spawn menu category dupes on gmod 13 server
2 replies, posted
any one know how to disable spawn menu category dupes on gmod 13 server???
please help
[editline]17th January 2013[/editline]
bump realy need help! :(
In this directory of your server "orangebox/garrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenttypes" open the dupes.lua file
look for this line "function ws_dupe:DownloadAndArm( id )" should be around line 55. You need to change that function to the following
[code]
function ws_dupe:DownloadAndArm( id )
chat.AddText(Color(255,0,0), "Spawning dupes from the workshop has been disabled. You can still spawn your own saved dupes")
--MsgN( "Downloading Dupe...\n" )
--steamworks.Download( id, true, function( name )
--MsgN( "Finished - arming!\n" )
--ws_dupe:Arm( name );
--end )
end
[/code]
The -- infront of the lines are comments. Instead of deleting the lines I just commented them. This allows me to easily turn it on again.
As for the chat.AddText, you can change the color and the text in there if you want.
Keep in mind, if you update your server, you will have to redo this as the file will be overwritten.
okay thanks having any idea how to ban bouncy balls from the game?
Sorry, you need to Log In to post a reply to this thread.