<!-- 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 "<font color="Red">admins.txt</font>" or pointed to with CVAR "<font color="Blue">adminsfile</font>", 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 "<font color="Green">#define USING_SQL</font>" 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 "<font color="Red">sven_adminicons.amxx</font>" plug-in file with the rest of yours, add its' entry to "<font color="Red">plugins.ini</font>", 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 "<font color="Blue">amx_adminlist_build</font>"<br /><br />Administrators can input "<font color="Blue">amx_hideadmin</font>" to toggle their graphic, or input "<font color="Blue">amx_hideadmin 0</font>" or "<font color="Blue">amx_hideadmin 1</font>" 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&stc=1&thumb=1&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>
<!-- 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ł
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

Sven Co-op administrator icons for AMXX
Temat rozp. Adminek AMXX.PL, 01.07.2013 00:58
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych