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

Filter Connection


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

Napisano 04.08.2013 01:29

<!-- BEGIN TEMPLATE: postbit_external -->
<div><b><font size="4">Filter Connection</font></b><br /><br /><u>Description:</u><br />With this plugin you can choose who player can connect to the server by steamid.<br />Players that not have your steamid in steamid list will be kicked.<br />This plugin is nice to use when you want to make a championship or a mix game.<br /><br /><u>Credits:</u><br />SQLx Tutorial by Hawk552 - <a href="https://forums.allie...ead.php?t=46779" target="_blank">https://forums.allie...?t=46779</a><br />Tries Tutorial by guipatinador - <a href="https://forums.alliedmods.net/showthread.php?t=201872" target="_blank">https://forums.allie...t=201872</a><br /><br /><u>Kick message:</u><br /><img src="https://forums.alliedmods.net/attachment.php?attachmentid=123705&amp;stc=1&amp;d=1375576019" border="0" alt="" /><br /><br /><u>Configuration:</u><br />If you want to clear connection to admin configure .sma file.<br /><br />Mysql - Just open the plugin (.sma), activate mysql, configure host,user,etc. and compile.<br /><br />&quot;FilterConnection.sma&quot;<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;Configuration&nbsp;of&nbsp;Plugin&nbsp;============================&nbsp;//
<br />//&nbsp;====================================================&nbsp;//
<br />//&nbsp;Remove&nbsp;"//"&nbsp;below&nbsp;to&nbsp;clear&nbsp;pass&nbsp;for&nbsp;admins.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//
<br />//#define&nbsp;ADMINCLEARPASS
<br />//////////////////////////////////////////////////////////
<br />//&nbsp;Remove&nbsp;"//"&nbsp;below&nbsp;to&nbsp;ability&nbsp;mysql&nbsp;otherwise&nbsp;file.&nbsp;&nbsp;&nbsp;//
<br />//#include&nbsp;&lt;sqlx&gt;
<br />//////////////////////////////////////////////////////////
<br />#if&nbsp;defined&nbsp;_sqlx_included&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//
<br />//////////////////////////////////////////////////////////
<br />//&nbsp;If&nbsp;you&nbsp;activated&nbsp;mysql&nbsp;configure&nbsp;this!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//
<br />#define&nbsp;&nbsp;&nbsp;&nbsp;HOST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;""
<br />#define&nbsp;&nbsp;&nbsp;&nbsp;USER&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;""
<br />#define&nbsp;&nbsp;&nbsp;&nbsp;PASS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;""
<br />#define&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;""
<br />//////////////////////////////////////////////////////////&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->File - Put &quot;filterconnection.list.ini&quot; on your configs directory (Like &quot;addonsamxmodxconfigsfilterconnection.list .ini&quot;) and write the steamid's that can connect to the server.<br /><br />&quot;filterconnection.list.ini&quot;<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">//&nbsp;Plugin&nbsp;Filter&nbsp;Connection&nbsp;by&nbsp;Mauricio&nbsp;Frb.
<br />//
<br />//&nbsp;-&nbsp;Put&nbsp;here&nbsp;the&nbsp;list&nbsp;of&nbsp;steamid&nbsp;(one&nbsp;per&nbsp;line&nbsp;and&nbsp;without&nbsp;"//").
<br />//&nbsp;Ex:
<br />//&nbsp;STEAM_ID_LAN
<br />//&nbsp;STEAM_2:3:123456
<br />//&nbsp;STEAM_2:3:456123&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --><u>Changelog:</u><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">1.0 - First release.</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --></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=1375576031" rel="Lightbox_2005113" id="attachment123705"><img class="thumbnail" src="https://forums.alliedmods.net/attachment.php?attachmentid=123705&amp;stc=1&amp;thumb=1&amp;d=1375576031" border="0" alt="Click image for larger version

Name: kickmessage.png
Views: N/A
Size: 14.8 KB
ID: 123705" /></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=123701"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1375575589">Get Source</a> (FilterConnection.sma - 4.1 KB)

</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- BEGIN TEMPLATE: postbit_attachment -->
<tr>
<td><img class="inlineimg" src="https://forums.allie.../attach/ini.gif" alt="File Type: ini" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1375575592">filterconnection.list.ini</a> (183 Bytes)


</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