<!-- BEGIN TEMPLATE: postbit_external -->
<div>So, I have seen quite a lot of requests to make plugins work for everybody. That is because most plugins will work only for players with certain flags. And here is where this plugin can be used for.<br /><br /><b>This plugin sets flags for everybody in the server.</b><br /><br />The plugin has two CVARs:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB">ffe </span><span style="color: #DD0000">"1" </span><span style="color: #FF8000">// Plugin itself on/off. 1 - on. 0 - off.<br /></span><span style="color: #0000BB">ffe_flags </span><span style="color: #DD0000">"mnopqrst" </span><span style="color: #FF8000">// Flags to be given for everybody. You can change them. Flags are listed below.
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Flags:<br /><!-- BEGIN TEMPLATE: bbcode_php_printable -->
<div style="margin:20px; margin-top:5px">
<div class="smallfont" style="margin-bottom:2px">PHP Code:</div>
<div class="alt2">
<hr />
<code style="white-space:nowrap">
<div dir="ltr" style="text-align:left;">
<!-- php buffer start --><code><span style="color: #000000">
<span style="color: #0000BB"></span><span style="color: #FF8000">/*<br /> Flags:<br /> a - immunity (can't be kicked/baned/slayed/slaped and affected by other commmands)<br /> b - reservation (can join on reserved slots)<br /> c - amx_kick command<br /> d - amx_ban and amx_unban commands<br /> e - amx_slay and amx_slap commands<br /> f - amx_map command<br /> g - amx_cvar command (not all cvars will be available)<br /> h - amx_cfg command<br /> i - amx_chat and other chat commands<br /> j - amx_vote and other vote commands<br /> k - access to sv_password cvar (by amx_cvar command)<br /> l - access to amx_rcon command and rcon_password cvar (by amx_cvar command)<br /> m - custom level A (for additional plugins)<br /> n - custom level B<br /> o - custom level C<br /> p - custom level D<br /> q - custom level E<br /> r - custom level F<br /> s - custom level G<br /> t - custom level H<br /> u - menu access<br />*/
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Changelog, thanks to:<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"> Changelog:<br /> v1 - Plugin released.<br /> v2 - Fix: now flags are given after user changes his name too.<br /> <br /> Thanks to:<br /> Psychic, ^SmileY</div>
</div>
</div><br /><br />Installation (nothing special):<br /><div style="margin: 5px;">
<div class="smallfont" style="margin-bottom: 2px;">
<b>Spoiler</b> <input value="Show" style="margin: 0px; padding: 0px; width: 45px; font-size: 10px;" onclick="if(this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display != 'inline')
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'inline'; this.innerText = ''; this.value = 'Hide'; }
else
{ this.parentNode.parentNode.getElementsByTagName('div')[1].getElementsByTagName('div')[0].style.display = 'none'; this.innerText = ''; this.value='Show'; }" type="button">
</div>
<div class="alt2" style="border: 1px inset; padding: 6px;">
<div class="spoiler" style="display: none;"><ul><li>Download the plugin by clicking "<font color="blue"><b><u><a href="http://www.amxmodx.o...?file_id=118972" target="_blank">Get Plugin</a></u></b></font>" in "<font color="purple">Attached Files</font>" panel.</li>
</ul><ul><li>Place the plugin in your <font color="red"><b>cstrike/addons/amxmodx/plugins</b></font> folder.</li>
</ul><ul><li>Open your <font color="red"><b>cstrike/addons/amxmodx/configs/plugins.ini</b></font> file and write "<b>ffe.amxx</b>" in <i>new line</i>, only <i>without</i> the quotes.</li>
</ul><ul><li>Open your <font color="red"><b>cstrike/addons/amxmodx/configs/amxx.cfg</b></font> file and write on the end of the file the CVARs that you can change which are listed above.</li>
</ul></div>
</div>
</div></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.../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=118972"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1366805721">Get Source</a> (ffe.sma - 2.0 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

FFE - Flags For Everybody
Temat rozp. Adminek AMXX.PL, 24.04.2013 13:19
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych