<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Impact"><font color="Purple"><font size="7">Score plugin</font></font></font><br /><font face="Comic Sans MS"><font color="DarkOrange"><font size="5">V2 by H!soK4</font></font></font><br /><br /><br /><font face="Century Gothic"><font size="5"><font color="Red">SurferT</font></font></font> Vs <font size="5"><font color="red"><font color="RoyalBlue">SurferCT</font></font></font><br /><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">#include <amxmodx><br />#include <amxmisc><br />#include <dhudmessage><br /><br />#define PLUGIN "Team Score"<br />#define VERSION "V2"<br />#define AUTHOR "H!soK4"<br /><br />new ct_score, terrorist_score;<br /><br />public plugin_init()<br />{<br /> register_plugin(PLUGIN, VERSION, AUTHOR);<br /> register_event("TeamScore", "team_score", "a");<br /> set_task(1.0,"score_round",_,_,_,"b")<br />}<br /><br />public team_score()<br />{<br /> new team[32];<br /> read_data(1,team,31);<br /> if (equal(team,"CT"))<br /> {<br /> ct_score = read_data(2);<br /> }<br /> else if (equal(team,"TERRORIST"))<br /> {<br /> terrorist_score = read_data(2);<br /> }<br />}<br /> <br />public score_round()<br />{<br /> set_dhudmessage(0, 70, 200, -1.0, 0.0, 0, 0.5, 2.0, 0.08, 2.0, true);<br /> show_dhudmessage(0,"--->SurfersCT:%d| ", ct_score);<br /> <br /> set_dhudmessage(200, 0, 0, -1.0, 0.0, 0, 0.5, 2.0, 0.08, 2.0, true);<br /> show_dhudmessage(0," |%d:surfersT<---", terrorist_score);<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font color="Magenta"><font size="4">description</font></font><br />SG score sma v2 by H!soK4 Can be changed to Any mod knife zm vs human ... :D<br /><br /><font color="Red"><font size="4">Module</font></font><br />amxmodx<br />amxmisc<br />dhudmessage</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=139734"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...38;d=1415663888">Get Source</a> (score.sma - 1.0 KB)
</td>
</tr>
<!-- END TEMPLATE: postbit_attachment -->
</table>
</fieldset>
</div>
<!-- END TEMPLATE: postbit_external -->
Wyświetl pełny artykuł
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.
|
Guest Message by DevFuse
[hud] surf score
Temat rozp. Adminek AMXX.PL, 11.11.2014 00:58
Brak odpowiedzi do tego tematu
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych