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

Temporary Admin - Add admin for x days


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

Napisano 09.10.2016 19:07

<div>This plugin is intended to add a user as a temporary admin.<br /><br />I know that GHW_Chronic has created a similar plugin but this one is much better.<br /><br />Commands:<br /><br />say /astatus &lt;player&gt; - Check my days left as a temporary admin ( If you're a rcon admin you can check another user's time left.<br /><br />amx_addtempadmin &lt;name/&quot;steamid&quot;/ip&gt; &lt;flags&gt; &lt;days&gt; &lt;password&gt; - Adds a temporary admin ( steamid must be in quotes ) ( password is only for name )<br /><br />amx_removetempadmin &lt;name/&quot;steamid&quot;/ip&gt; - Removes a player's temporary admin.<br /><br />amx_edittempadmin &lt;name/&quot;steamid&quot;/ip&gt; - Edits a temporary admin's time as an admin.<br /><br />All console commands require ADMIN_RCON.<br /><br />To Do:<br /><br />Add a chat command of /tempmanage to add in-game players, remove offline players and edit offline players.<br /><br />Notes:<br /><br />1. For obvious reasons, the plugin will prohibit you from adding an admin with rcon access ( l ).<br />2. Do NOT try to edit the duration in the file, it's simply complex, use the variety of commands above.<br />3. If a line of a temporary admin in both usersTemp.ini and users.ini is not identical, a set_fail_state will be triggered and SHUT the whole plugin. ( I might change that... )</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/sma.gif"alt="File Type: sma" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>

<a href="http://www.amxmodx.o...42"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1476036391">GetSource</a> (TempAdmin.sma - 16.0 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