Kullanıcı Tag Listesi

6 sonuçtan 1 ile 6 arası
Like Tree1Likes
  • 1 Post By peNgueN

Konu: SIlah Menu yardım

  1. #1
    er er
    Üyelik tarihi
    Jan 2014
    Yer
    izmir
    Mesajlar
    45
    Bahsedildi
    2 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    7

    Standart SIlah Menu yardım

    Arkdaslar Bu Sılah Menuyu Buradan Buldum Ama Konuyu Acan Arkdas YArdımcı Olmadı Benım Sıkınıtım Jailde Cok guzel Islıyor Ama Pro Maplarda da ACılıyo Sıkıntı Bu Yarıdmcı Olursanız Sevınırım ...................
    Ekli Dosyalar Ekli Dosyalar

  2. #2
    er er
    Üyelik tarihi
    Jun 2014
    Mesajlar
    32
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    6

    Standart Cevap: SIlah Menu yardım

    PHP- Kodu:
    /*
    *


    *      Plugin: CT SilahMenu
    *          By: Yunap. 
    *  

    *
    */


    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    new map[32];
    public 
    plugin_init()
    {
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
                         CT Silah Menu
    ============================================================*/
    public silahmenu(id

        
    get_mapname(map,31);
        if((
    containi(map,"jail") == -1) && (containi(map,"jb_") == -1)) return 
        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED



    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
    */ 

    Buyur kardeşim artık sadece isminde jail_ geçen maplarda aktif olur.

  3. #3
    er er
    Üyelik tarihi
    Jan 2014
    Yer
    izmir
    Mesajlar
    45
    Bahsedildi
    2 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    7

    Standart Cevap: SIlah Menu yardım

    Alıntı Osmanolu12 Nickli Üyeden Alıntı Mesajı göster
    PHP- Kodu:
    /*
    *


    *      Plugin: CT SilahMenu
    *          By: Yunap. 
    *  

    *
    */


    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    new map[32];
    public 
    plugin_init()
    {
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
                         CT Silah Menu
    ============================================================*/
    public silahmenu(id

        
    get_mapname(map,31);
        if((
    containi(map,"jail") == -1) && (containi(map,"jb_") == -1)) return 
        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED



    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
    */ 

    Buyur kardeşim artık sadece isminde jail_ geçen maplarda aktif olur.
    kardesım hata verdı sma yuklenmedı

    - - - - - - - - - -

    Alıntı Osmanolu12 Nickli Üyeden Alıntı Mesajı göster
    PHP- Kodu:
    /*
    *


    *      Plugin: CT SilahMenu
    *          By: Yunap. 
    *  

    *
    */


    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    new map[32];
    public 
    plugin_init()
    {
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
                         CT Silah Menu
    ============================================================*/
    public silahmenu(id

        
    get_mapname(map,31);
        if((
    containi(map,"jail") == -1) && (containi(map,"jb_") == -1)) return 
        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                 
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED



    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }
    */ 

    Buyur kardeşim artık sadece isminde jail_ geçen maplarda aktif olur.
    kardesım hata verdı sma yuklenmedı

  4. #4
    onbasi er dogukan12358 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2014
    Mesajlar
    90
    Bahsedildi
    7 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    6

    Standart Cevap: SIlah Menu yardım

    Serverin OyunYöneticisimi

  5. #5
    cavus er peNgueN - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Dec 2011
    Yer
    Çanakkale
    Mesajlar
    292
    Bahsedildi
    28 Mesaj
    Etiketlenmiş
    1 Konu
    Tecrübe Puanı
    9

    Standart Cevap: SIlah Menu yardım

    Öncelikle önerim mapconfig kullanıyorsan oraya ekle bu şekilde kurulumu önermiyorum ama yine de paylaşayım.

    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    public plugin_init()
    {
        new 
    map128 ]
        
    get_mapnamemapcharsmaxmap ) );
        if( ( 
    containimap"jail" ) == -) && ( containimap"jb" ) == -) ) return; 
        
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
    CT Silah Menu
    ============================================================*/
    public silahmenu(id

        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED

    ugurdogan likes this.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    Eklentiyle ilgili her türlü yardımı edebilirim.( jail shop hariç )
    İletişim: hassel-vl

  6. #6
    er er
    Üyelik tarihi
    Jan 2014
    Yer
    izmir
    Mesajlar
    45
    Bahsedildi
    2 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    7

    Standart Cevap: SIlah Menu yardım

    Alıntı dogukan12358 Nickli Üyeden Alıntı Mesajı göster
    Serverin OyunYöneticisimi
    evet

    - - - - - - - - - -

    Alıntı dogukan12358 Nickli Üyeden Alıntı Mesajı göster
    Serverin OyunYöneticisimi
    evet

    - - - - - - - - - -

    Alıntı peNgueN Nickli Üyeden Alıntı Mesajı göster
    Öncelikle önerim mapconfig kullanıyorsan oraya ekle bu şekilde kurulumu önermiyorum ama yine de paylaşayım.

    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    public plugin_init()
    {
        new 
    map128 ]
        
    get_mapnamemapcharsmaxmap ) );
        if( ( 
    containimap"jail" ) == -) && ( containimap"jb" ) == -) ) return; 
        
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
    CT Silah Menu
    ============================================================*/
    public silahmenu(id

        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED

    KONU COZULMUSTUR TSK EDERIM

    - - - - - - - - - -

    Alıntı peNgueN Nickli Üyeden Alıntı Mesajı göster
    Öncelikle önerim mapconfig kullanıyorsan oraya ekle bu şekilde kurulumu önermiyorum ama yine de paylaşayım.

    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <jail>

    public plugin_init()
    {
        new 
    map128 ]
        
    get_mapnamemapcharsmaxmap ) );
        if( ( 
    containimap"jail" ) == -) && ( containimap"jb" ) == -) ) return; 
        
        
    register_plugin("SilahMenusu","1.0","Yunap.")
        
    RegisterHam(Ham_Spawn,         "player""silahmenu",    1
    }

    /*============================================================
    CT Silah Menu
    ============================================================*/
    public silahmenu(id

        if (
    get_user_team(id) == && is_user_alive(id))
        {
            new 
    menu menu_create("\wSilah Menusu \d[Yunap.]","silahinmenusu1"
            
            
    menu_additem(menu"\wM4A1 / AK47 / AWP / M249 / DEAGLE""1"0); 
            
    menu_additem(menu"\wSG552 / FAMAS / AWP / M249 / DEAGLE""2"0);         
            
    menu_additem(menu"\wAK47 / SG552 / AWP /  M249 / USP""3"0); 
            
    menu_additem(menu"\wFAMAS / MP5 / AWP / M249 / GLOCK""4"0); 
            
    menu_additem(menu"\wGALIL / M3 / AWP / M249 / BERETTA\dx2""5"0); 
            
    menu_additem(menu"\wAUG / AK47 / AWP / M249 / FIVE SEVEN""6"0); 
            
    menu_additem(menu"\wMP5 / M4A1 / AWP / M249 / USP""7"0); 
            
            
    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
            
    menu_display(idmenu0); 
        }

    public 
    silahinmenusu1(id,menu,item

        
        if( 
    item == MENU_EXIT 
        { 
            
    menu_destroy(menu); 
            return 
    PLUGIN_HANDLED
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback); 
        
        new 
    key str_to_num(data
        
        switch(
    key
        { 
            case 
    1: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_m4a1"
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_m249")
                
    give_item(id"weapon_deagle")
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
            } 
            case 
    2: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_deagle")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_SG552120)
                
    cs_set_user_bpammo(idCSW_FAMAS120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_DEAGLE90)
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    3: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_ak47"
                
    give_item(id"weapon_sg552")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp"
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AK47120
                
    cs_set_user_bpammo(idCSW_SG552120
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP120
                
    give_item(id"weapon_knife")    
            } 
            
            case 
    4: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_famas")
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_glock")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_FAMAS120
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_GLOCK18120
                
    give_item(id"weapon_knife")    
            } 
            case 
    5: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_galil")
                
    give_item(id"weapon_m3")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_elite")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_GALIL90
                
    cs_set_user_bpammo(idCSW_M340)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_ELITE150)  
                
    give_item(id"weapon_knife")    
            } 
            case 
    6: {  
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_aug")
                
    give_item(id"weapon_ak47")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_fiveseven")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_AUG120)
                
    cs_set_user_bpammo(idCSW_AK47120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_FIVESEVEN120
                
    give_item(id"weapon_knife")    
            } 
            case 
    7: { 
                
    strip_user_weapons(id)
                
                
    give_item(id"weapon_mp5navy")
                
    give_item(id"weapon_m4a1")
                
    give_item(id"weapon_awp")
                
    give_item(id"weapon_usp")
                
    give_item(id"weapon_m249")
                
    cs_set_user_bpammo(idCSW_MP5NAVY120)
                
    cs_set_user_bpammo(idCSW_M4A1120)
                
    cs_set_user_bpammo(idCSW_AWP40)
                
    cs_set_user_bpammo(idCSW_M249300)
                
    cs_set_user_bpammo(idCSW_USP112
                
    give_item(id"weapon_knife")    
                
            } 
        } 
        
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED

    KONU COZULMUSTUR TSK EDERIM

Benzer Konular

  1. Rest Menu ( Silah Yasaklama )
    By NiCoMeDiA in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 335
    Son Mesaj: 25-07-17, 04:41
  2. [JB] CT Silah Menu ( Round Basi Silah Menusu )
    By NiCoMeDiA in forum Jail & Deathrun Pluginler
    Cevaplar: 515
    Son Mesaj: 05-01-17, 01:16
  3. Acil Silah Menu Sorunu
    By satknun1997 in forum CS Soru - Cevap
    Cevaplar: 0
    Son Mesaj: 15-07-14, 11:26
  4. Gelişmiş Silah Menu (İSTEK)
    By batjeffmatt in forum Çözülmüş İstekler
    Cevaplar: 5
    Son Mesaj: 14-08-13, 18:45

Kullanıcıların arama motorlarındaki kullandığı taglar:

Counter Strike 1.6 Cfg, plugin, eklenti, sxe, config, skin, setup
Counter Strike

Bu Konudaki Etiketler

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  

SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99