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

[ANY] Death Streaks Rewarder/Tracker


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

Napisano 18.08.2014 04:21

<!-- BEGIN TEMPLATE: postbit_external -->
<div>This plugin recreates the Deathstreaks system from Call of Duty<br /><br />To clear up any misconceptions about this plugin, this plugin simply TRACKS deathstreaks (amount of deaths without getting a kill)<br /><br />This plugin is also equipped with natives so you don't have to keep remaking the same death tracking system, over and over again, in many plugins when you have one plugin to do the job for you.<br /><br />Instructions: Simply use any of the natives in any of your RTD/Reward-giving plugins and that's it.<br />Example Code<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: #007700">if&nbsp;(</span><span style="color: #0000BB">GetDeathstreak</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">)&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">5</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">code</span><span style="color: #007700">-</span><span style="color: #0000BB">here</span><span style="color: #007700">;<br />switch&nbsp;(&nbsp;</span><span style="color: #0000BB">GetDeathstreak</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">)&nbsp;)<br />{<br />&nbsp;case&nbsp;</span><span style="color: #FF8000">#:&nbsp;code-here;<br /></span><span style="color: #007700">}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->NATIVES<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;<br />&nbsp;*&nbsp;Returns&nbsp;the&nbsp;deathstreaks&nbsp;of&nbsp;a&nbsp;client.&nbsp;<br />&nbsp;*&nbsp;<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;index.&nbsp;<br />&nbsp;*&nbsp;<br />&nbsp;*&nbsp;@return&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;deathstreaks.&nbsp;<br />&nbsp;*/&nbsp;<br /></span><span style="color: #0000BB">native&nbsp;GetDeathstreak</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">);&nbsp;<br />&nbsp;<br /></span><span style="color: #FF8000">/**&nbsp;<br />&nbsp;*&nbsp;Sets&nbsp;the&nbsp;deathstreaks&nbsp;of&nbsp;a&nbsp;client.&nbsp;<br />&nbsp;*&nbsp;<br />&nbsp;*&nbsp;@param&nbsp;client&nbsp;&nbsp;&nbsp;&nbsp;Client&nbsp;index.&nbsp;<br />&nbsp;*&nbsp;<br />&nbsp;*&nbsp;@param&nbsp;integer&nbsp;&nbsp;&nbsp;&nbsp;int&nbsp;number.&nbsp;<br />&nbsp;*/&nbsp;<br /></span><span style="color: #0000BB">native&nbsp;SetDeathstreak</span><span style="color: #007700">(</span><span style="color: #0000BB">client</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">integer</span><span style="color: #007700">);&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable -->Changelog<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">8</span><span style="color: #007700">/</span><span style="color: #0000BB">17</span><span style="color: #007700">/</span><span style="color: #0000BB">2014&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1.0.1&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">made&nbsp;it&nbsp;workable&nbsp;</span><span style="color: #007700">for&nbsp;</span><span style="color: #0000BB">all&nbsp;games&nbsp;that&nbsp;support&nbsp;sourcemod</span><span style="color: #007700">.<br /></span><span style="color: #0000BB">8</span><span style="color: #007700">/</span><span style="color: #0000BB">17</span><span style="color: #007700">/</span><span style="color: #0000BB">2014&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">1.0.0&nbsp;</span><span style="color: #007700">-&nbsp;</span><span style="color: #0000BB">release&nbsp;
<br /></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</div>
<!-- END TEMPLATE: bbcode_php_printable --></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/inc.gif" alt="File Type: inc" width="16" height="16" border="0" style="vertical-align:baseline" /></td>
<td>


<a href="https://forums.allie...38;d=1408332114">deathstreaks.inc</a> (749 Bytes)


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


<a href="http://www.sourcemod...?file_id=137035"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1408335482">Get Source</a> (deathstreaks.sp - 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