Skocz do zawartości

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

[CS:GO] Toggle Music & Volume Control


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7 490
  • Lokalizacja:AMXX.PL
Offline

Napisano 25.02.2017 02:12

<div><font size="4"><b>Info<br /></b><font size="1"><font size="2">This is my second try at map music / volume plugin. First time was not successful as many things I did were not working as I thought they should (it is difficult to stop client sound individually).<br />Now I have re-worked the code and tested on a few maps and seems to work good, so I invite you to give it a try. Only tested with CS:GO but may work with any game.</font><br /></font></font><br /><font size="3"><b>Commands / Cvar</b></font><br /><div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">Code:</div>
<hr /><code style="margin:0px" dir="ltr" style="text-align:left"><ul><li>sm_music - Calls the music toggle menu</li><br /><li>sm_stopmusic - Same as sm_music</li><br /><li>sm_volume - Calls the volume controls menu</li><br /><li>sm_stopmusic_mapambient - Set to &quot;1&quot; for map sounds / &quot;0&quot; for all server sounds</li><br /><li>sm_stopmusic_debug - Set to &quot;1&quot; to show debug info</li><br /></ul></code><hr />
</div><font size="3"><b>Changelog</b>:</font><br /><div style="margin:20px; margin-top:5px; ">
<div class="smallfont" style="margin-bottom:2px">Quote:</div>
<table cellpadding="6" cellspacing="0" border="0" width="100%">
<tr>
<td class="alt2">
<hr />

<b><b>Version 2.2</b>:<br /></b><ul><li>sm_stopmusic_mapambient &quot;0&quot; will now also hook non-ambient sounds (see version 2.1)</li>
</ul> <b><b>Version 2.1</b>:<br /></b><ul><li>Added sm_stopmusic_mapambient cvar to handle server plugins</li>
</ul> <b><b>Version 2.0</b>:<br /></b><ul><li>Plugin re-worked and should now be compatible with all maps</li>
<li>Volume control is independent of music now</li>
<li>Client pref cookie removed</li>
</ul>

<hr />
</td>
</tr>
</table>
</div><b><font size="3">Download &amp; Installation:</font></b><br />Drop in plugins folder.</div>


<br /> <div style="padding:6px">








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...06"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1488124658">GetSource</a> (ToggleMapMusic.sp - 9.9 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych