<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 <name><br />callvote kickid <userid><br />callvote ban <name><br />callvote banid <userid><br />callvote forcespec <userid|name></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ł
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

[Dystopia/ANY] Callvote Admin Immunity Enforcement (11-23-2015, v2.0)
Temat rozp. Adminek AMXX.PL, 24.11.2015 01:28
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych