RSSy MYGO.pl Opublikowano Październik 16, 2018 o 05:19 RSSy Udostępnij Opublikowano Październik 16, 2018 o 05:19 Description: Allows for the running of the helms deep reborn map on a sourcemod server and responds to built in commandsInstallation: put l4d2_helmsdeep.smx into /addons/sourcemod/pluginsCredits: everyone who helped me in the sourcemod discord server The author of the map placed code inside the .vpk in a .nut file with the following code that would check if sourcemod was running and kick everyone who tried to join Code: if ( !HelmsServerInfo.checked_plugins ) { local metamodVersion = Convars.GetStr("metamod_version"); local sourcemodVersion = Convars.GetStr("sourcemod_version"); if ( !metamodVersion && !sourcemodVersion ) HelmsServerInfo.has_plugins = false; else HelmsServerInfo.has_plugins = true; HelmsServerInfo.checked_plugins = true; } if ( HelmsServerInfo.has_plugins ) { foreach( player in Players.Humans() ) { SendToServerConsole( "kickid " + player.GetSteamID() + " " + "This server is using plugins, please join a different server" ); } } what this plugin does is intercept the kickid command (with that matching string) and stop it from being used and allowing all players to join Attached Files Get Plugin or Get Source (l4d2_helmsdeep.sp - 2.0 KB) l4d2_helmsdeep.smx (4.9 KB) Wyświetl pełny artykuł Odnośnik do komentarza Udostępnij na innych stronach Więcej opcji udostępniania...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się