Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

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

FFE - Flags For Everybody


  • 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:7173
  • Lokalizacja:AMXX.PL
Offline

Napisano 24.04.2013 13:19

<!-- 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&nbsp;</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #FF8000">//&nbsp;Plugin&nbsp;itself&nbsp;on/off.&nbsp;1&nbsp;-&nbsp;on.&nbsp;0&nbsp;-&nbsp;off.<br /></span><span style="color: #0000BB">ffe_flags&nbsp;</span><span style="color: #DD0000">"mnopqrst"&nbsp;</span><span style="color: #FF8000">//&nbsp;Flags&nbsp;to&nbsp;be&nbsp;given&nbsp;for&nbsp;everybody.&nbsp;You&nbsp;can&nbsp;change&nbsp;them.&nbsp;Flags&nbsp;are&nbsp;listed&nbsp;below.&nbsp;
<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 />&nbsp;&nbsp;&nbsp;&nbsp;Flags:<br />&nbsp;&nbsp;&nbsp;&nbsp;a&nbsp;-&nbsp;immunity&nbsp;(can't&nbsp;be&nbsp;kicked/baned/slayed/slaped&nbsp;and&nbsp;affected&nbsp;by&nbsp;other&nbsp;commmands)<br />&nbsp;&nbsp;&nbsp;&nbsp;b&nbsp;-&nbsp;reservation&nbsp;(can&nbsp;join&nbsp;on&nbsp;reserved&nbsp;slots)<br />&nbsp;&nbsp;&nbsp;&nbsp;c&nbsp;-&nbsp;amx_kick&nbsp;command<br />&nbsp;&nbsp;&nbsp;&nbsp;d&nbsp;-&nbsp;amx_ban&nbsp;and&nbsp;amx_unban&nbsp;commands<br />&nbsp;&nbsp;&nbsp;&nbsp;e&nbsp;-&nbsp;amx_slay&nbsp;and&nbsp;amx_slap&nbsp;commands<br />&nbsp;&nbsp;&nbsp;&nbsp;f&nbsp;-&nbsp;amx_map&nbsp;command<br />&nbsp;&nbsp;&nbsp;&nbsp;g&nbsp;-&nbsp;amx_cvar&nbsp;command&nbsp;(not&nbsp;all&nbsp;cvars&nbsp;will&nbsp;be&nbsp;available)<br />&nbsp;&nbsp;&nbsp;&nbsp;h&nbsp;-&nbsp;amx_cfg&nbsp;command<br />&nbsp;&nbsp;&nbsp;&nbsp;i&nbsp;-&nbsp;amx_chat&nbsp;and&nbsp;other&nbsp;chat&nbsp;commands<br />&nbsp;&nbsp;&nbsp;&nbsp;j&nbsp;-&nbsp;amx_vote&nbsp;and&nbsp;other&nbsp;vote&nbsp;commands<br />&nbsp;&nbsp;&nbsp;&nbsp;k&nbsp;-&nbsp;access&nbsp;to&nbsp;sv_password&nbsp;cvar&nbsp;(by&nbsp;amx_cvar&nbsp;command)<br />&nbsp;&nbsp;&nbsp;&nbsp;l&nbsp;-&nbsp;access&nbsp;to&nbsp;amx_rcon&nbsp;command&nbsp;and&nbsp;rcon_password&nbsp;cvar&nbsp;(by&nbsp;amx_cvar&nbsp;command)<br />&nbsp;&nbsp;&nbsp;&nbsp;m&nbsp;-&nbsp;custom&nbsp;level&nbsp;A&nbsp;(for&nbsp;additional&nbsp;plugins)<br />&nbsp;&nbsp;&nbsp;&nbsp;n&nbsp;-&nbsp;custom&nbsp;level&nbsp;B<br />&nbsp;&nbsp;&nbsp;&nbsp;o&nbsp;-&nbsp;custom&nbsp;level&nbsp;C<br />&nbsp;&nbsp;&nbsp;&nbsp;p&nbsp;-&nbsp;custom&nbsp;level&nbsp;D<br />&nbsp;&nbsp;&nbsp;&nbsp;q&nbsp;-&nbsp;custom&nbsp;level&nbsp;E<br />&nbsp;&nbsp;&nbsp;&nbsp;r&nbsp;-&nbsp;custom&nbsp;level&nbsp;F<br />&nbsp;&nbsp;&nbsp;&nbsp;s&nbsp;-&nbsp;custom&nbsp;level&nbsp;G<br />&nbsp;&nbsp;&nbsp;&nbsp;t&nbsp;-&nbsp;custom&nbsp;level&nbsp;H<br />&nbsp;&nbsp;&nbsp;&nbsp;u&nbsp;-&nbsp;menu&nbsp;access<br />*/&nbsp;
<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 &quot;<font color="blue"><b><u><a href="http://www.amxmodx.o...?file_id=118972" target="_blank">Get Plugin</a></u></b></font>&quot; in &quot;<font color="purple">Attached Files</font>&quot; 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 &quot;<b>ffe.amxx</b>&quot; 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ł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych