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

[Dystopia/ANY] Callvote Admin Immunity Enforcement (11-23-2015, v2.0)


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

Napisano 24.11.2015 01:28

<div>Hello. This will have been my first post on the AlliedModders forum, please correct me on anything that I have done wrong.<br /><br />Dystopia has a callvoting system that works separately from SourceMod, so admin immunity is not accounted for when targeting a player with a callvote. It is possible for a regular player to call a vote to kick an admin from his own server, for example. This plugin will block callvote commands that target another player, and reply to the command with an explanation of why it was blocked, if the player has higher SourceMod admin immunity, than the player that sent the command. The plugin currently will affect these specific commands:<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">callvote kick &lt;name&gt;<br />callvote kickid &lt;userid&gt;<br />callvote ban &lt;name&gt;<br />callvote banid &lt;userid&gt;<br />callvote forcespec &lt;userid|name&gt;</code><hr />
</div>Although this plugin was made specifically to work Dystopia, I think it should work in any Source game that uses the same commands.<br /><br />Changelog:<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">11-23-2015 (v2.0)<br /><br />* Added comments, and better formatted for public release.</code><hr />
</div></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/sp.gif"alt="File Type: sp" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="http://www.sourcemod...86"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1448324287">GetSource</a> (callvoteAdminEnforce2.0.sp - 2.8 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