<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 <player> - 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 <name/"steamid"/ip> <flags> <days> <password> - Adds a temporary admin ( steamid must be in quotes ) ( password is only for name )<br /><br />amx_removetempadmin <name/"steamid"/ip> - Removes a player's temporary admin.<br /><br />amx_edittempadmin <name/"steamid"/ip> - 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ł
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
Temporary Admin - Add admin for x days
Temat rozp. Adminek AMXX.PL, 09.10.2016 19:07
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych