<div><b><font size="4">Description</font></b><br />This plugin was made per <a href="https://forums.allie...d.php?t=260943"target="_blank">request from secondtimesold</a>. It is a complete rewrite of the plugin he references.<br /><br />This plugin is fully customizable. You can make as many setups as desired, and have as many kinds of configurations as desired (all through a config file). The config file is fully explained inside the file itself, but can also be found below.<br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Default .cfg file</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;"><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">//////////////////////////////////////////////////////////////////<br />//<br />// SAMPLE SETUP:<br />//<br />// "Title" <- This can be anything. I suggest making it something indicating what the setup is for.<br />// {<br />// "flag" "INPUT" <- There are 3 kinds of inputs. See below.<br />// "tag" "[SOME TAG]" <- Tag.<br />// }<br />//<br />//////////////////////////////////////////////////////////////////<br />//<br />// INPUTS AND ORDER OF OPERATION:<br />//<br />// The player will get the first tag that matches them. So, a general order of setups is: Bot setup -> Steam ID setups -> group setups.<br />//<br />// BOT: This setup will apply to all bots, and only to bots.<br />//<br />// Steam ID (STEAM_X:X:XXXXXXX format): This will apply only to the player whose steam ID it is. <br />// Note: The plugin checks both "STEAM_0" and "STEAM_1" (steam universe 0 and 1), so if you put the wrong one in, it still works.<br />//<br />// Groups: This is a single, multiple, or multiple sets of admin flags.<br />// e.g. "a" requires players to have the "a" flag to be considered a match<br />// e.g. "at" requires players to have BOTH the "a" and "t" flags to be considered a match<br />// e.g. "a;t" requires players to have EITHER the "a" OR "t" flags to be considered a match<br />// e.g. "at;b" requires players to have EITHER: BOTH the "a" and "t" flags, OR the "b" flag to be considered a match<br />//<br />//////////////////////////////////////////////////////////////////<br />// Note: Do not change the word "Setups" in the line below, else the plugin will not read this file.<br />"Setups"<br />{<br /> "Bot setup"<br /> {<br /> "flag" "BOT"<br /> "tag" "[BOT TAG]"<br /> }<br /> "Some player"<br /> {<br /> "flag" "STEAM_0:1:1234567"<br /> "tag" "[SOME TAG]"<br /> }<br /> "Some guy"<br /> {<br /> "flag" "STEAM_0:1:9876554"<br /> "tag" "[ANOTHER TAG]"<br /> }<br /> "Admin Tag"<br /> {<br /> "flag" "b"<br /> "tag" "[ADMIN]"<br /> }<br /> "VIP Group"<br /> {<br /> "flag" "aost"<br /> "tag" "[VIP]"<br /> }<br /> "Some other tag"<br /> {<br /> "flag" "a;st"<br /> "tag" "[MEMBER]"<br /> }<br />}</code><hr />
</div></div>
</div>
</div><br /><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 /><b>togsclantags_admflag</b> - Admin flag(s) required for using the admin command to recheck everyone.<br /><br /><b>togsclantags_bots</b> - Do bots get tags? (1 = yes, 0 = no)<br /><br /><b>togsclantags_enforetags</b> - If no matching setup is found, should their tag be forced to be blank? (1 = blank, 0 = allow their own clan tags).<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 />04/04/15 (v1.0)<ul><li>Initial Release to AM</li>
</ul></div>
</div>
</div><br /><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Installation</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>togsclantags.smx to /addons/sourcemod/plugins/ folder.</li>
<li>togsclantags.cfg to /addons/sourcemod/configs/ folder.</li>
<li>Configure your setups in the cfg file, then load plugin and you're set!</li>
</ul></div>
</div>
</div><br /><br /><a href="http://www.gametrack...rt=&order="target="_blank"><b><i>Servers using this plugin</i></b></a><br /><a href="http://www.sourcemod.net/plugins.php?cat=0&mod=-1&title=&author=thatoneguy&description=&search=1" target="_blank"><i><b>>>> Click here to check out my other public plugins (mostly older) <<<</b></i></a><br /><br />If you enjoy this plugin, I'm always open to donations (link in signature)! Either way, enjoy!</div>
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse
TOGs Clan Tags
Temat rozp.
Adminek AMXX.PL
, 05.04.2015 01:56
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych