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] Hide Any Chat Triggers


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

Napisano 16.11.2014 01:00

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="4"><b><font face="Arial Black">Hide Any Chat Triggers</font></b></font><br /><font size="3"><b><font face="Arial Black">Description</font></b></font><br />This is a plugin that allows you to make <b>any</b> chat trigger hidden. If you happen to own or play on a server with lots of plugins, you've probably seen this happening:<br /><img src="http://i.imgur.com/LYYhOxC.png"border="0" alt="" /><br /><br />Sourcemod is limited to one hidden chat trigger (/), and one public chat trigger (!). Lots of people use the ! chat trigger, which leads to the chat getting spammed by useless lines of the text. Some people would suggest changing the hidden chat trigger to !, but then you'll end up with the people using the / chat trigger spamming the chat instead, and not to mention the major confusion.<br /><br />By entering any public chat commands in the text file located at <b>sourcemod/configs/hiddenchattriggers.txt</b> (one per line), you can effectively prevent the chat from being spammed with any public commands (or anything you can write into the chat, really) of your choice.<br /><br /><font size="3"><b><font face="Arial Black">Notes</font></b></font><ul><li>This plugin more or less replicates the functionality of <a href="https://forums.alliedmods.net/showthread.php?t=58442" target="_blank">this</a>, but with the key difference that this works for <b>all</b> chat triggers, unlike the other plugin.</li>
<li>This plugin has only been tested on TF2. Although I don't see a reason why it wouldn't work on other Source games, I can't fully guarantee it.</li>
<li><a href="https://forums.allie....php?p=1820365"target="_blank">Simple Chat Processor (Redux)</a> is required for this plugin to work.</li>
</ul><br /><font size="3"><b><font face="Arial Black">Installation</font></b></font><ol style="list-style-type: decimal"><li>Make sure <a href="https://forums.allie....php?p=1820365"target="_blank">Simple Chat Processor (Redux)</a> is installed</li>
<li>Place <b>hideanychattriggers.smx</b> into <b>addons/sourcemod/plugins</b></li>
<li>Place (or create yourself) <b>hiddenchattriggers.txt</b> into <b>addons/sourcemod/configs</b></li>
<li>Set any public chat commands you want to be hidden (i.e !radio, !car, !resizeme) in the file <b>hiddenchattriggers.txt</b> (one chat command per line)</li>
<li>Restart your server or load the plugin manually (sm plugins load hideanychattriggers.smx from the server console)</li>
</ol></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/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...riggers.smx</a>(3.7 KB)


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


<a href="https://forums.allie...riggers.txt</a>(1 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- 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...71"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1416095400">GetSource</a> (hideanychattriggers.sp - 2.0 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