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

[Source 2009 Games] TOGs Chat Tags


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

Napisano 02.06.2014 06:07

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="4">Description</font></b><br />This is a plugin I have debated releasing for quite a while (since it is something my servers had that others didnt). However, here it is nonetheless. This is my complete remake of plugins like Simple Chat Colors and Custom Chat Colors, only I started from scratch and didnt use a bit of their code. I have added a LOT of features...namely that all players with the configurable flag can set thier own tags and colors for tags,name, and chat. In addition, since player can set any kind of tag (within a set length), I have made a cfg file (togschattags_blocked.cfg), each line of which will add phrases that are blocked (e.g. &quot;admin). Any tags involving with these phrases inside will be blocked. Additionally, for troublesome users, I have implemented the ability to have admins not only remove their tags, but restrict them. This ability is accessible to admins via a configurable admin flag. Additionally, the entire plugin can be unload for the current map for any admins with another configurable admin flag.<br /><br /><u>Notes:</u><ul><li>This plugin is entirely compatible with SCC/CCC, and if no tags are set on a player, will use the SCC/CCC setups, else will override them.</li>
<li>If player sets a tag while they have access, the tag will disappear as soon as they no longer have access.</li>
<li>Plugin comes with a full list of colors (which I think I borrowed from <a href="https://forums.allie...ad.php?t=183134" target="_blank">Supporter Colors</a>), in addition to supporting any custom hex code colors.</li>
<li>Fully capable of late-loading (i.e. you can load the plugin mid-map and it will function fine).</li>
<li>All pre-defined colors accessible via the tags menu can be configured via config file (togschattags_colors.cfg).</li>
<li>Includes a funny response for any players trying to use chat while gagged (try it to see).</li>
<li>Full admin menu incorporation</li>
<li>Full menu incorporated into client prefs menu (accessible via typing !settings or !tags)</li>
</ul><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>CVars</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;"><br />Adjust these in the auto-generated cfg located in cstrike/cfg/sourcemod/togschattags.cfg<br /><br /><b>tct_enable</b> - Enable plugin (0 = Disabled, 1 = Enabled).<br /> <br /><b>tct_accessflag</b> - Admin flag required to access chat tags.<br /><br /><b>tct_adminflag</b> - Admin flag required to access most admin functions of the plugin.<br /><br /><b>tct_unloadflag</b> - Admin flag required to unload the plugin for the current map.<br /></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Admin Commands</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;"><br /><b>sm_reloadtagcolors</b> - Reloads color cfg file for tags.<br /> <br /><b>sm_restricttag</b> - Restrict player from setting their chat tags.<br /><br /><b>sm_unrestricttag</b> - Unrestrict player from setting their chat tags.<br /><br /><b>sm_removetag</b> - Removes a players tag setup.<br /><br /><b>sm_unloadtags</b> - Unloads the entire plugin for the current map.<br /></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Player Commands</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;"><br /><b>sm_tags</b> - Opens TOGs Chat Tags Menu.<br /><br /><b>sm_settag</b> - Change tag text.<br /> <br /><b>sm_tagcolor</b> - Change tag color to a specified hexadecimal value.<br /><br /><b>sm_namecolor</b> - Change name color to a specified hexadecimal value.<br /><br /><b>sm_chatcolor</b> - Change chat color to a specified hexadecimal value.<br /><br /><b>sm_checktag</b> - Check tag settings of another player (prints to console).<br /><br /><b>sm_settings</b> - Open client prefs menu, which will include TOGs Chat Tags Menu.<br /></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Changelog</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;"><br />06/01/14 (v1.1)<ul><li>Initial Release to AM</li>
</ul></div>
</div>
</div><br /><br /><b><font size="4">Installation</font></b><br />Install .cfg files in addons/sourcemod/configs<br />Install .smx file in addons/sourcemod/plugins<br />Install .sp file in addons/sourcemod/scripting<br /><br /><a href="http://www.gametrack...ort=&#38;order=" target="_blank"><b><i>Servers using this plugin</i></b></a><br /><a href="http://www.sourcemod.net/plugins.php?cat=0&amp;mod=-1&amp;title=&amp;author=thatoneguy&amp;description=&amp;search=1" target="_blank"><i><b>&gt;&gt;&gt; Click here to check out my approved plugins &lt;&lt;&lt;</b></i></a></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...38;d=1401685455">togschattags.smx</a> (38.6 KB)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- 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=134042"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1401685455">Get Source</a> (togschattags.sp - 66.6 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...38;d=1401685455">togschattags_blocked.cfg</a> (24 Bytes)


</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...38;d=1401685465">togschattags_colors.cfg</a> (8.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