Ezt valaki javitaá?Ugyanis müködik az öröklőszert de ha fegyót cserélek már nem müködik... Nem arrol beszélek hogy kifogyik a tár hanem hogy ne keljen tölteni hanem egyfolytába lő..
 Kód: #include <amxmodx> #include <amxmisc> #include <fun> #include <cstrike> #include <hamsandwich> #include <fakemeta> #include <engine> #include <nvault>   #define PLUGIN "Pontrendszer" #define VERSION "1.2" #define AUTHOR "damon"   //VIP tagok joga #define VIPJOG ADMIN_LEVEL_H   #define OFFSET_CLIPAMMO 51 #define OFFSET_LINUX_WEAPONS 4 #define fm_cs_set_weapon_ammo(%1,%2) set_pdata_int(%1, OFFSET_CLIPAMMO, %2, OFFSET_LINUX_WEAPONS) #define m_pActiveItem 373   const NOCLIP_WPN_BS = ((1<<CSW_HEGRENADE)|(1<<CSW_SMOKEGRENADE)|(1<<CSW_FLASHBANG)|(1<<CSW_KNIFE)|(1<<CSW_C4)) new const g_MaxClipAmmo[] = { 0, 13, //CSW_P228 0, 10, //CSW_SCOUT 0, //CSW_HEGRENADE 7, //CSW_XM1014 0, //CSW_C4 30,//CSW_MAC10 30, //CSW_AUG 0, //CSW_SMOKEGRENADE 15,//CSW_ELITE 20,//CSW_FIVESEVEN 25,//CSW_UMP45 30, //CSW_SG550 35, //CSW_GALIL 25, //CSW_FAMAS 12,//CSW_USP 20,//CSW_GLOCK18 10, //CSW_AWP 30,//CSW_MP5NAVY 100,//CSW_M249 8, //CSW_M3 30, //CSW_M4A1 30,//CSW_TMP 20, //CSW_G3SG1 0, //CSW_FLASHBANG 7, //CSW_DEAGLE 30, //CSW_SG552 30, //CSW_AK47 0, //CSW_KNIFE 50//CSW_P90 }   new pont[33]; new g_vault;   //Prefix new const Prefix[ ] = "[ BB ]";   //Uzenetek new const Hiba1[ ] = "!yEz sajnos nem sikerultt nincs eleg pontod!"; new const Hiba2[ ] = "!yHalottak nem hasznalhatjak ezt a menupontot!"; new const Hiba3[ ] = "!yEzt a menupontot csak terroristak hasznalhatjak!"; new const Hiba4[ ] = "!yEzt a menupontot csak CT-k hasznalhatjak!"; new const Vasarlas[ ] = "!ySikeres vasarlas.";   new shop; new vipitem1cost; new vipitem2cost; new vipitem3cost; new vipitem4cost; new vipitem5cost; new vipitem6cost; new vipitem7cost;   new wpnitem1cost; new wpnitem2cost; new wpnitem3cost; new wpnitem4cost; new wpnitem5cost; new wpnitem6cost;   new egyebitem1cost; new egyebitem2cost; new egyebitem3cost; new egyebitem4cost; new egyebitem5cost; new egyebitem6cost;   new kill, hs;   new const g_varanyak[] = "models/v_golden_ak47.mdl"; //Arany AK47 v modelje new const g_paranyak[] = "models/p_golden_ak47.mdl"; //Arany AK47 p modelje new const g_varanym4[] = "models/v_golden_m4a1.mdl"; //Arany M4A1 v modelje new const g_paranym4[] = "models/p_golden_m4a1.mdl"; //Arany M4A1 p modelje new const g_varanydezi[] = "models/v_golden_deagle.mdl"; //Arany Deagle v modelje new const g_paranydezi[] = "models/p_golden_deagle.mdl"; //Arany Deagle p modelje new bool:g_aranyak[33] = false; new bool:g_aranym4[33] = false; new bool:g_aranydezi[33] = false; new bool:g_has_unlimited_clip[33];   public plugin_init(){    register_plugin(PLUGIN, VERSION, AUTHOR);    register_event("CurWeapon", "Event_CurWeapon", "be", "1=1");    RegisterHam(Ham_TakeDamage , "player" , "PlayerHurt", 0);    RegisterHam(Ham_Spawn, "player", "newRound", 1);    register_clcmd("say /shop", "ShowMenu");    register_clcmd("say shop", "ShowMenu");    register_clcmd("say /bolt", "ShowMenu");    register_clcmd("say bolt", "ShowMenu");    register_clcmd("say_team /shop", "ShowMenu");    register_clcmd("say_team shop", "ShowMenu");    register_clcmd("say_team /bolt", "ShowMenu");    register_clcmd("say_team bolt", "ShowMenu");    register_event("DeathMsg", "halal", "a");      g_vault = nvault_open("pont_rendszer");      shop = register_cvar( "pt_shop", "1" ); //Bolt ki/bekapcsolasa 1-be, 0-ki      vipitem1cost = register_cvar( "pt_vipitem1", "30" ); //VIP menu item1 a'ra    vipitem2cost = register_cvar( "pt_vipitem2", "30" ); //VIP menu item2 a'ra    vipitem3cost = register_cvar( "pt_vipitem3", "25" ); //VIP menu item3 a'ra    vipitem4cost = register_cvar( "pt_vipitem4", "10" ); //VIP menu item4 a'ra    vipitem5cost = register_cvar( "pt_vipitem5", "15" ); //VIP menu item5 a'ra    vipitem6cost = register_cvar( "pt_vipitem6", "10" ); //VIP menu item6 a'ra    vipitem7cost = register_cvar( "pt_vipitem7", "5" ); //VIP menu item7 a'ra      wpnitem1cost = register_cvar( "pt_wpnitem1", "35" ); //Fegyver menu item1 a'ra    wpnitem2cost = register_cvar( "pt_wpnitem2", "35" ); //Fegyver menu item2 a'ra    wpnitem3cost = register_cvar( "pt_wpnitem3", "15" ); //Fegyver menu item3 a'ra    wpnitem4cost = register_cvar( "pt_wpnitem4", "25" ); //Fegyver menu item4 a'ra    wpnitem5cost = register_cvar( "pt_wpnitem5", "1" ); //Fegyver menu item5 a'ra    wpnitem6cost = register_cvar( "pt_wpnitem6", "1" ); //Fegyver menu item6 a'ra      egyebitem1cost = register_cvar( "pt_egyebitem1", "5" ); //Egyeb menu item1 a'ra    egyebitem2cost = register_cvar( "pt_egyebitem2", "40" ); //Egyeb menu item2 a'ra    egyebitem3cost = register_cvar( "pt_egyebitem3", "40" ); //Egyeb menu item3 a'ra    egyebitem4cost = register_cvar( "pt_egyebitem4", "15" ); //Egyeb menu item4 a'ra    egyebitem5cost = register_cvar( "pt_egyebitem5", "25" ); //Egyeb menu item5 a'ra    egyebitem6cost = register_cvar( "pt_egyebitem6", "35" ); //Egyeb menu item6 a'ra      kill = register_cvar( "pt_kill", "1" ); //Sima olesert jaro pont    hs = register_cvar( "pt_hs", "2" ); //Fejloveser jaro pont }   public plugin_precache(){    precache_model(g_varanyak)    precache_model(g_paranyak)    precache_model(g_varanym4)    precache_model(g_paranym4)    precache_model(g_varanydezi)    precache_model(g_paranydezi) }   public newRound(id){    g_aranyak[id] = false;    g_aranym4[id] = false;    g_aranydezi[id] = false;    for (new id; id <= 32; id++) g_has_unlimited_clip[id] = false; }   public halal(){    new killer = read_data(1)    new victim = read_data(2)    new team = get_user_team(killer)    if(killer != victim && team != get_user_team(victim) && read_data(3)){       pont[killer] += get_pcvar_num( hs )    }    else if(killer != victim && team != get_user_team(victim)){       pont[killer] += get_pcvar_num( kill )    } }   public Informaciok(id){    set_task(0.1, "Informaciok", id);    if(!is_user_alive(id)){       new target = entity_get_int(id, EV_INT_iuser2);         if(target == 0)            return PLUGIN_CONTINUE;       set_hudmessage(0, 170, 255, 0.02, 0.2, 0, 1.0, 3.0)       show_hudmessage(id, "Pontjai: %d", pont[target])         return PLUGIN_CONTINUE;    }    set_hudmessage(0, 170, 255, 0.02, 0.2, 0, 1.0, 3.0)    show_hudmessage(id, "Pontjaid: %d", pont[id])    return PLUGIN_CONTINUE; }   public client_connect(id){    Betolt(id)    set_task(1.0, "Informaciok", id); }   public client_disconnect(id){    Mentes(id) }   public Mentes(id){    new name[32]    get_user_name(id, name, 31)      new vaultkey[64],vaultdata[256]    format(vaultkey,63,"%sPT", name)    format(vaultdata,255,"%i",pont[id])    nvault_set(g_vault,vaultkey,vaultdata)    return PLUGIN_CONTINUE }   public Betolt(id){    new name[32]    get_user_name(id, name, 31)    new vaultkey[64],vaultdata[256]    format(vaultkey,63,"%sPT", name)    format(vaultdata,255,"%i",pont[id])    nvault_get(g_vault,vaultkey,vaultdata,255)    replace_all(vaultdata, 255, "#", " ")    new pt[32]    parse(vaultdata, pt, 31)    pont[id] = str_to_num(pt)    return PLUGIN_CONTINUE }   public ShowMenu(id){    if( get_pcvar_num( shop ) != 1 ){       print_color(id, "!g%s !yA bolt ki van kapcsolva!", Prefix)       return PLUGIN_HANDLED;    }    new szMenu[128];    formatex(szMenu, charsmax(szMenu), "\rBolt^n\yPontjaid: \d%d", pont[ id ] )    new menu = menu_create(szMenu, "shop_h" );    if(get_user_flags(id) & VIPJOG){       menu_additem(menu, "\rVIp menu", "0", 0); // case 0    }    else{       menu_additem(menu, "\dVIp menu", "0", 0); // case 0    }    menu_additem(menu, "\wFegyver menu", "1", 0); // case 1    menu_additem(menu, "\wEgyeb menu", "2", 0); // case 2      menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);      menu_display(id, menu, 0);      return PLUGIN_HANDLED; }   public shop_h(id, menu, item, level, cid) {    if(item == MENU_EXIT){       menu_destroy(menu);       return PLUGIN_HANDLED;    }      new command[6], name[64], access, callback;      menu_item_getinfo(menu, item, access, command, sizeof command - 1, name, sizeof name - 1, callback);      switch(item){       case 0: {          VIPMenu(id);       }       case 1: {          FegyverMenu(id);       }       case 2: {          EgyebMenu(id);       }    }      menu_destroy(menu);    return PLUGIN_HANDLED;   }   public VIPMenu(id){    if(!(get_user_flags(id) & VIPJOG)){       client_print(id, print_center, "Ezt a boltot csak Vip tag használhatja!")       ShowMenu(id);       return PLUGIN_HANDLED;    }    new szMenu[128];    formatex(szMenu, charsmax(szMenu), "\rVIP cuccok^n\yPontjaid: \d%d", pont[ id ] )    new menu = menu_create(szMenu, "vipmenu_h" );    new szText[128];      if(cs_get_user_team(id) == CS_TEAM_CT){    formatex(szText, charsmax(szText), "\wArany AK47 - \y%d Pont", get_pcvar_num( vipitem1cost ) )    menu_additem(menu, szText, "0", 0);    }    else{    formatex(szText, charsmax(szText), "\wArany AK47 \r(Bugos!!) \w- \y%d Pont", get_pcvar_num( vipitem1cost ) )    menu_additem(menu, szText, "0", 0);    }    formatex(szText, charsmax(szText), "\wArany M4A1 - \y%d Pont", get_pcvar_num( vipitem2cost ) )    menu_additem(menu, szText, "1", 0);    formatex(szText, charsmax(szText), "\wArany deagle - \y%d Pont", get_pcvar_num( vipitem3cost ) )    menu_additem(menu, szText, "2", 0);    formatex(szText, charsmax(szText), "\wCT magozo - \y%d Pont", get_pcvar_num( vipitem4cost ) )    menu_additem(menu, szText, "3", 0);    formatex(szText, charsmax(szText), "\wT magozo - \y%d Pont", get_pcvar_num( vipitem5cost ) )    menu_additem(menu, szText, "4", 0);    formatex(szText, charsmax(szText), "\w+50HP - \y%d Pont", get_pcvar_num( vipitem6cost ) )    menu_additem(menu, szText, "5", 0);    formatex(szText, charsmax(szText), "\wGyorsasag - \y%d Pont", get_pcvar_num( vipitem7cost ) )    menu_additem(menu, szText, "6", 0);      menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);      menu_display(id, menu, 0);    return PLUGIN_HANDLED; }   public vipmenu_h(id, menu, item, level, cid) {    new elo = is_user_alive(id);    if(item == MENU_EXIT){       menu_destroy(menu);       ShowMenu(id);       return PLUGIN_HANDLED;    }      new command[6], name[64], access, callback;      menu_item_getinfo(menu, item, access, command, sizeof command - 1, name, sizeof name - 1, callback);      switch(item){       case 0: {          if(pont[id] >= get_pcvar_num( vipitem1cost )){             if(elo){                give_item(id, "weapon_ak47")                cs_set_user_bpammo(id, CSW_AK47, 90)                g_aranyak[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem1cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 1: {          if(pont[id] >= get_pcvar_num( vipitem2cost )){             if(elo){                give_item(id, "weapon_m4a1")                cs_set_user_bpammo(id, CSW_M4A1, 90)                g_aranym4[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem2cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 2: {          if(pont[id] >= get_pcvar_num( vipitem3cost )){             if(elo){                give_item(id, "weapon_deagle")                cs_set_user_bpammo(id, CSW_DEAGLE, 35)                g_aranydezi[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem3cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 3: {          if(pont[id] >= get_pcvar_num( vipitem4cost )){             if(elo){                give_item(id, "weapon_sg550")                cs_set_user_bpammo(id, CSW_SG550, 120)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem4cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 4: {          if(pont[id] >= get_pcvar_num( vipitem5cost )){             if(elo){                give_item(id, "weapon_sg552")                cs_set_user_bpammo(id, CSW_SG552, 120)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem5cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 5: {          if(pont[id] >= get_pcvar_num( vipitem6cost )){             if(elo){                set_user_health(id, get_user_health(id)+50)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem6cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 6: {          if(pont[id] >= get_pcvar_num( vipitem7cost )){             if(elo){                set_user_maxspeed(id, 300.0)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( vipitem7cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }    }      menu_destroy(menu);    return PLUGIN_HANDLED;   }   public FegyverMenu(id){    new szMenu[128];    formatex(szMenu, charsmax(szMenu), "\rFegyver menAL^n\yPontjaid: \d%d", pont[ id ] )    new menu = menu_create(szMenu, "fegyvermenu_h" );    new szText[128];      formatex(szText, charsmax(szText), "\wArany AK47 - \y%d Pont", get_pcvar_num( wpnitem1cost ) )    menu_additem(menu, szText, "0", 0);    formatex(szText, charsmax(szText), "\wArany M4A1 - \y%d Pont", get_pcvar_num( wpnitem2cost ) )    menu_additem(menu, szText, "1", 0);    formatex(szText, charsmax(szText), "\wCT magozo - \y%d Pont", get_pcvar_num( wpnitem3cost ) )    menu_additem(menu, szText, "2", 0);    formatex(szText, charsmax(szText), "\wT magozo - \y%d Pont", get_pcvar_num( wpnitem4cost ) )    menu_additem(menu, szText, "3", 0);    formatex(szText, charsmax(szText), "\wPlazma \r(NE Vedd!!) - \y%d Pont", get_pcvar_num( wpnitem5cost ) )    menu_additem(menu, szText, "4", 0);    formatex(szText, charsmax(szText), "\wRaketa \r(NE Vedd!!) - \y%d Pont", get_pcvar_num( wpnitem6cost ) )    menu_additem(menu, szText, "5", 0);      menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);      menu_display(id, menu, 0);    return PLUGIN_HANDLED; }   public fegyvermenu_h(id, menu, item, level, cid) {    new elo = is_user_alive(id);    if(item == MENU_EXIT){       menu_destroy(menu);       ShowMenu(id);       return PLUGIN_HANDLED;    }      new command[6], name[64], access, callback;      menu_item_getinfo(menu, item, access, command, sizeof command - 1, name, sizeof name - 1, callback);      switch(item){       case 0: {             if(cs_get_user_team(id) == CS_TEAM_CT){                if(pont[id] >= get_pcvar_num( wpnitem1cost )){             if(elo){                give_item(id, "weapon_ak47")                cs_set_user_bpammo(id, CSW_AK47, 90)                g_aranyak[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem1cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)          }          else print_color(id, "!g%s %s", Prefix ,Hiba4)       }       case 1: {          if(pont[id] >= get_pcvar_num( wpnitem2cost )){             if(elo){                give_item(id, "weapon_m4a1")                cs_set_user_bpammo(id, CSW_M4A1, 90)                g_aranym4[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem2cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 2: {          if(pont[id] >= get_pcvar_num( wpnitem3cost )){             if(elo){                give_item(id, "weapon_sg550")                cs_set_user_bpammo(id, CSW_SG550, 120)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem3cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 3: {          if(pont[id] >= get_pcvar_num( wpnitem4cost )){             if(elo){                give_item(id, "weapon_sg552")                cs_set_user_bpammo(id, CSW_SG552, 120)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem4cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 4: {          if(pont[id] >= get_pcvar_num( wpnitem5cost )){             if(elo){                  //Plazma                  print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem5cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 5: {          if(pont[id] >= get_pcvar_num( wpnitem6cost )){             if(elo){                  //Raketa                  print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( wpnitem6cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }    }      menu_destroy(menu);    return PLUGIN_HANDLED;   }   public EgyebMenu(id){    new szMenu[128];    formatex(szMenu, charsmax(szMenu), "\rBolt^n\yPontjaid: \d%d", pont[ id ] )    new menu = menu_create(szMenu, "egyebmenu_h" );    new szText[128];      formatex(szText, charsmax(szText), "\wGyorsasag - \y%d Pont", get_pcvar_num( egyebitem1cost ) )    menu_additem(menu, szText, "0", 0);    formatex(szText, charsmax(szText), "\wNoRecoil \r(1 Kor) - \y%d Pont", get_pcvar_num( egyebitem2cost ) )    menu_additem(menu, szText, "1", 0);    formatex(szText, charsmax(szText), "\wOrokloszer \r(1 Kor) - \y%d Pont", get_pcvar_num( egyebitem3cost ) )    menu_additem(menu, szText, "2", 0);    if(cs_get_user_team(id) == CS_TEAM_T){       formatex(szText, charsmax(szText), "\w+50HP - \y%d Pont", get_pcvar_num( egyebitem4cost ) )       menu_additem(menu, szText, "3", 0);    }    else{       formatex(szText, charsmax(szText), "\d+50HP \r(Csak Terrorista) - \y%d Pont", get_pcvar_num( egyebitem4cost ) )       menu_additem(menu, szText, "3", 0);    }    if(cs_get_user_team(id) == CS_TEAM_T){       formatex(szText, charsmax(szText), "\w+100HP \r - \y%d Pont", get_pcvar_num( egyebitem5cost ) )       menu_additem(menu, szText, "4", 0);    }    else{       formatex(szText, charsmax(szText), "\d+100HP \r(Csak Terrorista) - \y%d Pont", get_pcvar_num( egyebitem5cost ) )       menu_additem(menu, szText, "4", 0);    }    formatex(szText, charsmax(szText), "\wExtra gyorsasag - \y%d Pont", get_pcvar_num( egyebitem6cost ) )    menu_additem(menu, szText, "5", 0);      menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);      menu_display(id, menu, 0);    return PLUGIN_HANDLED; }   public egyebmenu_h(id, menu, item, level, cid) {    new elo = is_user_alive(id);    if(item == MENU_EXIT){       menu_destroy(menu);       ShowMenu(id);       return PLUGIN_HANDLED;    }      new command[6], name[64], access, callback;      menu_item_getinfo(menu, item, access, command, sizeof command - 1, name, sizeof name - 1, callback);      switch(item){       case 0: {          if(pont[id] >= get_pcvar_num( egyebitem1cost )){             if(elo){                set_user_maxspeed(id, 300.0)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( egyebitem1cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 1: {          if(pont[id] >= get_pcvar_num( egyebitem2cost )){             if(elo){                  //No recoil                  print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( egyebitem2cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 2: {          if(pont[id] >= get_pcvar_num( egyebitem3cost )){             if(elo){                g_has_unlimited_clip[id] = true                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( egyebitem3cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }       case 3: {          if(cs_get_user_team(id) == CS_TEAM_T){                if(pont[id] >= get_pcvar_num( egyebitem5cost )){                if(elo){                   set_user_health(id, get_user_health(id)+50)                   print_color(id, "!g%s %s", Prefix, Vasarlas)                   pont[id] -= get_pcvar_num( egyebitem5cost )                }                else print_color(id, "!g%s %s", Prefix ,Hiba2)             }             else print_color(id, "!g%s %s", Prefix ,Hiba1)          }          else print_color(id, "!g%s %s", Prefix ,Hiba3)       }       case 4: {          if(cs_get_user_team(id) == CS_TEAM_T){                if(pont[id] >= get_pcvar_num( egyebitem5cost )){                if(elo){                   set_user_health(id, get_user_health(id)+100)                   print_color(id, "!g%s %s", Prefix, Vasarlas)                   pont[id] -= get_pcvar_num( egyebitem5cost )                }                else print_color(id, "!g%s %s", Prefix ,Hiba2)             }             else print_color(id, "!g%s %s", Prefix ,Hiba1)          }          else print_color(id, "!g%s %s", Prefix ,Hiba3)       }       case 5: {          if(pont[id] >= get_pcvar_num( egyebitem6cost )){             if(elo){                set_user_maxspeed(id, 340.0)                print_color(id, "!g%s %s", Prefix, Vasarlas)                pont[id] -= get_pcvar_num( egyebitem6cost )             }             else print_color(id, "!g%s %s", Prefix ,Hiba2)          }          else print_color(id, "!g%s %s", Prefix ,Hiba1)       }    }      menu_destroy(menu);    return PLUGIN_HANDLED;   }   public Event_CurWeapon(id){    if(g_has_unlimited_clip[id] == true){       new iWeapon = read_data(2)       if( !( NOCLIP_WPN_BS & (1<<iWeapon) ) ){          fm_cs_set_weapon_ammo( get_pdata_cbase(id, m_pActiveItem) , g_MaxClipAmmo[ iWeapon ] )       }    }    new weapon = get_user_weapon(id)    if(weapon == CSW_AK47 && g_aranyak[id] == true){       entity_set_string(id, EV_SZ_viewmodel, g_varanyak)       entity_set_string(id, EV_SZ_weaponmodel, g_paranyak)    }    if(weapon == CSW_AK47 && g_aranyak[id] == false){       entity_set_string(id, EV_SZ_viewmodel, "models/v_ak47.mdl")       entity_set_string(id, EV_SZ_weaponmodel, "models/p_ak47.mdl")    }    if(weapon == CSW_M4A1 && g_aranym4[id] == true){       entity_set_string(id, EV_SZ_viewmodel, g_varanym4)       entity_set_string(id, EV_SZ_weaponmodel, g_paranym4)    }    if(weapon == CSW_M4A1 && g_aranym4[id] == false){       entity_set_string(id, EV_SZ_viewmodel, "models/v_m4a1.mdl")       entity_set_string(id, EV_SZ_weaponmodel, "models/p_m4a1.mdl")    }    if(weapon == CSW_DEAGLE && g_aranydezi[id] == true){       entity_set_string(id, EV_SZ_viewmodel, g_varanydezi)       entity_set_string(id, EV_SZ_weaponmodel, g_paranydezi)    }    if(weapon == CSW_DEAGLE && g_aranydezi[id] == false){       entity_set_string(id, EV_SZ_viewmodel, "models/v_deagle.mdl")       entity_set_string(id, EV_SZ_weaponmodel, "models/p_deagle.mdl")    } } public PlayerHurt( victim,inflictor,attacker,Float:damage, DamageBits ){    new weapon = get_user_weapon(attacker)    if(weapon == CSW_AK47 && g_aranyak[attacker]){       SetHamParamFloat(4, damage * 2.10);    }    if(weapon == CSW_M4A1 && g_aranym4[attacker]){       SetHamParamFloat(4, damage * 1.50);    }    if(weapon == CSW_DEAGLE && g_aranydezi[attacker]){       SetHamParamFloat(4, damage * 1.50);    } }   stock print_color(const id, const input[], any:...) {         new count = 1, players[32]         static msg[191]         vformat(msg, 190, input, 3)           replace_all(msg, 190, "!g", "^4")         replace_all(msg, 190, "!y", "^1")         replace_all(msg, 190, "!t", "^3")                if (id) players[0] = id; else get_players(players, count, "ch")         {                 for (new i = 0; i < count; i++)                 {                         if (is_user_connected(players[i]))                         {                                 message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i])                                 write_byte(players[i])                                 write_string(msg)                                 message_end()                         }                 }         }         return PLUGIN_HANDLED } 
		 |