Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

Saysounds (Redux)


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

Napisano 28.12.2014 16:18

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This is a simple rewrite of saysounds/hybrid edition. I wasn't happy with all of the junk in that plugin that I never used/needed, and the poor performance resulting from it. The sound info library was terrible as well, so I removed it. The server doesn't even need the sound files if you use the client play mode. This is a pretty basic plugin, it loads your sounds and creates menus. Should have most of the same functionality of the old plugin.<br /><br /><b>Requirements:</b><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">Clientprefs</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>Cvars:</b><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">sm_saysounds_enable (1) - enable/disable the sound hooks<br /><br />sm_saysounds_sound_limit (10) - limit for normal players<br />sm_saysounds_donor_limit (15) - limit for your donators (default reservation, &quot;saysounds_donor&quot; is override flag)<br />sm_saysounds_admin_limit (0) - limit for your admins (default chat, &quot;saysounds_admin&quot; is override flag)<br /><br />sm_saysounds_sound_delay (3.0) - delay between sounds for normal players<br />sm_saysounds_donor_delay (1.5) - delay between sounds for donators<br />sm_saysounds_admin_delay (0.0) - delay between sounds for admins<br /><br />sm_saysounds_round (0) - if enabled, sound limits will be reset on each new round<br /><br />sm_saysounds_sound_sentence (1) - if enabled, sounds will be played if they are contained in a sentence, rather than only at the start<br />sm_saysounds_block_trigger (0) - if enabled, the chat message will be blocked if it contains a saysound that is played<br />sm_saysounds_exclude (1) - number of sounds to exclude to prevent repetition<br />sm_saysounds_playingame (0) - play sounds via clientcommand rather than on the server. When set to 0, the server will not precache sounds (but volume is going to be limited to 1.0 or 2.0 magnitude). If set to 1, the server will precache all of the sounds, and volumes under 1.0 will work better.<br />sm_saysounds_volume (1.0) - default volume to use</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><b>Commands:</b><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">sm_sound_ban &lt;target&gt; - ban or unban a player from using saysounds<br />sm_sound_reset &lt;target&gt; - reset a player's saysound count<br />sm_soundlist/sm_sounds - open the sound list menu<br />sm_sounds - toggle saysounds on or off</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><br /><b>Config file:</b><br />Your old saysounds/hybrid edition config file should be compatible, but there are some changes.<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">&quot;Sound Combinations&quot;<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;gibus&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // Word trigger for the saysound<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;poni/jahy-buhs.mp3&quot;&nbsp; &nbsp; &nbsp; &nbsp; // file path<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;admin&quot; &quot;1&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;really?&quot;&nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;poni/misc/crowd1.wav&quot;&nbsp; &nbsp; &nbsp; &nbsp; // default sound (required)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file2&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;poni/misc/crowd2.wav&quot;&nbsp; &nbsp; &nbsp; &nbsp; // sound 2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file3&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;poni/misc/crowd3.wav&quot;&nbsp; &nbsp; &nbsp; &nbsp; // sound 3<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file4&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;poni/misc/crowd4.wav&quot;&nbsp; &nbsp; &nbsp; &nbsp; // sound 4 .. keep adding as many as you want, do not have to specify &quot;count&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;VGS&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file&quot; &quot;poni/vgs/shazbot_m.mp3&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;volume&quot; &quot;2.0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // emit this sound twice so that it is much louder<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;hax&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;file&quot;&nbsp; &nbsp; &nbsp; &nbsp; &quot;vo/npc/male01/hacks01.wav&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;download&quot; &quot;0&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // do not download this file (default will send the file to players)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->There are no advertisements, greetings, events, karaoke, or any of that stuff. WYSIWYG.<br /><br />Players can pick to disable hearing sounds by using the !settings menu.</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.../attach/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...02"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1419779877">GetSource</a> (saysounds.sp - 21.4 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie...attach/cfg.gif"alt="File Type: cfg" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...ysounds.cfg</a>(701 Bytes)


</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