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

Knife CFG Detector


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

Napisano 17.04.2015 06:20

<div>My first plugin is here! Knife CFG Detector Version Farhit!<br />Read the description and requirements below:<br /><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">/**<br />&nbsp;* CFG Detector<br />&nbsp;* Farhit Version (20150417)<br />&nbsp;* Requires Fakemeta, Cstrike and fakemeta_util<br />&nbsp;*<br />&nbsp;* Detects distance between attacker &amp; victim using vector positions<br />&nbsp;* You can set a value for max distance for stab or slash and block strange hits.<br />&nbsp;* Recommended to leave settings default<br />&nbsp;*<br />&nbsp;* If a player exceeds max warnings, his/her knife will be stripeed for X seconds (you can set it by yourself)<br />&nbsp;* Also, this plugin shows an alert to all peresent admins on server that a player had a strange distance kill.<br />&nbsp;*<br />&nbsp;* Knife distance code: SchlumPF (https://forums.allie...825597?p=825597)<br />&nbsp;* Edit &amp; Add components: xEhsaan<br />&nbsp;* Thanks to:<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; MohaMMadReZa [Coding advisor &amp; Ideas]<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Emad (The Juggernaut) [Testing]<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; M@eb [Testing]<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Pars-Strike servers [http://pars-strike.ir]<br />&nbsp;*<br />&nbsp;* Console variables:<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_max_ping&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Max ping for a player (more of this value, strange distance is neutral)<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_max_loss&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Max loss for a player<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_max_distance_stab&nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Maximum good distance for stab (not in meters on feet, this is in units)<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_max_distance_slash&nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Same as previous one, but for slash<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_max_warnings&nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Max warnings for player a then strip (0 to disable)<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfd_strip_time&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Time to strip (in seconds) (0 to disable)<br />&nbsp;*<br />&nbsp;* Client commands:<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; say /off&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Makes a player CFG default (50% effect)<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; cfg_reset&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; Same as the previous one<br />&nbsp;*<br />&nbsp;* Console Commands:<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; amx_cfg_reset&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; [ADMIN_BAN] Reset a player CFG manually by admin. Silent parameter if set to 1, a message will be shown to the player about being reset CFG and admin who did this.<br />&nbsp;*&nbsp; &nbsp; &nbsp; &nbsp; amx_strip_knife&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; :&nbsp; &nbsp; &nbsp; &nbsp; [ADMIN_SLAY] Stripes a player knife for X secnods.<br />&nbsp;*/</code><hr />
</div><font size="3">This Version is Version 1.8.3 compatible because of client_print_color.<br />If you want to use it on version 1.8.2, you may have troubles! If you want, you can compile source code with version 1.8.2<br /></font><br />Compiling with 1.8.2:<br />Before start compiling, Open source code and change the header to this:<br /><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">#include&nbsp;&lt;amxmodx&gt;
<br />#include&nbsp;&lt;amxmisc&gt;
<br />#include&nbsp;&lt;cstrike&gt;
<br />#include&nbsp;&lt;fakemeta&gt;
<br />#include&nbsp;&lt;fakemeta_util.inc&gt;
<br />#include&nbsp;&lt;colorchat&gt;
<br />#pragma&nbsp;semicolon&nbsp;1&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>You can find compatible colorchat in this forum.<br /><div align="center">Don't Use AMXX! It's not working! .amxx included for version 1.8.3</div></div>


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








<fieldset class="fieldset">
<legend>Attached Files</legend>
<table cellpadding="0" cellspacing="3" border="0">
<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...90"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1429247894">GetSource</a> (cfg_detector_v2.sma - 12.2 KB)

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


<a href="https://forums.allie..._v1.8.3.zip</a>(12.0 KB)


</td>
</tr>
</table>
</fieldset>


</div>

Wyświetl pełny artykuł




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

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