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

[CS:GO] Timed CTBans (1.0, updated 2016.12.03)


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

Napisano 03.12.2016 16:51

<div><div align="center"><font size="5"><b>[CS:GO] Timed CTBans</b></font><br /><font size="4"><i>Developed by GryTrean</i></font></div><br /><b><u>Description:</u></b><br /><br />This plugin allows server administrators to ban a player or SteamID from joining the CT team for an entered amount of rounds. This plugin is still under development and minor bugs might still be found. Plugin is tested and should work with other plugins without any problems.<br /><br /><b><u>Features:</u></b><ul><li>CTBans for any amount of rounds</li>
<li>MySQL connected</li>
<li>Ban Reason</li>
<li>Ban-Status command</li>
<li>SteamID banning/unbanning</li>
<li>Multiple CT-Join blocking (round start, round end, swapteam)</li>
</ul><br /><b><u>Commands:</u></b><ul><li><b>sm_ctban &lt;player&gt; &lt;rounds&gt; &lt;reason&gt;</b> - Bans a <b>PLAYER</b> from the CT Team for <b>X ROUNDS</b>. The last argument is to set a reason for the ban - Shows when player gets banned and when he/she checks ban status</li>
<li><b>sm_ctunban &lt;player&gt;</b> - Unbans a <b>PLAYER</b> from the CT Team.</li>
<li><b>sm_ctstatus</b> - If you are banned, returns the reason of the ban. If you are not, informs you that you can join the CT Team.</li>
<li>To allow players to CTBan others, give them the &quot;ADMFLAG_SLAY&quot; flag<br /><b>The plugin does at this moment not contain any CVARS or Translation files. These are planned to be created in the upcoming versions.</b></li>
</ul><br /><b><u>Installation:</u></b><ul><li>Drop ctbans.smx to /sourcemod/plugins</li>
<li>Eventually drop ctbans.sp to /sourcemod/scripting</li>
<li>Add this to databases.cfg (of course with your information instead of the given<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">&quot;ctbans&quot;<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;driver&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;default&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;host&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;localhost&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;database&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;sourcemod&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;user&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;root&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;pass&quot;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;&quot;<br /><br />}</code><hr />
</div></li>
<li>Restart the server (for the highest chance of working. Not sure if just reloading the plugin will properly connect to MySQL).</li>
</ul><br /><b><u>Planned Updates:</u></b><ul><li>Checking other players ban-status</li>
<li>Perm-Bans</li>
<li>Your ideas :)</li>
</ul><br /><b><u>Changelog:</u></b><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"><b>03.11.2016</b><br />* Started Developing the plugin<br /><br /><b>03.12.2016</b><br />* Intial plugin release on AlliedModders</code><hr />
</div><b><u>Screenshots:</u></b><br /><b>CTBan</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</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 /><img src="http://i.imgur.com/O7Q5s1u.jpg"border="0" alt="" /><br /></div>
</div>
</div><br /><b>CTUnban</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</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 /><img src="http://i.imgur.com/4Ei6Xri.jpg"border="0" alt="" /><br /></div>
</div>
</div><br /><b>Swithteam while banned &amp; CTStatus</b><br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</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 /><img src="http://i.imgur.com/VLF8hby.jpg"border="0" alt="" /><br /></div>
</div>
</div><br /><br /><br />Thank you for taking your time and reading this.<br />I hope you will like the plugin, it might also be smart to tell you, that this is the actual first plugin I upload here. I have some more JailBreak plugins on my disk (more than 3000 lines of code!) which I will be glad to sell by a nice price.<br />I hope I didnt forget anything, if you have any questions, just write in the comments below and I will try to answer.<br /><br />I also appreciate all donates I get. I give out plugins for free which are not always that easy to make. Thank you!<br />Donate: <a href="https://www.paypal.c...=HXT44RBDXE4EA"target="_blank"><img src="https://www.paypalobjects.com/sv_SE/SE/i/btn/btn_donateCC_LG.gif" border="0" alt="" /></a></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/smx.gif"alt="File Type: smx" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...80780267">[ENG]ctban.smx</a> (9.0 KB)


</td>
</tr><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...24"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1480780267">GetSource</a> ([ENG] ctban.sp - 9.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