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

Aim-Info by SEMO.Pa3x


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

Napisano 12.10.2016 09:00

<div><div align="center"><font color="Red"><font size="7"><font face="Arial Black"><b>Aim Info<br /><font size="4"><font color="DarkRed">Name, Health, Armor, Country<br /><br /><br /></font></font></b></font></font></font></div><font size="3"><font color="DarkSlateGray"><b><font face="Arial"><font color="Red">| Description:</font><br />this plugin allows you to view information (<font color="Red">friends </font>/ <font color="Red">enemies</font>)<br />when you put the c</font></b></font></font><b><font face="Arial"><font size="3"><font color="DarkSlateGray">ursor on the head.</font></font></font><font face="Arial"><font size="3"><font color="DarkSlateGray"><br />[ Health: <font color="Red">%d</font> | Armor: <font color="Red">%d</font> | Country: <font color="Red">%s</font> ]<br />CT = <font color="Blue">Blue </font>, T = <font color="Red">Red </font>:grrr:.<br /></font></font></font></b><br /><b><font face="Arial"><font size="3"><font color="DarkSlateGray"><font size="3"><font color="DarkSlateGray"><b><font face="Arial"><font color="Red">| Screenshot:<br /><br /><img src="http://i.imgur.com/RAY49Pi.png"border="0" alt="" /><br /><br /></font></font></b></font></font></font></font></font></b><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;generated&nbsp;by&nbsp;AMXX-Studio&nbsp;*/<br /><br />#include&nbsp;&lt;amxmodx&gt;<br />#include&nbsp;&lt;amxmisc&gt;<br />#include&nbsp;&lt;cstrike&gt;<br />#include&nbsp;&lt;geoip&gt;<br /><br />#define&nbsp;PLUGIN&nbsp;"Aim-Info"<br />#define&nbsp;VERSION&nbsp;"1.0"<br />#define&nbsp;AUTHOR&nbsp;"SEMO.Pa3x"<br /><br /></span><span style="color: #007700">new&nbsp;</span><span style="color: #0000BB">g_aimsttt</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_aimstct<br /><br /></span><span style="color: #007700">public&nbsp;</span><span style="color: #0000BB">plugin_init</span><span style="color: #007700">()<br />{<br /></span><span style="color: #0000BB">register_plugin</span><span style="color: #007700">(</span><span style="color: #0000BB">PLUGIN</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">VERSION</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">AUTHOR</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">g_aimsttt&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateHudSyncObj</span><span style="color: #007700">()<br /></span><span style="color: #0000BB">g_aimstct&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">CreateHudSyncObj</span><span style="color: #007700">()<br /></span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"StatusValue"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"event_show_status"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"be"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1=2"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2!0"</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">register_event</span><span style="color: #007700">(</span><span style="color: #DD0000">"StatusValue"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"event_hide_status"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"be"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"1=1"</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"2=0"</span><span style="color: #007700">)<br />}&nbsp;<br /><br /><br />public&nbsp;</span><span style="color: #0000BB">event_show_status</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br />if&nbsp;(!</span><span style="color: #0000BB">is_user_alive</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">))<br />return;&nbsp;<br />new&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">[</span><span style="color: #0000BB">32</span><span style="color: #007700">]<br />new&nbsp;</span><span style="color: #0000BB">iData&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">read_data</span><span style="color: #007700">(</span><span style="color: #0000BB">2</span><span style="color: #007700">);<br /></span><span style="color: #0000BB">get_user_name</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">szName</span><span style="color: #007700">))<br />static&nbsp;</span><span style="color: #0000BB">sz_ip</span><span style="color: #007700">[</span><span style="color: #0000BB">16</span><span style="color: #007700">],</span><span style="color: #0000BB">sz_country</span><span style="color: #007700">[</span><span style="color: #0000BB">20</span><span style="color: #007700">]<br /></span><span style="color: #0000BB">get_user_ip</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">,</span><span style="color: #0000BB">sz_ip</span><span style="color: #007700">,</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">sz_ip</span><span style="color: #007700">),</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">geoip_country</span><span style="color: #007700">(</span><span style="color: #0000BB">sz_ip</span><span style="color: #007700">,</span><span style="color: #0000BB">sz_country</span><span style="color: #007700">,</span><span style="color: #0000BB">charsmax</span><span style="color: #007700">(</span><span style="color: #0000BB">sz_country</span><span style="color: #007700">))<br />if(</span><span style="color: #0000BB">cs_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">CS_TEAM_T</span><span style="color: #007700">)<br />{<br /></span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">20</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">20</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.60</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.2</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">ShowSyncHudMsg</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_aimsttt</span><span style="color: #007700">,</span><span style="color: #DD0000">"%s&nbsp;^n[&nbsp;Health:&nbsp;%d&nbsp;|&nbsp;Armor:&nbsp;%d&nbsp;|&nbsp;Country:&nbsp;%s&nbsp;]"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_user_health</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">get_user_armor</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">sz_country</span><span style="color: #007700">);<br />}<br />if(</span><span style="color: #0000BB">cs_get_user_team</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">)&nbsp;==&nbsp;</span><span style="color: #0000BB">CS_TEAM_CT</span><span style="color: #007700">)<br />{<br /></span><span style="color: #0000BB">set_hudmessage</span><span style="color: #007700">(</span><span style="color: #0000BB">20</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">20</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">255</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.60</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1.0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.2</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0.2</span><span style="color: #007700">,&nbsp;-</span><span style="color: #0000BB">1</span><span style="color: #007700">)&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #0000BB">ShowSyncHudMsg</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_aimstct</span><span style="color: #007700">,</span><span style="color: #DD0000">"%s&nbsp;^n[&nbsp;Health:&nbsp;%d&nbsp;|&nbsp;Armor:&nbsp;%d&nbsp;|&nbsp;Country:&nbsp;%s&nbsp;]"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">szName</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">get_user_health</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">get_user_armor</span><span style="color: #007700">(</span><span style="color: #0000BB">iData</span><span style="color: #007700">),&nbsp;</span><span style="color: #0000BB">sz_country</span><span style="color: #007700">);<br />}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />}<br /><br />public&nbsp;</span><span style="color: #0000BB">event_hide_status</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">)<br />{<br /></span><span style="color: #0000BB">ClearSyncHud</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_aimsttt</span><span style="color: #007700">)<br /></span><span style="color: #0000BB">ClearSyncHud</span><span style="color: #007700">(</span><span style="color: #0000BB">id</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">g_aimstct</span><span style="color: #007700">)<br />}&nbsp;
<br /></span><span style="color: #0000BB"></span>
</span>
</code><!-- php buffer end -->
</div>
</code>
<hr />
</div>
</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...05"><strong>GetPlugin</strong></a> or
<a href="https://forums.allie...1476259133">GetSource</a> (Aim-Info.sma - 1.4 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