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

Point-Box


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

Napisano 10.11.2014 20:31

<!-- BEGIN TEMPLATE: postbit_external -->
<div><font face="Comic Sans MS"><font size="7"><font color="DeepSkyBlue">Point-Box</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 &lt;amxmodx&gt;<br />#include &lt;amxmisc&gt;<br />#include &lt;cstrike&gt;<br />#include &lt;dhudmessage&gt;<br />#include &lt;csx&gt;<br />#include &lt;fakemeta&gt;<br />#include &lt;fakemeta_util&gt;<br />#include &lt;fun&gt;<br />#include &lt;xs&gt;<br />#include &lt;nvault&gt;<br />#include &lt;engine&gt;<br /><br />#define FLAG_ADMIN_FULL_NADES ADMIN_LEVEL_H<br />#define ADMIN_ACCESS ADMIN_BAN<br />#define ADMIN_LEVEL ADMIN_MAP<br /><br />#define PLUGIN&nbsp; &quot;PBOX&quot;<br />#define AUTHOR&nbsp; &quot;H!soK4&quot;<br />#define VERSION &quot;1.0&quot;<br /><br /><br /><br /><br />enum (+= 100)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; TASK_MESAJHUD<br />}<br />//////////////////////<br />const PEV_SPEC_TARGET = pev_iuser2;<br />new HuDForEver<br />new g_status_sync;<br />new g_friend[ 33 ];<br />///////////////////////<br /><br />#define ID_HUD (taskid - TASK_MESAJHUD)<br /><br />new PlayerCredits[10000], retrase[33];<br />new Vault, SymbolsName, savepoints;<br /><br />public plugin_init() {&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; register_plugin(PLUGIN,VERSION,AUTHOR)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_forward(FM_ClientUserInfoChanged, &quot;ChangeName&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; SymbolsName = register_cvar(&quot;fr_name_symbols&quot;, &quot;`&quot;);&nbsp; &nbsp; &nbsp; &nbsp; //| Symbols Name Restricted |//&nbsp; &nbsp; &nbsp; &nbsp; biohazardshopmod = register_cvar(&quot;bh_shop_mode&quot;, &quot;1&quot;);&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //| Money/Points 0 Money Tax -&gt; 1 Points Tax |//<br />&nbsp; &nbsp; &nbsp; &nbsp; savepoints = register_cvar(&quot;fr_save_points&quot;, &quot;1&quot;);&nbsp; &nbsp; &nbsp; &nbsp; //| Save Points Mode 0 Disable -&gt; 1 Name -&gt; 2 IP -&gt; 3 SteamID |//<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;depozit&quot;,&quot;Depozit&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_logevent(&quot;round_start&quot;, 2, &quot;1=Round_Start&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /depozit&quot;,&quot;Depozit&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say_team /depozit&quot;,&quot;Depozit&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;retrage&quot;,&quot;Retrage&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /retrage&quot;,&quot;Retrage&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say_team /retrage&quot;,&quot;Retrage&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say_team /credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say_team /credite&quot;,&quot;Show_Credits&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;g_p&quot;, &quot;Give_Credits&quot;, ADMIN_IMMUNITY, &quot;&lt;Name&gt; &lt;@All&gt; &gt;point&gt;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; register_concmd(&quot;r_p&quot;, &quot;Reset_Credits&quot;, ADMIN_IMMUNITY, &quot;Name/@T/@CT/@All&quot;);<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;DeathMsg&quot;, &quot;eDeath&quot;, &quot;a&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; <br /><br />//////////////////////////////////////////////////////////////////<br />set_task ( 1.0, &quot;Simple&quot;,_,_,_,&quot;b&quot; ); <br />register_plugin(&quot;CS Misc. Stats&quot;, &quot;0.1&quot;, &quot;AMXX Dev Team&quot;)<br />register_event(&quot;StatusValue&quot;, &quot;setTeam&quot;, &quot;be&quot;, &quot;1=1&quot;)<br />register_event(&quot;StatusValue&quot;, &quot;showStatus&quot;, &quot;be&quot;, &quot;1=2&quot;, &quot;2!0&quot;)<br />register_event(&quot;StatusValue&quot;, &quot;hideStatus&quot;, &quot;be&quot;, &quot;1=1&quot;, &quot;2=0&quot;)<br /><br />g_status_sync = CreateHudSyncObj();<br />///////////////////////////////////////////////////////////////////<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />/////////////////////////////////////////////////////////////////////////<br />public Simple (id) {<br />&nbsp; &nbsp; new szName[32]<br />&nbsp; &nbsp; get_user_name(id,szName, 31)<br />&nbsp; &nbsp; if (is_user_alive(id))<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; set_hudmessage(0,255,0,-1.0,0.80,1, 0.01, 3.0, 0.01, 0.01, 4);<br />&nbsp; &nbsp; show_hudmessage ( id, &quot;&quot;);<br />&nbsp; }<br />&nbsp; &nbsp; else<br />&nbsp; {<br />&nbsp; new Spec;<br />&nbsp; new PlayerName[32];<br />&nbsp; Spec = pev(id, PEV_SPEC_TARGET);<br />&nbsp; get_user_name(Spec, PlayerName, 31);<br />&nbsp; set_hudmessage(0,0,255,-1.0,0.79,1, 0.01, 3.0, 0.01, 0.01, 4);<br />&nbsp; ShowSyncHudMsg( id,HuDForEver,&quot;Spectating: %s ^n[ Health: %d | Points Box : %d ]&quot;, PlayerName, get_user_health(Spec), PlayerCredits[Spec]);<br />&nbsp; }<br />}&nbsp; <br />/////////////////////////////////////////////////////////////////////////<br />public setTeam(id)<br />g_friend[id] = read_data(2)<br /><br />public showStatus(id)<br />{<br />if(!is_user_bot(id) &amp;&amp; is_user_connected(id))<br />{<br />new name[32], pid = read_data(2)<br /><br />get_user_name(pid, name, 31)<br />new color1 = 0, color2 = 0<br /><br />if (get_user_team(pid) == 1)<br />color1 = 250<br />else<br />color2 = 253<br />if (g_friend[id] == 1) // friend<br />{<br />new clip, ammo, wpnid = get_user_weapon(pid, clip, ammo)<br />new wpnname[32]<br /><br />if (wpnid)<br />xmod_get_wpnname(wpnid, wpnname, 31)<br /><br />set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)<br />ShowSyncHudMsg(id, g_status_sync, &quot;%s ^n[ Health : %d | Points Box : %d ]&quot;, name, get_user_health(pid), PlayerCredits[pid])<br />} else {<br />set_hudmessage(color1, 50, color2, -1.0, 0.60, 1, 0.01, 3.0, 0.01, 0.01, -1)<br />ShowSyncHudMsg(id, g_status_sync, &quot;%s ^n[ Health : %d | Points Box : %d ]&quot;, name, get_user_health(pid), PlayerCredits[pid])<br />}<br />}<br />}<br /><br />public hideStatus(id)<br />ClearSyncHud(id, g_status_sync);<br />/////////////////////////////////////////////////////////////////////////<br />public plugin_natives() {<br />&nbsp; &nbsp; &nbsp; &nbsp; register_native(&quot;get_user_credits&quot;, &quot;get_user_credits&quot;, 1);<br />&nbsp; &nbsp; &nbsp; &nbsp; register_native(&quot;set_user_credits&quot;, &quot;set_user_credits&quot;, 1);<br />}<br />public set_user_credits(id, credits) {<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] = credits;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />public get_user_credits(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return PlayerCredits[id]<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />public client_putinserver(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; LoadCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; retrase[id] = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; set_task(180.0, &quot;give_credits&quot;, id, _, _, &quot;b&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; set_task(1.0, &quot;MesajHUD&quot;, id+TASK_MESAJHUD, _, _, &quot;b&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />public client_authorized(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; LoadCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />public client_connected(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; LoadCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />public client_disconnect(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; remove_task(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; retrase[id] = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; remove_task(id+TASK_MESAJHUD)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public give_credits(id)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] += 0<br />}<br /><br />public bomb_planted(id)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; new nume[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, nume, 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] += 0<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(0, &quot;&quot;, nume);<br />}<br /><br />public bomb_explode(id)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; new nume[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, nume, 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] += 0<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(0, &quot;&quot;, nume);<br />}<br /><br />public bomb_defused(id)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; new nume[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, nume, 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] += 0<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(0, &quot;&quot;, nume);<br />}<br /><br />public round_start()<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; static id;<br />&nbsp; &nbsp; &nbsp; &nbsp; for (id = 1; id &lt;= get_maxplayers(); id++)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(is_user_alive(id))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; retrase[id] = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}<br /><br />public MesajHUD(taskid)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; static id<br />&nbsp; &nbsp; &nbsp; &nbsp; id = ID_HUD;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; id = pev(id, pev_iuser2)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_alive(id))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; if(id != ID_HUD)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new nume[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, nume, 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_dhudmessage(125 ,38 , 205 ,-1.0,0.79,1, 6.0, 1.1, 0.0, 0.0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_dhudmessage(ID_HUD, &quot;Spectating: %s ^n[Health: %d | Points Box : %d]&quot;, nume, pev(id, pev_health), PlayerCredits[id])<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_dhudmessage(random(256), random(255), random(250),-1.0, 0.9, 0, 6.0, 1.1, 0.0, 0.0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; show_dhudmessage(ID_HUD, &quot;| xxx |^n[Health: %d | Points Box : %d]&quot;, pev(ID_HUD, pev_health), PlayerCredits[id])<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />//------| Change Name |------//<br />public ChangeName(id, buffer) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(id))<br />&nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; static Name[32], Val[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, Name, sizeof Name - 1);<br />&nbsp; &nbsp; &nbsp; &nbsp; engfunc(EngFunc_InfoKeyValue, buffer, &quot;name&quot;, Val, sizeof Val - 1);<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; if(equal(Val, Name))<br />&nbsp; &nbsp; &nbsp; &nbsp; return FMRES_IGNORED;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; set_task(0.2, &quot;client_connect&quot;, id);<br />&nbsp; &nbsp; &nbsp; &nbsp; return FMRES_SUPERCEDE;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />//------| Client connect |------//&nbsp; &nbsp; &nbsp; &nbsp; <br />public client_connect(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; static sName[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, sName, sizeof sName - 1);<br />&nbsp; &nbsp; &nbsp; &nbsp; static sChars[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_pcvar_string(SymbolsName, sChars, sizeof sChars - 1);&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0 ; i &lt; strlen(sName) ; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; for(new j = 0 ; j &lt; strlen(sChars) ; j++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(sName[i] == sChars[j]) {<br />&nbsp; &nbsp; &nbsp; &nbsp; server_cmd(&quot;kick #%d ^&quot;Numele tau contine caractere nepermise.^&quot;&quot;, get_user_userid(id));<br />&nbsp; &nbsp; &nbsp; &nbsp; break;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; LoadCredits(id);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public Depozit(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(cs_get_user_team(id) == CS_TEAM_SPECTATOR) return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; if(cs_get_user_money(id) == 0) {<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] += 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; cs_set_user_money(id, 0);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else {<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public Retrage(id) <br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; if(cs_get_user_team(id) == CS_TEAM_SPECTATOR)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; if(cs_get_user_money(id) == 0) <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else if(PlayerCredits[id]) <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(retrase[id] &lt; 3)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] -= 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; cs_set_user_money(id, 0);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; retrase[id]++<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else <br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;);&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />}<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public Show_Credits(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; set_hudmessage(0, 128, 0, 0.03, 0.86, 2, 6.0, 5.0);<br />&nbsp; &nbsp; &nbsp; &nbsp; show_hudmessage(id, &quot;Ai %d credite.&quot;, PlayerCredits[id]);<br />&nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, &quot;&quot;, PlayerCredits[id]);<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public Give_Credits(id, level, cid) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!cmd_access(id, level, cid, 2)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; new arg[23], gplayers[32], num, i, players, name[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, 31);<br />&nbsp; &nbsp; &nbsp; &nbsp; read_argv(1, arg, 23);<br />&nbsp; &nbsp; &nbsp; &nbsp; new give_credits[5];<br />&nbsp; &nbsp; &nbsp; &nbsp; read_argv(2, give_credits, charsmax(give_credits));<br />&nbsp; &nbsp; &nbsp; &nbsp; new Credits = str_to_num(give_credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; if(equali(arg, &quot;@T&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;e&quot;, &quot;TERRORIST&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] += Credits;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; else if(equali(arg, &quot;@CT&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;e&quot;, &quot;CT&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] += Credits;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; if(equali(arg, &quot;@All&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;a&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] += Credits;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; new player = cmd_target(id, arg, 11);<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!player) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[player] += Credits;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(player, &quot;&quot;, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(player, &quot;&quot;, name, Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />public Reset_Credits(id, level, cid) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!cmd_access(id, level, cid, 2)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; new arg[23], gplayers[32], num, i, players, name[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id, name, 31);<br />&nbsp; &nbsp; &nbsp; &nbsp; read_argv(1, arg, 23);<br />&nbsp; &nbsp; &nbsp; &nbsp; if(equali(arg, &quot;@T&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;e&quot;, &quot;TERRORIST&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; else if(equali(arg, &quot;@CT&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;e&quot;, &quot;CT&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; if(equali(arg, &quot;@All&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; get_players(gplayers, num, &quot;a&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; for(i = 0; i &lt; num; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; players = gplayers[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(players))<br />&nbsp; &nbsp; &nbsp; &nbsp; continue;<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[players] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(0, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(0, &quot;&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; new player = cmd_target(id, arg, 11);<br />&nbsp; &nbsp; &nbsp; &nbsp; if(!player) {<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[player] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; SaveCredits(id)<br />&nbsp; &nbsp; &nbsp; &nbsp; switch(get_cvar_num(&quot;amx_show_activity&quot;)) {<br />&nbsp; &nbsp; &nbsp; &nbsp; case 1: ColorChat(player, &quot;&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: ColorChat(player, &quot;&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />//------| Save Credits |------//<br />public SaveCredits(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; Vault = nvault_open(&quot;DepozitCredits&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; new data_credits[256], key_credits[64];<br />&nbsp; &nbsp; &nbsp; &nbsp; switch( get_pcvar_num(savepoints) ) { <br />&nbsp; &nbsp; &nbsp; &nbsp; case 1:&nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; new name[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id,name,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: {<br />&nbsp; &nbsp; &nbsp; &nbsp; new player_ip[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_ip(id,player_ip,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, player_ip);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; case 3: {<br />&nbsp; &nbsp; &nbsp; &nbsp; new steam_ID[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id,steam_ID,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, steam_ID);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; format(data_credits, 255, &quot;%i#&quot;, PlayerCredits[id]);<br />&nbsp; &nbsp; &nbsp; &nbsp; nvault_set(Vault, key_credits, data_credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />//------| Loading Credits |------//<br />public LoadCredits(id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; Vault = nvault_open(&quot;DepozitCredits&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; new data_credits[256], key_credits[64];<br />&nbsp; &nbsp; &nbsp; &nbsp; switch( get_pcvar_num(savepoints) )&nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; case 1:&nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; new name[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_name(id,name,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, name);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; case 2: {<br />&nbsp; &nbsp; &nbsp; &nbsp; new player_ip[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_ip(id,player_ip,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, player_ip);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; case 3: {<br />&nbsp; &nbsp; &nbsp; &nbsp; new steam_ID[33];<br />&nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id,steam_ID,32);<br />&nbsp; &nbsp; &nbsp; &nbsp; format(key_credits, 63, &quot;%s-/&quot;, steam_ID);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; format(data_credits, 255, &quot;%i#&quot;, PlayerCredits[id]);<br />&nbsp; &nbsp; &nbsp; &nbsp; nvault_get(Vault, key_credits, data_credits, 255);<br />&nbsp; &nbsp; &nbsp; &nbsp; replace_all(data_credits, 255, &quot;#&quot;, &quot; &quot;);<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; new Credits[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; parse(data_credits, Credits, 31);<br />&nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[id] = str_to_num(Credits);<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE;<br />&nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; <br />stock ColorChat(const id, const input[], any:...) {<br />&nbsp; &nbsp; &nbsp; &nbsp; new count = 1, players[32];<br />&nbsp; &nbsp; &nbsp; &nbsp; static msg[191];<br />&nbsp; &nbsp; &nbsp; &nbsp; vformat(msg, 190, input, 3);<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, 190, &quot;!x04&quot;, &quot;^4&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, 190, &quot;!x01&quot;, &quot;^1&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; replace_all(msg, 190, &quot;!x03&quot;, &quot;^3&quot;);<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; if(id) players[0] = id;<br />&nbsp; &nbsp; &nbsp; &nbsp; else get_players(players, count, &quot;ch&quot;); {<br />&nbsp; &nbsp; &nbsp; &nbsp; for(new i = 0; i &lt; count; i++) {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(is_user_connected(players[i])) {<br />&nbsp; &nbsp; &nbsp; &nbsp; message_begin(MSG_ONE_UNRELIABLE, get_user_msgid(&quot;SayText&quot;), _, players[i]);<br />&nbsp; &nbsp; &nbsp; &nbsp; write_byte(players[i]);<br />&nbsp; &nbsp; &nbsp; &nbsp; write_string(msg);<br />&nbsp; &nbsp; &nbsp; &nbsp; message_end();<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; } <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br /><br /><br /><br />public eDeath() <br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; new attacker = read_data(1)<br />&nbsp; &nbsp; &nbsp; &nbsp; new victim = read_data(2)<br />&nbsp; &nbsp; &nbsp; &nbsp; new headshot = read_data(3)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; if(cs_get_user_team(attacker) != cs_get_user_team(victim)) // Kill Enemie<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[attacker] += 1<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if(attacker == victim) // Suicide<br />&nbsp; &nbsp; &nbsp; &nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[attacker] += 1<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else // Team Kill (Not necessary check if friendlyfire is enabled)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!headshot)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[attacker] += 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; PlayerCredits[attacker] += 1<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}</code><hr />
</div>
<!-- END TEMPLATE: bbcode_code_printable --><font color="Red">Description</font><br />Point Box such as level <br /> <br /> xxxx<br />|Health - Point box : xx|<br /><br /><br /><font color="DarkOrange">Tuto</font><br />download sma and code sma for you choice<br />and compile sma<br />download amx go to dossier plugin upload amx in dossier <br />and go to dossier config and plugin ini <br />and write name of plugin xxx.amxx<br /><br /><br /><br />Sorry for my bad english :lol:</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...27"><strong>Get Plugin</strong></a> or
<a href="https://forums.allie...1415647884">Get Source</a> (Points-Box.sma - 13.7 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