Skocz do zawartości
  • Drogi gościu!

    Tutaj możesz się zarejestrować lub zalogować:

[RSS Pluginy] [NMRIH] mute ambiance music


GLOBALELITE.pl

Rekomendowane odpowiedzi

  • GLOBALELITE.PL
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
File Type: smx nmrih_killmusic.smx (3.7 KB)
File Type: sp Get Plugin or Get Source (nmrih_killmusic.sp - 704 Bytes)

 

Wyświetl pełny artykuł

Odnośnik do odpowiedzi
Udostępnij na innych stronach

Gość
Ten temat został zamknięty. Brak możliwości dodania odpowiedzi.
  • Ostatnio przeglądający

    Brak zarejestrowanych użytkowników przeglądających tę stronę.


O GLOBALELITE.PL


Chcemy pokazać absolutnie wszystkim, że człowiek jest zdolny do rzeczy wielkich! Potrzebujemy tylko waszej pomocy. Dzięki ciężkiej pracy chcemy udowodnić, że razem możemy wszystko! Szukamy ludzi ambitnych i skorych do poświeceń, ludzi którzy są godni, aby dołączyć do globalnej elity społeczności, którą traktuje się jak drugą rodzinę!

Istniejemy od 2014 r.

Motyw zrobiony przez doc

Strona zarządzana przez: Adam Plicha

Linki społecznościowe

Gdzie można nas znaleźć?


Facebook Teamspeak Discord

Linki forumowe

Linki z różnego rodzaju podaniami


Podanie o admina Prośba o unbana Propozycja Złóż skargę

Administracja

Oni odpowiedzą na Twoje pytania ;)


×
×
  • Dodaj nową pozycję...