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

[ANY] Saysounds ft edition (v1.8 2023-10-22)


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

Napisano 22.10.2023 10:25

<div><font size="3">This saysounds plugin fixes a some bugs in existing other saysound plugin and adds new syntax.<br /></font><br /><font size="3">This plugin tested in CS:GO and L4D2. Other source engine game is not tested but may work.<br />Also in CS:GO test has a 6000+ saysounds and working fine.</font><br /><br /><font size="3"><b>Video preview</b></font><br /><iframe width="420" height="315" src="https://www.youtube....Ik3Icq5c?rel=0"frameborder="0" allowfullscreen></iframe><br /><br /><font size="3"><b>About<b></b>:</b></font><ul><li>Dynamically precaches a sound. You can add 6000+ saysounds (Tested in Lupercalia CS:GO MG servver)</li>
<li>You can play saysounds as normal or with custom speed/pitch and custom length.</li>
<li>Formatted message.</li>
</ul><br /><font size="3"><b>Requirements:</b></font><ul><li> SM 1.11+ - My release file is compiled in SM 1.11.0.6934.</li>
</ul><br /><font size="3"><b>What fixed from old saysounds plugin:</b></font><ul><li> Fixed Saysounds is cancelled by next saysounds commands.</li>
</ul><br /><font size="3"><b>Saysound syntax</b></font><ul><li>&lt;sound&gt;</li>
<li>&lt;sound&gt; @&lt;speed&gt;</li>
<li>&lt;sound&gt; %&lt;length&gt;</li>
<li>&lt;sound&gt; @&lt;speed&gt; %&lt;length&gt;</li>
<li>&lt;sound&gt; %&lt;length&gt; @&lt;speed&gt;</li>
</ul><ul><li>Sound: Yeah same as other saysounds plugin. e.g. <b>test</b> in chat</li>
<li>speed/pitch: use @ and specify speed. e.g. <b>@120</b></li>
<li>length: use % and specifiy length in seconds. e.g. <b>%0.5</b></li>
</ul>So we combined the above, will become like this. <b>test @120 %0.5</b><br /><br /><font size="3"><b>Cvars:</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">sm_saysounds_enable &lt;0/1&gt; - Toggle saysounds globally<br />sm_saysounds_interval &lt;seconds&gt; - Saysounds cooldown per player.<br />sm_saysounds_format_chat &lt;0/1&gt; - Cancel original message and send formatted message.<br />sm_saysounds_version - Shows a plugin version.</code><hr />
</div><font size="3"><b>Commands:</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">sm_saysounds, sm_saysound, sm_ssmenu, sm_ss_menu - Opens settings menu.<br />sm_ss_volume &lt;0~100&gt;- Set the saysound volume. If no argument, will work as !ssmenu<br />sm_ss_speed &lt;50~200&gt;(You can change max and min range from source file) - Set the saysound speed/pitch. If no argument, will work as !ssmenu<br />sm_ss_length &lt;0~&gt; - Set the saysound length in seconds. If no argument, will work as !ssmenu<br />sm_ss_toggle - Toggle saysounds.<br />sm_ss_list sm_sslist - Show all of saysounds provided in server.<br />sm_ss_search &lt;string&gt; sm_sss &lt;string&gt; - Search saysounds.</code><hr />
</div><font size="3"><b>Admin commands:</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">sm_ss_ban &lt;player name&gt; - Ban player from using saysounds. - If no argument, will show a player list menu.<br />sm_ss_unban &lt;player name&gt; - Unban player from using saysounds. - If no argument, will show a player list menu.</code><hr />
</div><font size="3"><b>Known issues:</b></font><ul><li>When player use %&lt;time&gt; syntax. It will stop all same sound when timer fired. (e.g. If someone use test %0.1 after someone use test with 5 seconds long sound, It stops all test sound after timer fired)</li>
</ul><br /><font size="3"><b>Todo:</b></font><ul><li>Add temporary ban. (Currently we can only ban permanent)</li>
<li>Add self saysounds mute.</li>
</ul><br /><font size="3"><b>Installation:</b></font><br />Note: The old saysound plugin config will probably work. but play multiple file in 1 trigger is removed in this plugin.<br />like: <a href="https://forums.allie....php?p=2240969"target="_blank" rel="noopener">Saysounds redux</a><ol style="list-style-type: decimal"><li>Download zip file from <a href="https://github.com/faketuna/sm-saysounds" target="_blank" rel="nofollow noopener">github repo</a></li>
<li>Click code and select Download ZIP.</li>
<li>Extract files.</li>
<li>Move configs, plugins, translations folder to your sourcemod folder. scripting is are optional.</li>
<li>Modify saysounds.cfg.</li>
<li>Done.</li>
</ol><br />If you want modify source file, requires <a href="https://github.com/Bara/Multi-Colors"target="_blank" rel="nofollow noopener">multicolors</a> to compile.<br /><br /><font size="3"><b>Changelog:</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">- 1.8 Initial release on alliedmodders forum.</code><hr />
</div><font size="5">You can download latest files from <a href="https://github.com/f...a/sm-saysounds"target="_blank" rel="nofollow noopener">GitHub</a>!</font></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/zip.gif"alt="File Type: zip" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...3-10-22.zip</a>(37.6 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