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

[ANY] Niggy's Session Flags


  • 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 30.11.2013 00:34

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This is a very simple plugin, inspired by the MODE command in IRC.<br /><br />It will let root admins add or remove any admin flags from any connected client without interacting with the admin config files. Once someone with custom flags disconnects, they will lose the flags.<br /><br /><b>Cvars</b>:<br /><br />sm_flags_version - plugin version.<br /><br /><b>Commands</b>:<br /><br />sm_flags &lt;#userid|name&gt; [+/add|-/remove|toggle] &lt;flags&gt;<br /><br />Flags is a string of single character representations for the flags wanted. For example, 'z' is root and &quot;abcdefj&quot; would be a generic-ish admin setup. Keep in mind if you give the changemap flag, then if/when the person changes the map. They will no longer be able to change the map.<br /><br /><b>Example usage</b>:<br /><br />sm_flags Helper + j<br />This will give &quot;Helper&quot; the chat flag. I mainly do this from the server console when I'm not online and someone is in need of some mutes.<br /><br />sm_flags @all + ak<br />This will give everyone the reserved slot and vote flags. (Up to 42 flags can be set at the same time). Setting reserved slot for one session will allow slot reservation to not kick this person for the entirety of their stay on the server.<br /><br />The '+' is not necessary, but when targeting multiple clients it is best to not use toggle. Then some actual admins might be losing the flags.<br /><br />sm_flags @me - abcdefghijklmnopqrstuvwxyz<br />This will make me have no flags. Non-existing flags will be treated as nothing.<br /><br />sm_flags @me z<br />This will toggle the root flag on me, to run this command you must be root. So after this command I won't be able to use sm_flags until I reconnect to the server.<br /><br />You can also use &quot;add&quot; instead of '+' or &quot;rem&quot;, &quot;remove&quot; instead of '-'.</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=128177"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1385766987">Get Source</a> (flags.sp - 7.7 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