owner_2019 Opublikowano Maj 12, 2016 o 21:40 Udostępnij Opublikowano Maj 12, 2016 o 21:40 Hi! I'd like to share with you guys a plugin that might be useful to a small amount of people.What it does? its very basic! it sends the 'snd_musicvolume 0.000000' cvar to all connected player clients (turning their music volume all the way down) it will send this command every 15 seconds in a endless loop. while i dont feel too good about using a timer for this (its rather a ghetto fix :oops:) it does work and serves the intended purpose. :wink:Why? whenever you play in a nmrih server you always will hear the default ambiance music playing in the background - while it sounds good i rather not have this happening while listening to the radio channels my server provides having 2 sounds playback throughout each other is very annoying. While looking for a plugin that could take care of this little problem i spotted this plugin https://forums.alliedmods.net/showthread.php?p=2180885 [NMRiH]NMS Ambient Sound Mute v1.0 (08-08-2014) created by bhunji. Great! but it didn't work. this is where i decided to start working on this plugin using a different and a more simple but working approach. Install instruction: drop the .smx file in your addons/sourcemod/plugins folder and it should work, there are no configuration options because this plugin is just too simple for that. Attached Files nmrih_killmusic.smx (3.7 KB) Get Plugin or Get Source (nmrih_killmusic.sp - 704 Bytes) 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ę