Archiv verlassen und diese Seite im Standarddesign anzeigen : "Dupes" im Server deaktivieren?
Kann mir einer helfen das TAB "Dupes" zu deaktivieren? Ich finde es echt beschi**en das mein Server beim spawnen dieser shit dinger lagt.
Ich hoffe jemand kennt eine Lösung danke im vorraus!
minifisch
04.05.2013, 11:29
http://www.facepunch.com/showthread.php?t=1233455
Hab ich selbst verwendet ;)
Sorry - You can't view this page!
Sup guy! This thread is hidden from the public gaze!
To view it you need to be registered and signed in.
We get a lot of spammers and trolls, so you need to get an invite from an existing member to register.
Immer wenn ich mich registrieren will scheitert es an "invitation code". Was kann ich dagegen machen?
Im Facepunch Forum kann man sich zur Zeit ohne eine Einladung nicht anmelden.
Hier der Post aus dem Forum.
Open this directory "garrysmod/gamemodes/sandbox/gamemode/spawnmenu/creationmenu/content/contenttypes"
and look for a file called "dupes.lua"
Open this file and look for a function called 'function ws_dupe:DownloadAndArm( id )'
Modify the code to look like the following
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
For the chat.AddText, you can change the color and the text to what you want.
The '--' infront of the lines are comments. Just incase you want to re-enable the workshop dupes in the future just remove the '--'.
When someone tries to download a dupe from the workshop, it will just display the message.
Powered by vBulletin® Version 4.2.2 Copyright ©2025 Adduco Digital e.K. und vBulletin Solutions, Inc. Alle Rechte vorbehalten.