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

Round Start Money (colored)


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

Napisano 11.12.2014 12:12

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font size="6"><b>Round Money Colored <br /></b><font size="2">Author : Gullu Bhai<br />Version : 1.0<br /><br />Description : The Start Money Will come in color <br />Use </font></font><font size="6"><font size="2"><font color="lime">!g = Green </font></font></font><font size="6"><font size="2"><font color="lime"><font color="yellow">!n = Normal</font></font><font color="red"> !t = Team </font></font></font>In round_money.txt file<br /><font size="6"><font size="2"><font color="red"><br /></font> Cvars: round_money (default:16000)<br /><br />Credits : Conor MC</font></font><font size="6"><font size="4"><font size="3"><font size="2">Leod (colorchat.inc)<br /><br />Installation : 1. Add round_money.amxx to cstrike/addons/amxmodx/plugins folder<br /> 2. Add round_money.sma to </font></font></font></font><font size="6"><font size="4"><font size="3"><font size="2">cstrike/addons/amxmod/scripting folder<br /></font></font></font></font> 3. put the round_money.txt to cstrike/addons/amxmodx/data/lang folder <br /> 4. Add Colorchat.inc to <font size="6"><font size="4"><font size="3"><font size="2">cstrike/addons/amxmod/scripting/include folder</font></font></font></font><br /><br /><img src="http://i.imgur.com/Pm9kXvM.jpg"border="0" alt="" /><br /><br /><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">#include&nbsp;&lt;amxmodx&gt;<br />#include&nbsp;&lt;amxmisc&gt;<br />#include&nbsp;&lt;cstrike&gt;<br />#include&nbsp;&lt;colorchat&gt;<br /><br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">MONEY</span><span style="color: #007700">;<br /><br />public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #DD0000">"round_money(colored)"</span><span style="color: #007700">,</span><span style="color: #DD0000">"1.0"</span><span style="color: #007700">,</span><span style="color: #DD0000">"Gullu&nbsp;Bhai"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">MONEY&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">register_cvar</span><span style="color: #007700">(</span><span style="color: #DD0000">"round_money"</span><span style="color: #007700">,</span><span style="color: #DD0000">"16000"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*&nbsp;Register&nbsp;LANG&nbsp;file&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_dictionary_colored</span><span style="color: #007700">(</span><span style="color: #DD0000">"round_money.txt"</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">register_logevent</span><span style="color: #007700">(</span><span style="color: #DD0000">"new_round"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1=Round_Start"</span><span style="color: #007700">)<br />}<br />public&nbsp;</span><span style="color: #0000BB">new_round</span><span style="color: #007700">()<br />{<br />&nbsp;&nbsp;&nbsp;&nbsp;new&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">],&nbsp;</span><span style="color: #0000BB">playerCount</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">i</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">player</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pMoney</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">pMoney&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">get_pcvar_num</span><span style="color: #007700">(</span><span style="color: #0000BB">MONEY</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">get_players</span><span style="color: #007700">(</span><span style="color: #0000BB">players</span><span style="color: #007700">,</span><span style="color: #0000BB">playerCount</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;for(</span><span style="color: #0000BB">i</span><span style="color: #007700">=</span><span style="color: #0000BB">0</span><span style="color: #007700">;</span><span style="color: #0000BB">i</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">playerCount</span><span style="color: #007700">;</span><span style="color: #0000BB">i</span><span style="color: #007700">++)<br />&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">player&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">players</span><span style="color: #007700">[</span><span style="color: #0000BB">i</span><span style="color: #007700">];<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if(</span><span style="color: #0000BB">cs_get_user_money</span><span style="color: #007700">(</span><span style="color: #0000BB">player</span><span style="color: #007700">)&nbsp;&lt;&nbsp;</span><span style="color: #0000BB">pMoney</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">cs_set_user_money</span><span style="color: #007700">(</span><span style="color: #0000BB">player</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">pMoney</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">client_print_color</span><span style="color: #007700">(</span><span style="color: #0000BB">player</span><span style="color: #007700">,</span><span style="color: #0000BB">print_chat</span><span style="color: #007700">,</span><span style="color: #DD0000">"%L"</span><span style="color: #007700">,</span><span style="color: #0000BB">LANG_PLAYER</span><span style="color: #007700">,</span><span style="color: #DD0000">"MONEY_AMOUNT"</span><span style="color: #007700">,</span><span style="color: #0000BB">pMoney</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br />&nbsp;&nbsp;&nbsp;&nbsp;}&nbsp;<br />}<br /><br /></span><span style="color: #FF8000">/*&nbsp;AMXX-Studio&nbsp;Notes&nbsp;-&nbsp;DO&nbsp;NOT&nbsp;MODIFY&nbsp;BELOW&nbsp;HERE<br />*{\&nbsp;rtf1\&nbsp;ansi\&nbsp;deff0{\&nbsp;fonttbl{\&nbsp;f0\&nbsp;fnil&nbsp;Tahoma;}}n\&nbsp;viewkind4\&nbsp;uc1\&nbsp;pard\&nbsp;lang1033\&nbsp;f0\&nbsp;fs16&nbsp;n\&nbsp;par&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 --></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...59"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1418296168">GetSource</a> (round_money.sma - 935 Bytes)

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


<a href="https://forums.allie...d_money.txt</a>(431 Bytes)


</td>
</tr>
<!-- END TEMPLATE: postbit_attachment --><!-- 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...lorchat.inc</a>(4.9 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