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

Sven Co-op administrator icons for AMXX


  • 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 01.07.2013 00:58

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="4">Overview</font><br /><br />This plug-in will build the file containing a list of administrators for Sven Co-op, usually &quot;<font color="Red">admins.txt</font>&quot; or pointed to with CVAR &quot;<font color="Blue">adminsfile</font>&quot;, which is then used to graphically denote whom server administrators are on the in-game score board. Owners will also get the tinted gold graphic, which is read from those users with the <font color="Red">ADMIN_RCON</font> flag (<b>L</b>).<br /><br />The automated graphic will help players spot imposter administrators. It will also allow administrators to use Sven Co-op's build-in cheat commands, providing that the <font color="Blue">sv_cheats</font> CVAR is set to <font color="Red">2</font>. <i>(players will still not be able to use cheats)</i><br /><br />It will also provide server administrators with a command to optionally hide their graphic, which is remembered across map changes. Both the textual and SQL user list formats are supported, though your database table will need a new column to remember administrator visibility preference.<br /><br />This requires Sven Co-op 4.5 or later, though owners will not show up at all without Sven Co-op 4.8 or later.<br /><br /><br /><font size="4">Installation</font><br /><br />If you are not using SQL you will need to re-compile the plug-in with the &quot;<font color="Green">#define USING_SQL</font>&quot; line commented.<br /><br />If you are using SQL you will need to execute this SQL query to modify your users table:<br /><!-- BEGIN TEMPLATE: bbcode_code_printable -->
<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">ALTER TABLE `admins` ADD `hideicon` TINYINT( 1 ) NOT NULL DEFAULT 0</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable -->After that simply place the &quot;<font color="Red">sven_adminicons.amxx</font>&quot; plug-in file with the rest of yours, add its' entry to &quot;<font color="Red">plugins.ini</font>&quot;, and it'll work right away.<br /><br /><br /><font size="4">Usage</font><br /><br />Most of this is handled automatically. It's not designed to be complicated :)<br /><br />The list is re-built on the start of every map, though you can do it manually mid-game using server command &quot;<font color="Blue">amx_adminlist_build</font>&quot;<br /><br />Administrators can input &quot;<font color="Blue">amx_hideadmin</font>&quot; to toggle their graphic, or input &quot;<font color="Blue">amx_hideadmin 0</font>&quot; or &quot;<font color="Blue">amx_hideadmin 1</font>&quot; to explicitly hide/show their graphic.<br /><br /><b>Remember:</b> Only the server owners/managers, should have the <font color="Red">ADMIN_RCON</font> flag (<b>L</b>) to be denoted as such in-game.</div>


<br /> <div style="padding:6px">


<fieldset class="fieldset">
<legend>Attached Thumbnails</legend>
<div style="padding:3px">
<!-- BEGIN TEMPLATE: postbit_attachmentthumbnail -->

<a href="https://forums.allie...38;d=1372636700" rel="Lightbox_1980927" id="attachment121991"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=121991&amp;stc=1&amp;thumb=1&amp;d=1372636700" border="0" alt="Click image for larger version

Name: svencoop-adminicons-example.jpg
Views: N/A
Size: 77.6 KB
ID: 121991" /></a>
&nbsp;

<!-- END TEMPLATE: postbit_attachmentthumbnail -->
</div>
</fieldset>







<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.../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...?file_id=121990"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1372635767">Get Source</a> (sven_adminicons.sma - 17.3 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