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

[ANY] Admin Funcommands Restrictor


  • 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 25.05.2013 20:32

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="4"><b><u>Description</u></b></font><br /><br />This Plugin allows all the sourcemod funcommands to be restricted.<br />Commands Include:<br />sm_kick<br />sm_ban<br />sm_slap<br />sm_beacon<br />sm_blind<br />sm_timebomb<br />sm_burn<br />sm_firebomb<br />sm_freeze<br />sm_freezebomb<br />sm_gravity<br />sm_drug<br />sm_noclip<br />sm_slay<br /><br />When an admin does one of these commands, they are given warnings and are subsequently kicked or banned depending on the ConVars below.<br /><br /><b><u><font size="4">ConVars:</font></u></b><br />Neatly include in a config file (tfcfgsourcemodadmincontrol_cfg)<br /><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;"><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">//&nbsp;This&nbsp;file&nbsp;was&nbsp;auto-generated&nbsp;by&nbsp;SourceMod&nbsp;(v1.5.0-dev+3840)
<br />//&nbsp;ConVars&nbsp;for&nbsp;plugin&nbsp;"adminrestrictions.smx"
<br />
<br />
<br />//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Ban&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"3"
<br /></span><span style="color: #0000BB">bancv&nbsp;</span><span style="color: #DD0000">"3"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;If&nbsp;resultcv&nbsp;=&nbsp;2,&nbsp;amount&nbsp;of&nbsp;time&nbsp;to&nbsp;ban&nbsp;a&nbsp;client
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">bantimecv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Beacon&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"3"
<br /></span><span style="color: #0000BB">beaconcv&nbsp;</span><span style="color: #DD0000">"3"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Blind&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">blindcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Burn&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">burncv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Drug&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">drugcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Firebomb&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">firebombcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Freezebomb&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">freezebombcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Freeze&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br /></span><span style="color: #0000BB">freezecv&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Gravity&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">gravitycv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Kick&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"5"
<br /></span><span style="color: #0000BB">kickcv&nbsp;</span><span style="color: #DD0000">"5"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Noclip&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">noclipcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Kick&nbsp;Or&nbsp;Ban&nbsp;a&nbsp;client&nbsp;for&nbsp;their&nbsp;offence:&nbsp;1&nbsp;=&nbsp;Kick&nbsp;2&nbsp;=&nbsp;Ban
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br /></span><span style="color: #0000BB">resultcv&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Slap&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">slapcv&nbsp;</span><span style="color: #DD0000">"0"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Slay&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"1"
<br /></span><span style="color: #0000BB">slaycv&nbsp;</span><span style="color: #DD0000">"1"
<br />
<br /></span><span style="color: #FF8000">//&nbsp;Max&nbsp;Amount&nbsp;of&nbsp;Times&nbsp;an&nbsp;Admin&nbsp;can&nbsp;Timebomb&nbsp;a&nbsp;player
<br />//&nbsp;-
<br />//&nbsp;Default:&nbsp;"0"
<br /></span><span style="color: #0000BB">timebombcv&nbsp;</span><span style="color: #DD0000">"0"&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --></div>
</div>
</div><br /><br /><b><u><font size="4">Version</font></u></b><br /><br />1.0 - Initial Release<br /><br /><b><u><font size="4">Setup</font></u></b><br /><br />Click &quot;Get Plugin&quot; and drag it from your downloads into tfaddonssourcemodplugins<br /><br /><b><u><font size="4">Notes</font></u></b><br /><br />Tested on TF2 - Should work with every sourcemod compatible game.<br /><br />Please Comment any errors or bugs<br /><br />I'm only 15 so im still learning :)</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...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=120323"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1369510313">Get Source</a> (AdminControl.sp - 11.9 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