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

[TF2] Dispenser Music (v0.1.1, 2013-06-02)


  • 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 476
  • Lokalizacja:AMXX.PL
Offline

Napisano 03.07.2013 02:51

<!-- BEGIN TEMPLATE: postbit_external -->
<div>Adds music to any dispensers built.<br /><br /><font size="5">Features</font><ul><li>Handles hooking music events to dispenser entities</li>
<li>Picks a song by random</li>
<li>Takes a list of songs from a given directory</li>
</ul><br /><font size="5">CVARs/Commands</font><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><ul><li> <b>sm_dispenser_music_server_directory</b> the directory all of the songs are on the server. This is normally in sound/dispenser on your FastDL server; it looks through this directory for songs, and adds them to a list. There is a max of 100 songs so far, and this path is relative to addons/sourcemod (or whereever your sourcemod path is).</li>
<li> <b>sm_dispenser_music_directory</b> the path all of the songs are, relative to the sound directory.</li>
<li> <b>sm_dispenser_music_reload</b> reloads all of the songs, adding them to the download list and precaching them. Automatically ran on map start and on plugin load. <i>Note: if you add more songs, it may require a map change to cache the sounds - i'm not sure.</i></li>
</ul></div>
</div>
</div><br /><br /><font size="5">Changelog</font><br /><br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">2013-06-02 (v0.1.1)<br />* Removes debug calls.<br />* Moves callback from OnMapStart to OnConfigsExecuted<br />* Removes load on plugin start<br /><br />2013-06-02 (v0.1.0)<br />* Initial release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font size="5">Plans</font><ul><li> Remove the limit on the number of songs the plugin can handle.</li>
<li> Make specifying sound directories easier.</li>
</ul><br /><a href="" target="_blank">Check it.</a><br /><br />Is my first plugin!</div>


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








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


<a href="http://www.sourcemod...?file_id=122075"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1372821592">Get Source</a> (dispenser_music.sp - 3.7 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>


</div>

<!-- END TEMPLATE: postbit_external -->

Wyświetl pełny artykuł




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

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