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 System fixation


  • 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 24.11.2015 11:58

<div>Hello everyone !<br /><br />My point sysem false.. Do not save..:down:<br /><br />And new 3 it should pack a letter.. (In front of the VIP package)<br /><br />Thank you!<br /><br />SMA:<br /><br /><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">&nbsp; &nbsp; #include &lt;amxmodx&gt;<br />&nbsp; &nbsp; #include &lt;amxmisc&gt;<br />&nbsp; &nbsp; #include &lt;cstrike&gt;<br />&nbsp; &nbsp; #include &lt;fun&gt;<br />&nbsp; &nbsp; #include &lt;fakemeta&gt;<br />&nbsp; &nbsp; #include &lt;hamsandwich&gt;<br />&nbsp; &nbsp; #include &lt;nvault&gt;<br />&nbsp; &nbsp; #include &lt;colorchat&gt;<br />&nbsp;<br />&nbsp; &nbsp; #define PLUGIN &quot;Pontrendszer&quot;<br />&nbsp; &nbsp; #define VERSION &quot;2.0&quot;<br />&nbsp; &nbsp; #define AUTHOR &quot;crazy &amp; mforce&quot;<br />&nbsp;<br />&nbsp; &nbsp; new g_vault<br />&nbsp; &nbsp; new pontok[33]<br />&nbsp; &nbsp; new fegyo[33]<br />&nbsp; &nbsp; new authid[33][32]<br />&nbsp; &nbsp; new killp, killhsp<br />&nbsp; &nbsp; new ajandek1, ajandek2, ajandek3<br />&nbsp; &nbsp; new bombatesz, bombaszed<br />&nbsp; &nbsp; new bombateszvip, bombaszedvip, killpvip, killhspvip, ajandek1vip, ajandek2vip, ajandek3vip<br />&nbsp; &nbsp; new sebzok[32];<br />&nbsp; &nbsp; new sebzesek[32];<br />&nbsp; &nbsp; new sebzettek[32];<br />&nbsp;<br />&nbsp; &nbsp; public plugin_init() {<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_plugin(PLUGIN, VERSION, AUTHOR)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(180.0, &quot;uzenet&quot;, 0, _, _, &quot;b&quot;)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killp = register_cvar(&quot;pont_kill&quot;, &quot;1&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killhsp = register_cvar(&quot;pont_killhs&quot;, &quot;2&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killpvip = register_cvar(&quot;pont_killvip&quot;, &quot;2&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; killhspvip = register_cvar(&quot;pont_killhsvip&quot;, &quot;3&quot;)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek1 = register_cvar(&quot;pont_ajandek1&quot;, &quot;2&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek1vip = register_cvar(&quot;pont_ajandek1vip&quot;, &quot;3&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek2 = register_cvar(&quot;pont_ajandek2&quot;, &quot;5&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek2vip = register_cvar(&quot;pont_ajandek2vip&quot;, &quot;8&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek3 = register_cvar(&quot;pont_ajandek3&quot;, &quot;10&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ajandek3 = register_cvar(&quot;pont_ajandek3vip&quot;, &quot;15&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bombatesz = register_cvar(&quot;bomba_tesz&quot;, &quot;3&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bombateszvip = register_cvar(&quot;bomba_teszvip&quot;, &quot;5&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bombaszed = register_cvar(&quot;bomba_szed&quot;, &quot;3&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; bombaszedvip = register_cvar(&quot;bomba_szedvip&quot;, &quot;5&quot;)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;team_say /pontok&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /pontok&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;team_say /pont&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /pont&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;team_say /skin&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /skin&quot;, &quot;Shop&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;team_say /adas&quot;, &quot;adas&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;say /adas&quot;, &quot;adas&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; register_clcmd(&quot;pont_adas&quot;, &quot;adas&quot;)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; g_vault = nvault_open(&quot;PontRendszer&quot;);<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;CurWeapon&quot;, &quot;fegyver_valtas&quot;, &quot;be&quot;, &quot;1=1&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RegisterHam(Ham_Killed, &quot;player&quot;, &quot;fw_player_killed&quot;, 1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;DeathMsg&quot;, &quot;halal_event&quot;, &quot;ae&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; register_event(&quot;Damage&quot;, &quot;sebzes_event&quot;, &quot;be&quot;, &quot;2!0&quot;, &quot;3=0&quot;, &quot;4!0&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RegisterHam(Ham_Spawn, &quot;player&quot;, &quot;spawn_event&quot;, 1)<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; new m4a1r_jatekosnezet[] = &quot;models/endless/rozsdas/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47r_jatekosnezet[]&nbsp; = &quot;models/endless/rozsdas/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpr_jatekosnezet[] = &quot;models/endless/rozsdas/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deagler_jatekosnezet[]&nbsp; = &quot;models/endless/rozsdas/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1b_jatekosnezet[] = &quot;models/endless/bronz/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47b_jatekosnezet[]&nbsp; = &quot;models/endless/bronz/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpb_jatekosnezet[] = &quot;models/endless/bronz/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deagleb_jatekosnezet[]&nbsp; = &quot;models/endless/bronz/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1e_jatekosnezet[] = &quot;models/endless/ezust/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47e_jatekosnezet[]&nbsp; = &quot;models/endless/ezust/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpe_jatekosnezet[] = &quot;models/endless/ezust/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deaglee_jatekosnezet[]&nbsp; = &quot;models/endless/ezust/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1a_jatekosnezet[] = &quot;models/endless/arany/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47a_jatekosnezet[]&nbsp; = &quot;models/endless/arany/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpa_jatekosnezet[] = &quot;models/endless/arany/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deaglea_jatekosnezet[]&nbsp; = &quot;models/endless/arany/v_deagle.mdl&quot; <br />&nbsp;<br />&nbsp; &nbsp; new m4a1v_jatekosnezet[] = &quot;models/endless/vip_new/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47v_jatekosnezet[]&nbsp; = &quot;models/endless/vip_new/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpv_jatekosnezet[] = &quot;models/endless/vip_new/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deaglev_jatekosnezet[]&nbsp; = &quot;models/endless/vip_new/v_deagle.mdl&quot;<br />&nbsp; &nbsp; new knifev_jatekosnezet[]&nbsp; = &quot;models/endless/vip_new/v_knife.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1t_jatekosnezet[] = &quot;models/endless/tuz/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47t_jatekosnezet[]&nbsp; = &quot;models/endless/tuz/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpt_jatekosnezet[] = &quot;models/endless/tuz/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deaglet_jatekosnezet[]&nbsp; = &quot;models/endless/tuz/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1u_jatekosnezet[] = &quot;models/endless/ultra/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47u_jatekosnezet[]&nbsp; = &quot;models/endless/ultra/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpu_jatekosnezet[] = &quot;models/endless/ultra/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deagleu_jatekosnezet[]&nbsp; = &quot;models/endless/ultra/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1m_jatekosnezet[] = &quot;models/endless/metal/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47m_jatekosnezet[]&nbsp; = &quot;models/endless/metal/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awpm_jatekosnezet[] = &quot;models/endless/metal/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deaglem_jatekosnezet[]&nbsp; = &quot;models/endless/metal/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp; &nbsp; new m4a1s_jatekosnezet[] = &quot;models/endless/star/v_m4a1.mdl&quot; <br />&nbsp; &nbsp; new ak47s_jatekosnezet[]&nbsp; = &quot;models/endless/star/v_ak47.mdl&quot; <br />&nbsp; &nbsp; new awps_jatekosnezet[] = &quot;models/endless/star/v_awp.mdl&quot; <br />&nbsp; &nbsp; new deagles_jatekosnezet[]&nbsp; = &quot;models/endless/star/v_deagle.mdl&quot;<br />&nbsp;<br />&nbsp;<br />&nbsp; &nbsp; public plugin_precache()<br />&nbsp; &nbsp; {<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1r_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47r_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpr_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deagler_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1b_jatekosnezet) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47b_jatekosnezet) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpb_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deagleb_jatekosnezet) <br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1e_jatekosnezet) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47e_jatekosnezet) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpe_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deaglee_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1a_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47a_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpa_jatekosnezet) <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deaglea_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1v_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47v_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpv_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deaglev_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(knifev_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1t_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47t_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpt_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deaglet_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1u_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47u_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpu_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deagleu_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1m_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47m_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awpm_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deaglem_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(m4a1s_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(ak47s_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(awps_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; precache_model(deagles_jatekosnezet)<br />&nbsp;<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public fegyver_valtas(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new fegyver = get_user_weapon(id)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 1 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deagler_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 1 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47r_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 1 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1r_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 1 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpr_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 2 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deagleb_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 2 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47b_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 2 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1b_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 2 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpb_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 3 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deaglee_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 3 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47e_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 3 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1e_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 3 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpe_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 4 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deaglea_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 4 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47a_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 4 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1a_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 4 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpa_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 5 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deaglev_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 5 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47v_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 5 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1v_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 5 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpv_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 5 &amp;&amp; fegyver == CSW_KNIFE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, knifev_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 6 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deaglet_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 6 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47t_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 6 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1t_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 6 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpt_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 7 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deagleu_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 7 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47u_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 7 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1u_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 7 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpu_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 8 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deaglem_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 8 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47m_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 8 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1m_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 8 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awpm_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 9 &amp;&amp; fegyver == CSW_DEAGLE)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, deagles_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 9 &amp;&amp; fegyver == CSW_AK47)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, ak47s_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 9 &amp;&amp; fegyver == CSW_M4A1)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, m4a1s_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 9 &amp;&amp; fegyver == CSW_AWP)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_pev(id, pev_viewmodel2, awps_jatekosnezet)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public spawn_event(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzok[id] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzesek[id] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzettek[id] = 0;<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public sebzes_event(aldozat)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new tamado = get_user_attacker(aldozat);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new sebzes = read_data(2);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzesek[tamado] += sebzes;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(sebzesek[tamado] &gt;= 50)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzok[tamado] = aldozat;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzettek[aldozat] = tamado;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public halal_event()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new aldozat = read_data(2);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new tamado = read_data(1);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(sebzettek[aldozat] &amp;&amp; sebzettek[aldozat] != tamado)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new fragetkap = sebzettek[aldozat];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzok[fragetkap] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzesek[fragetkap] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; sebzettek[aldozat] = 0;<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new frag = get_user_frags(fragetkap) + 1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_user_frags(fragetkap, frag);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message_begin(MSG_ALL, get_user_msgid(&quot;ScoreInfo&quot;))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_byte(fragetkap)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_short(frag)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_short(get_user_deaths(fragetkap))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_short(0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_short(get_user_team(fragetkap))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; message_end()<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(fragetkap, GREEN, &quot;[Információ]^x01 Kaptál^x03 +1^x01 fraget és^x03 1^x01 pontot!&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[fragetkap] += 1<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public bomb_planted(planter)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_flags(planter) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[planter] += get_pcvar_num(bombateszvip)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(planter, GREEN,&quot;[Információ]^x01 Kaptál^x03 %d ^x01pontot a bomba lerakásért!&quot;, get_pcvar_num(bombateszvip))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[planter] += get_pcvar_num(bombatesz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(planter, GREEN,&quot;[Információ]^x01 Kaptál^x03 %d ^x01pontot a bomba lerakásért!&quot;, get_pcvar_num(bombatesz))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public bomb_defused(defuser)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_flags(defuser) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[defuser] += get_pcvar_num(bombaszedvip)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(defuser, GREEN,&quot;[Információ]^x01 Kaptál^x03 %d ^x01pontot a bomba hatástalaní*tásért!&quot;, get_pcvar_num(bombaszedvip))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[defuser] += get_pcvar_num(bombaszed)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(defuser, GREEN,&quot;[Információ]^x01 Kaptál^x03 %d ^x01pontot a bomba hatástalaní*tásért!&quot;, get_pcvar_num(bombaszed))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public fw_player_killed(victim, attacker, shouldgib)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(!is_user_connected(attacker) || !is_user_connected(victim) || attacker == victim)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE;<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_pdata_int(victim, 75) == HIT_HEAD &amp;&amp; get_user_flags(attacker) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[attacker] += get_pcvar_num(killhspvip)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(attacker, GREEN,&quot;[Információ]^x01 !HEADSHOT! Ez megért^x03 %d ^x01pontot!&quot;, get_pcvar_num(killhspvip))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(get_user_flags(attacker) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[attacker] += get_pcvar_num(killpvip)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else if(get_pdata_int(victim, 75) == HIT_HEAD)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[attacker] += get_pcvar_num(killhsp)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(attacker, GREEN,&quot;[Információ]^x01 !HEADSHOT! Ez megért^x03 %d ^x01pontot!&quot;, get_pcvar_num(killhsp))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[attacker] += get_pcvar_num(killp)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public Shop(id){<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; new cim[121], ks1[121],ks2[121],ks3[121],ks4[121],ks5[121],ks6[121],ks7[121],ks8[121],ks9[121],ks10[121]<br />&nbsp; &nbsp; &nbsp; &nbsp; format(cim, charsmax(cim),&quot;y[~|rEndLeSSy|~] w- dOnly Dust2^nwwwr.wendlesscsr.whu^nrPontjaid: w%d&quot;, pontok[id])<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 0)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks1, charsmax(ks1),&quot;rALAP wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 1)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks2, charsmax(ks2),&quot;rROZSDÁS wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks2, charsmax(ks2),&quot;rROZSDÁS wfegyvercsomag r[w250 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 2)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks3, charsmax(ks3),&quot;rBRONZ wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks3, charsmax(ks3),&quot;rBRONZ wfegyvercsomag r[w450 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 3)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks4, charsmax(ks4),&quot;rEZÜST wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks4, charsmax(ks4),&quot;rEZÜST wfegyvercsomag r[w600 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 4)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks5, charsmax(ks5),&quot;rARANY wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks5, charsmax(ks5),&quot;rARANY wfegyvercsomag r[w750 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 6)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks6, charsmax(ks6),&quot;rTŰZ wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks6, charsmax(ks6),&quot;rTŰZ wfegyvercsomag r[w900 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 7)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks7, charsmax(ks7),&quot;rULTRA wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks7, charsmax(ks7),&quot;rULTRA wfegyvercsomag r[w1100 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 8)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks8, charsmax(ks8),&quot;rMETAL wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks8, charsmax(ks8),&quot;rMETAL wfegyvercsomag r[w1350 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 9)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks9, charsmax(ks9),&quot;rSTAR wfegyvercsomag r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks9, charsmax(ks9),&quot;rSTAR wfegyvercsomag r[w1500 pontr] &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; if(fegyo[id] == 10)<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks10, charsmax(ks10),&quot;rVIP wfegyvercsomag d(yÚjd) r[wAKTÍVr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; format(ks10, charsmax(ks10),&quot;rVIP wfegyvercsomag d(yÚjd) r[w508Ftr]&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; new menu = menu_create(cim, &quot;Shoph&quot;)<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks1,&quot;1&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks2,&quot;2&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks3,&quot;3&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks4,&quot;4&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks5,&quot;5&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks6,&quot;6&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks7,&quot;7&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks8,&quot;8&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks9,&quot;9&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu,ks10,&quot;10&quot;,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_setprop(menu, MPROP_NEXTNAME, &quot;Tovább&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_setprop(menu, MPROP_EXITNAME, &quot;Bezárás&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_setprop(menu, MPROP_BACKNAME, &quot;Vissza&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_display(id,menu,0)<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public Shoph(id, menu, item)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; if( item == MENU_EXIT )<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_destroy(menu);<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; new data[9], szName[64];<br />&nbsp; &nbsp; &nbsp; &nbsp; new access, callback;<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);<br />&nbsp; &nbsp; &nbsp; &nbsp; new key = str_to_num(data);<br /><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; switch(key)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 1:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 0<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad az^x03 ALAP^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 2:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 250){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 1<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 ROZSDÁS^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 3:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 450)<br />&nbsp; &nbsp; &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; &nbsp; &nbsp; fegyo[id] = 2<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 BRONZ^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 4:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 600){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 3<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad az^x03 EZÜST^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 5:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 750){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 4<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad az^x03 ARANY^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else<br />&nbsp; &nbsp; &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; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 6:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 900){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 6<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 TŰZ^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 7:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 1100){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 7<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 ULTRA^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 8:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 1350){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 8<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 METÁL^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 9:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (pontok[id] &gt;= 1500){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 9<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 STAR^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Sajnálom, nincs elég pontod!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case 10:{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if (get_user_flags(id) &amp; ADMIN_KICK || get_user_flags(id) &amp; ADMIN_LEVEL_C){<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 5<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Megkaptad a^x03 VIP^x01 csomagot!&quot;)<br />&nbsp; &nbsp; &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; else{<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 Nem vagy^x03 VIP!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; menu_destroy(menu)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public uzenet()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(0, GREEN, &quot;[Információ]^x01 A pontjaid beváltásához használd a^x03 /pontok^x01 parancsot!&quot;)<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public mentes(id) <br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new vaultkey[64],vaultdata[256]<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(vaultkey,63,&quot;%s-PONTOK&quot;, authid[id])<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(vaultdata,255,&quot;%d#%d&quot;, pontok[id], fegyo[id])<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nvault_set(g_vault,vaultkey,vaultdata)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public betoltes(id) <br />&nbsp; &nbsp; { <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new vaultkey[64],vaultdata[256]<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(vaultkey,63,&quot;%s-PONTOK&quot;, authid[id])<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; format(vaultdata,255,&quot;%d#%d&quot;, pontok[id], fegyo[id])<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nvault_get(g_vault,vaultkey,vaultdata,255)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; replace_all(vaultdata, 255, &quot;#&quot;, &quot; &quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new p_o[32], f_o[32]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; parse(vaultdata, p_o, 31, f_o, 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] = str_to_num(p_o)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = str_to_num(f_o)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_CONTINUE;<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public client_disconnect(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mentes(id);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; remove_task(id);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] = 0;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; fegyo[id] = 0;<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public client_connect(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_authid(id, authid[id], 31)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; betoltes(id);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(300.0, &quot;ajandek_1&quot;,id)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(900.0, &quot;ajandek_2&quot;,id)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; set_task(1800.0, &quot;ajandek_3&quot;,id)<br />&nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; public ajandek_1(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_flags(id) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek1vip);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont jár mert, itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek1);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont jár mert, itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public ajandek_2(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_flags(id) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek2vip);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont jár mert, itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek2);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont pont jár, mert itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br />&nbsp; &nbsp; public ajandek_3(id)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(get_user_flags(id) &amp; ADMIN_LEVEL_C)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek3vip);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont pont jár, mert itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; else<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new penz = get_pcvar_num(ajandek3);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ColorChat(id, GREEN, &quot;[Információ]^x01 %d pont pont jár, mert itt vagy már 5 perce!&quot;, penz)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[id] += penz;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }<br /><br />public adas(id)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; if (get_user_flags(id) &amp; ADMIN_KICK)<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new menu = menu_create(&quot;rKinek akarsz pontot adni? y(10p)&quot;, &quot;menu_handler&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new players[32], pnum, tempid<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; new szName[32], szTempid[10]<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_players(players, pnum)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; for( new i; i&lt;pnum; i++ )<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; tempid = players[i];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; get_user_name(tempid, szName, charsmax(szName))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; num_to_str(tempid, szTempid, charsmax(szTempid))<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; menu_additem(menu, szName, szTempid, 0)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; menu_display(id, menu, 0)<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, BLUE, &quot;^4 Sajnos nincs jogod hasznalni ezt a parancsot!&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />}<br /><br />public menu_handler(id, menu, item)<br />{<br />&nbsp; &nbsp; &nbsp; &nbsp; if( item == MENU_EXIT )<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; menu_destroy(menu);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; new data[6], szName[64];<br />&nbsp; &nbsp; &nbsp; &nbsp; new access, callback;<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_item_getinfo(menu, item, access, data,charsmax(data), szName,charsmax(szName), callback);<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; new tempid = str_to_num(data);<br />&nbsp;<br />&nbsp; &nbsp; &nbsp; &nbsp; if( is_user_alive(tempid) )<br />&nbsp; &nbsp; &nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pontok[tempid] += 10<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; &nbsp; &nbsp; client_cmd(id,&quot;pont_adas&quot;)<br />&nbsp; &nbsp; &nbsp; &nbsp; menu_destroy(menu);<br />&nbsp; &nbsp; &nbsp; &nbsp; return PLUGIN_HANDLED;<br />}</code><hr />
</div>Error:<br /><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">L 11/24/2015 - 08:26:41: [AMXX] Displaying debug trace (plugin &quot;pontrendszerr.amxx&quot;)<br />L 11/24/2015 - 08:26:41: [AMXX] Run time error 10: native error (native &quot;set_user_frags&quot;)<br />L 11/24/2015 - 08:26:41: [AMXX]&nbsp; &nbsp; [0] pontrendszerr.sma::halal_event (line 349)<br />L 11/24/2015 - 08:26:58: [AMXX] Displaying debug trace (plugin &quot;pontrendszerr.amxx&quot;)<br />L 11/24/2015 - 08:26:58: [AMXX] Run time error 4: index out of bounds <br />L 11/24/2015 - 08:26:58: [AMXX]&nbsp; &nbsp; [0] pontrendszerr.sma::sebzes_event (line 329)</code><hr />
</div></div>

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych