Kullanıcı Tag Listesi

5 sonuçtan 1 ile 5 arası
  1. #1
    binbaşı er Furkan Dize - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2012
    Yer
    İstanbul
    Mesajlar
    537
    Bahsedildi
    11 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    9

    Standart [JB] Silah Menü Bir Kaç İstek

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

    #define PLUGIN "CTSILAH" 
    #define VERSION "1.0" 
    #define AUTHOR "Pit10" 

    public plugin_init() { 
        
    register_plugin(PLUGINVERSIONAUTHOR
        
        
    RegisterHamHam_Spawn"player""runda");  

    public 
    runda(id
    {     
        if(
    get_user_team(id) == 2
        {
            
    strip_user_weapons(id);
            
    give_itemid"weapon_knife" );
        }
        
    set_task(0.1"menu"id); 

    public 
    menuid )  
    {  
        if (
    get_user_team(id) == && is_user_alive(id)) 
        { 
            new 
    menu menu_create("\y[ Agir Makinali Silah Menusu ] ","Ctmenu")
            
    menu_additem(menu,"\wAK47\r[KELES]","1");
            
    menu_additem(menu,"\wM4A1\r[COLT]","2");
            
    menu_additem(menu,"\wGALIL","3");
            
    menu_additem(menu,"\wFAMAS","4");
            
    menu_additem(menu,"\wM249\r[5-1]","5");
            
            
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
            
    menu_display(id,menu,0)
        }  
        return 
    PLUGIN_HANDLED;
    }  

    public 
    Ctmenu(id,menu,item

        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE;
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   
        new 
    key str_to_num(data
        if(
    get_user_team(id) == 2
        { 
            switch(
    key
            {     
                case 
    1:  
                {     
                    
    give_itemid"weapon_ak47" );  
                    
    cs_set_user_bpammoidCSW_AK4790 ); 
                }  
                case 
    2:  
                {  
                    
    give_itemid"weapon_m4a1" );  
                    
    cs_set_user_bpammoidCSW_M4A190 ); 
                }  
                case 
    3:  
                { 
                    
    give_itemid"weapon_galil" );  
                    
    cs_set_user_bpammoidCSW_GALIL90 ); 
                }              
                case 
    4:  
                {  
                    
    give_itemid"weapon_famas" );  
                    
    cs_set_user_bpammoidCSW_FAMAS90 ); 
                }      
                case 
    5:
                {
                    
    give_itemid"weapon_m249"); 
                    
    cs_set_user_bpammoidCSW_M249200 ); 
                }      
                    
            }  
        } 
        
    menu2(id);
        
    give_itemid"item_kevlar"); 
        
    give_itemid"weapon_hegrenade"); 
        return 
    PLUGIN_HANDLED;  

    public 
    menu2(id)  
    {  
        if (
    get_user_team(id) == && is_user_alive(id)) 
        { 
            new 
    menu menu_create("\y[ Hafif Makinali Silah Menusu ] ","Ctmenu2")
            
    menu_additem(menu,"\wMP5NAVY\r[MP5]","1");
            
    menu_additem(menu,"\wTMP","2");
            
    menu_additem(menu,"\wMAC10\r[UZI]","3");
            
    menu_additem(menu,"\wP90","4");
            
    menu_additem(menu,"\wUMP45","5");
            
            
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
            
    menu_display(id,menu,0)
        }  
        return 
    PLUGIN_HANDLED;
    }
    public 
    Ctmenu2(id,menu,item

        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE;
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   
        new 
    key str_to_num(data
        if(
    get_user_team(id) == 2
        { 
            switch(
    key
            {     
                case 
    1:  
                {     
                    
    give_itemid"weapon_mp5navy" );
                    
    cs_set_user_bpammoidCSW_MP5NAVY120 ); 
                }  
                case 
    2:  
                {  
                    
    give_itemid"weapon_tmp" );  
                    
    cs_set_user_bpammoidCSW_TMP120 ); 
                }  
                case 
    3:  
                { 
                    
    give_itemid"weapon_mac10" );  
                    
    cs_set_user_bpammoidCSW_MAC10120 ); 
                }              
                case 
    4:  
                {  
                    
    give_itemid"weapon_p90" );  
                    
    cs_set_user_bpammoidCSW_P90100 ); 
                }      
                case 
    5:
                {
                    
    give_itemid"weapon_ump45"); 
                    
    cs_set_user_bpammoidCSW_UMP45100 ); 
                }      
                    
            }  
        } 
        
    menu3(id);
        return 
    PLUGIN_HANDLED;  

    public 
    menu3(id)  
    {  
        if (
    get_user_team(id) == && is_user_alive(id)) 
        { 
            new 
    menu menu_create("\y[ Durbunlu Silah Menusu ] ","Ctmenu3")
            
    menu_additem(menu,"\wAWP","1");
            
    menu_additem(menu,"\wSCOUT","2");
            
    menu_additem(menu,"\wG3SG1\r[T- OTO AWP]","3");
            
    menu_additem(menu,"\wSG550\r[CT- OTO AWP]","4");
            
            
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
            
    menu_display(id,menu,0)
        }  
        return 
    PLUGIN_HANDLED;
    }
    public 
    Ctmenu3(id,menu,item

        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE;
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   
        new 
    key str_to_num(data
        if(
    get_user_team(id) == 2
        { 
            switch(
    key
            {     
                case 
    1:  
                {     
                    
    give_itemid"weapon_awp" );
                    
    cs_set_user_bpammoidCSW_AWP30 ); 
                }  
                case 
    2:  
                {  
                    
    give_itemid"weapon_scout" );  
                    
    cs_set_user_bpammoidCSW_SCOUT90 ); 
                }  
                case 
    3:  
                { 
                    
    give_itemid"weapon_g3sg1" );  
                    
    cs_set_user_bpammoidCSW_G3SG190 ); 
                }              
                case 
    4:  
                {  
                    
    give_itemid"weapon_sg550" );  
                    
    cs_set_user_bpammoidCSW_SG55090 ); 
                }            
                    
            }  
        } 
        
    menu4(id);
        return 
    PLUGIN_HANDLED;  

    public 
    menu4(id)  
    {  
        if (
    get_user_team(id) == && is_user_alive(id)) 
        { 
            new 
    menu menu_create("\y[ Pompali Silah Menusu ] ","Ctmenu4")
            
    menu_additem(menu,"\wM3\r[MANUEL]","1");
            
    menu_additem(menu,"\wXM1014\r[TAM OTO]","2");
            
            
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
            
    menu_display(id,menu,0)
        }  
        return 
    PLUGIN_HANDLED;
    }
    public 
    Ctmenu4(id,menu,item

        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE;
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   
        new 
    key str_to_num(data
        if(
    get_user_team(id) == 2
        { 
            switch(
    key
            {     
                case 
    1:  
                {     
                    
    give_itemid"weapon_m3" );
                    
    cs_set_user_bpammoidCSW_M332 ); 
                }  
                case 
    2:  
                {  
                    
    give_itemid"weapon_xm1014" );  
                    
    cs_set_user_bpammoidCSW_XM101432 ); 
                }                
            }  
        } 
        
    menu5(id);
        return 
    PLUGIN_HANDLED;  

    public 
    menu5(id)  
    {  
        if (
    get_user_team(id) == && is_user_alive(id)) 
        { 
            new 
    menu menu_create("\y[ Tekli Silah Menusu ] ","Ctmenu5")
            
    menu_additem(menu,"\wGLOCK","1");
            
    menu_additem(menu,"\wUSP","2");
            
    menu_additem(menu,"\wP228","3");
            
    menu_additem(menu,"\wDEAGLE","4");
            
    menu_additem(menu,"\wFIVE-SEVEN","5");
            
    menu_additem(menu,"\wELITE\r[CIFT-TEKLI]","6");
            
            
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
            
    menu_display(id,menu,0)
        }  
        return 
    PLUGIN_HANDLED;
    }
    public 
    Ctmenu5(id,menu,item

        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE;
        } 
        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   
        new 
    key str_to_num(data
        if(
    get_user_team(id) == 2
        { 
            switch(
    key
            {     
                case 
    1:  
                {     
                    
    give_itemid"weapon_glock" );
                    
    cs_set_user_bpammoidCSW_GLOCK18120 ); 
                }  
                case 
    2:  
                {  
                    
    give_itemid"weapon_usp" );  
                    
    cs_set_user_bpammoidCSW_USP100 ); 
                }  
                case 
    3:  
                { 
                    
    give_itemid"weapon_p228" );  
                    
    cs_set_user_bpammoidCSW_P22852 ); 
                }              
                case 
    4:  
                {  
                    
    give_itemid"weapon_deagle" );  
                    
    cs_set_user_bpammoidCSW_DEAGLE35 ); 
                }      
                case 
    5:  
                {  
                    
    give_itemid"weapon_fiveseven" );  
                    
    cs_set_user_bpammoidCSW_FIVESEVEN100 ); 
                }  
                case 
    6:  
                {  
                    
    give_itemid"weapon_elite" );  
                    
    cs_set_user_bpammoidCSW_ELITE120 ); 
                }  
                    
            }  
        } 
        return 
    PLUGIN_HANDLED;  

    Merhabalar, smadanda bakabilirsiniz fark ettiğiniz gibi ctye el başladıktan bir saniye sonra menü geliyor seçtikçe seçiyor iyi güzel detaylı yaptım fakat yapamadığım daha doğrusu kurcalamadığım bir şey var önce ki el seçtiklerini hatırla diye bir şey yapabilir miyiz mesela 1.gün oldu adam silahları teklileri falan falan seçti sonra diğer elde Geçen El ki Silahları Al diye bir seçenek olsa ona bassa geçen el aldığı silahların aynıları gelse ?
    Bir de pluginde gereksiz kod yada yanlış kod var mıdır berk ?
    [ OSMANLI IMP # F-TIPI JAILBREAK ]
    [ İMAN AHLAK ADALET ]

    [ Pit10 ]

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

    -diğer sosyal ağlarımız-
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]



  2. #2
    binbaşı er sefatokgoz - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Aug 2012
    Yer
    Kocaeli-İzmit
    Mesajlar
    545
    Bahsedildi
    1 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: [JB] Silah Menü Bir Kaç İstek

    Misal bu dm modunda mevcut ?

  3. #3
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: [JB] Silah Menü Bir Kaç İstek

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

    #define PLUGIN "CTSILAH"  
    #define VERSION "1.0"  
    #define AUTHOR "Pit10"  

    new last_rifle[33],
    last_rifle_ammo[33],
    last_smg[33],
    last_smg_ammo[33],
    last_sniper[33],
    last_sniper_ammo[33],
    last_shotgun[33],
    last_shotgun_ammo[33],
    last_handgun[33],
    last_handgun_ammo[33];

    public 
    plugin_init() {  
        
    register_plugin(PLUGINVERSIONAUTHOR)  
        
        
    RegisterHamHam_Spawn"player""runda");   
    }  
    public 
    runda(id)  
    {      
        if(
    get_user_team(id) == 2)  
        { 
            
    strip_user_weapons(id); 
            
    give_itemid"weapon_knife" );
            if(
    last_rifle[id] || last_smg[id] || last_sniper[id] || last_shotgun[id] || last_handgun[id]) {
                
    firstmenu(id);
            }
            else {
                
    xmenu(id);
            }
            
        }
    }  
    public 
    firstmenu(id) {
        new 
    menu menu_create("\y[ CT Silah Menu Hizli Erisim ] ","fmenu_handle")
        
    menu_additem(menu,"\wOnceki Silahlari Hatirla","1");
        
    menu_additem(menu,"\wYeni Silah Sec","2");
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)
        
    menu_display(id,menu,0)
        return 
    PLUGIN_HANDLED
    }
    public 
    fmenu_handle(id,menu,item) {
        if(
    item == MENU_EXIT || !is_user_alive(id)) {
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        new 
    access,callback;
        new 
    name[32],data[6];
        
    menu_item_getinfo(menu,item,access,data,5,name,31,callback)
        switch(
    str_to_num(data)) {
            case 
    1:{
                static 
    szWeapName[32];
                if(
    last_rifle[id]) {
                    
    get_weaponname(last_rifle[id],szWeapName,31)
                    
    give_item(id,szWeapName)
                    
    cs_set_user_bpammo(id,last_rifle[id],last_rifle_ammo[id])
                }
                if(
    last_smg[id]) {
                    
    get_weaponname(last_smg[id],szWeapName,31)
                    
    give_item(id,szWeapName)
                    
    cs_set_user_bpammo(id,last_smg[id],last_smg_ammo[id])
                }
                if(
    last_sniper[id]) {
                    
    get_weaponname(last_sniper[id],szWeapName,31)
                    
    give_item(id,szWeapName)
                    
    cs_set_user_bpammo(id,last_sniper[id],last_sniper_ammo[id])
                }
                if(
    last_shotgun[id]) {
                    
    get_weaponname(last_shotgun[id],szWeapName,31)
                    
    give_item(id,szWeapName)
                    
    cs_set_user_bpammo(id,last_shotgun[id],last_shotgun_ammo[id])
                }
                if(
    last_handgun[id]) {
                    
    get_weaponname(last_handgun[id],szWeapName,31)
                    
    give_item(id,szWeapName)
                    
    cs_set_user_bpammo(id,last_handgun[id],last_handgun_ammo[id])
                }
            }
            case 
    2:{
                
    xmenu(id);
            }
        }
        return 
    PLUGIN_HANDLED
    }
    public 
    xmenuid )   
    {   
        new 
    menu menu_create("\y[ Agir Makinali Silah Menusu ] ","Ctmenu"
        
    menu_additem(menu,"\wAK47\r[KELES]","1"); 
        
    menu_additem(menu,"\wM4A1\r[COLT]","2"); 
        
    menu_additem(menu,"\wGALIL","3"); 
        
    menu_additem(menu,"\wFAMAS","4"); 
        
    menu_additem(menu,"\wM249\r[5-1]","5"); 
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
    menu_display(id,menu,0
        return 
    PLUGIN_HANDLED
    }   

    public 
    Ctmenu(id,menu,item)  
    {  
        
        if (
    item == MENU_EXIT || !is_user_alive(id))  
        {  
            
    menu_destroy(menu)  
            
            return 
    PLUGIN_CONTINUE
        }  
        
        new 
    data[6], iName[64]  
        new 
    accesscallback  
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)    
        new 
    key str_to_num(data)
        switch(
    key)  
        {      
            case 
    1:   
            {      
                
    give_itemid"weapon_ak47" );   
                
    cs_set_user_bpammoidCSW_AK4790 );  
                
    last_rifle[id] = CSW_AK47;
                
    last_rifle_ammo[id] = 90;
            }   
            case 
    2:   
            {   
                
    give_itemid"weapon_m4a1" );   
                
    cs_set_user_bpammoidCSW_M4A190 );  
                
    last_rifle[id] = CSW_M4A1
                last_rifle_ammo
    [id] = 90;
            }   
            case 
    3:   
            {  
                
    give_itemid"weapon_galil" );   
                
    cs_set_user_bpammoidCSW_GALIL90 );  
                
    last_rifle[id] = CSW_GALIL
                last_rifle_ammo
    [id] = 90;
            }               
            case 
    4:   
            {   
                
    give_itemid"weapon_famas" );   
                
    cs_set_user_bpammoidCSW_FAMAS90 );  
                
    last_rifle[id] = CSW_FAMAS
                last_rifle_ammo
    [id] = 90;
            }       
            case 
    5
            { 
                
    give_itemid"weapon_m249");  
                
    cs_set_user_bpammoidCSW_M249200 ); 
                
    last_rifle[id] = CSW_M249
                last_rifle_ammo
    [id] = 200;
            }       
            
        }   
        
    menu2(id); 
        
    give_itemid"item_kevlar");  
        
    give_itemid"weapon_hegrenade");  
        return 
    PLUGIN_HANDLED;   
    }  
    public 
    menu2(id)   
    {    
        new 
    menu menu_create("\y[ Hafif Makinali Silah Menusu ] ","Ctmenu2"
        
    menu_additem(menu,"\wMP5NAVY\r[MP5]","1"); 
        
    menu_additem(menu,"\wTMP","2"); 
        
    menu_additem(menu,"\wMAC10\r[UZI]","3"); 
        
    menu_additem(menu,"\wP90","4"); 
        
    menu_additem(menu,"\wUMP45","5"); 
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
    menu_display(id,menu,0
        
        return 
    PLUGIN_HANDLED

    public 
    Ctmenu2(id,menu,item)  
    {  
        
        if (
    item == MENU_EXIT || !is_user_alive(id))  
        {  
            
    menu_destroy(menu)  
            
            return 
    PLUGIN_CONTINUE
        }  
        
        new 
    data[6], iName[64]  
        new 
    accesscallback  
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)    
        new 
    key str_to_num(data)  
        if(
    get_user_team(id) == 2)  
        {  
            switch(
    key)  
            {      
                case 
    1:   
                {      
                    
    give_itemid"weapon_mp5navy" ); 
                    
    cs_set_user_bpammoidCSW_MP5NAVY120 );  
                    
    last_smg[id] = CSW_MP5NAVY
                    last_smg_ammo
    [id] = 120
                
    }   
                case 
    2:   
                {   
                    
    give_itemid"weapon_tmp" );   
                    
    cs_set_user_bpammoidCSW_TMP120 );  
                    
    last_smg[id] = CSW_TMP
                    last_smg_ammo
    [id] = 120
                
    }   
                case 
    3:   
                {  
                    
    give_itemid"weapon_mac10" );   
                    
    cs_set_user_bpammoidCSW_MAC10120 );  
                    
    last_smg[id] = CSW_MAC10
                    last_smg_ammo
    [id] = 120
                
    }               
                case 
    4:   
                {   
                    
    give_itemid"weapon_p90" );   
                    
    cs_set_user_bpammoidCSW_P90100 );
                    
    last_smg[id] = CSW_P90
                    last_smg_ammo
    [id] = 100
                
    }       
                case 
    5
                { 
                    
    give_itemid"weapon_ump45");  
                    
    cs_set_user_bpammoidCSW_UMP45100 );  
                    
    last_smg[id] = CSW_UMP45
                    last_smg_ammo
    [id] = 100
                
    }       
                
            }   
        }  
        
    menu3(id); 
        return 
    PLUGIN_HANDLED;   
    }  
    public 
    menu3(id)   
    {   
        new 
    menu menu_create("\y[ Durbunlu Silah Menusu ] ","Ctmenu3"
        
    menu_additem(menu,"\wAWP","1"); 
        
    menu_additem(menu,"\wSCOUT","2"); 
        
    menu_additem(menu,"\wG3SG1\r[T- OTO AWP]","3"); 
        
    menu_additem(menu,"\wSG550\r[CT- OTO AWP]","4"); 
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
    menu_display(id,menu,0)  
        return 
    PLUGIN_HANDLED

    public 
    Ctmenu3(id,menu,item)  
    {  
        
        if (
    item == MENU_EXIT || !is_user_alive(id))  
        {  
            
    menu_destroy(menu)  
            return 
    PLUGIN_CONTINUE
        }  
        
        new 
    data[6], iName[64]  
        new 
    accesscallback  
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)    
        new 
    key str_to_num(data)  
        if(
    get_user_team(id) == 2)  
        {  
            switch(
    key)  
            {      
                case 
    1:   
                {      
                    
    give_itemid"weapon_awp" ); 
                    
    cs_set_user_bpammoidCSW_AWP30 );  
                    
    last_sniper[id] = CSW_AWP;
                    
    last_sniper_ammo[id] = 30;
                }   
                case 
    2:   
                {   
                    
    give_itemid"weapon_scout" );   
                    
    cs_set_user_bpammoidCSW_SCOUT90 );  
                    
    last_sniper[id] = CSW_SCOUT;
                    
    last_sniper_ammo[id] = 90;
                }   
                case 
    3:   
                {  
                    
    give_itemid"weapon_g3sg1" );   
                    
    cs_set_user_bpammoidCSW_G3SG190 );
                    
    last_sniper[id] = CSW_G3SG1;
                    
    last_sniper_ammo[id] = 90 ;
                }               
                case 
    4:   
                {   
                    
    give_itemid"weapon_sg550" );   
                    
    cs_set_user_bpammoidCSW_SG55090 );  
                    
    last_sniper[id] = CSW_SG550;
                    
    last_sniper_ammo[id] =  90;
                }             
                
            }   
        }  
        
    menu4(id); 
        return 
    PLUGIN_HANDLED;   
    }  
    public 
    menu4(id)   
    {   
        new 
    menu menu_create("\y[ Pompali Silah Menusu ] ","Ctmenu4"
        
    menu_additem(menu,"\wM3\r[MANUEL]","1"); 
        
    menu_additem(menu,"\wXM1014\r[TAM OTO]","2"); 
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
    menu_display(id,menu,0)   
        return 
    PLUGIN_HANDLED

    public 
    Ctmenu4(id,menu,item)  
    {  
        if (
    item == MENU_EXIT || !is_user_alive(id))  
        {  
            
    menu_destroy(menu)  
            
            return 
    PLUGIN_CONTINUE
        }  
        
        new 
    data[6], iName[64]  
        new 
    accesscallback  
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)    
        new 
    key str_to_num(data)  
        if(
    get_user_team(id) == 2)  
        {  
            switch(
    key)  
            {      
                case 
    1:   
                {      
                    
    give_itemid"weapon_m3" ); 
                    
    cs_set_user_bpammoidCSW_M332 ); 
                    
    last_shotgun[id] = CSW_M3;
                    
    last_shotgun_ammo[id] = 32;
                }   
                case 
    2:   
                {   
                    
    give_itemid"weapon_xm1014" );   
                    
    cs_set_user_bpammoidCSW_XM101432 );  
                    
    last_shotgun[id] = CSW_XM1014;
                    
    last_shotgun_ammo[id] = 32;
                }                 
            }   
        }  
        
    menu5(id); 
        return 
    PLUGIN_HANDLED;   
    }  
    public 
    menu5(id)   
    {   
        new 
    menu menu_create("\y[ Tekli Silah Menusu ] ","Ctmenu5"
        
    menu_additem(menu,"\wGLOCK","1"); 
        
    menu_additem(menu,"\wUSP","2"); 
        
    menu_additem(menu,"\wP228","3"); 
        
    menu_additem(menu,"\wDEAGLE","4"); 
        
    menu_additem(menu,"\wFIVE-SEVEN","5"); 
        
    menu_additem(menu,"\wELITE\r[CIFT-TEKLI]","6"); 
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_ALL
        
    menu_display(id,menu,0
        return 
    PLUGIN_HANDLED

    public 
    Ctmenu5(id,menu,item)  
    {  
        
        if (
    item == MENU_EXIT || !is_user_alive(id))  
        {  
            
    menu_destroy(menu)  
            
            return 
    PLUGIN_CONTINUE
        }  
        
        new 
    data[6], iName[64]  
        new 
    accesscallback  
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)    
        new 
    key str_to_num(data)  
        if(
    get_user_team(id) == 2)  
        {  
            switch(
    key)  
            {      
                case 
    1:   
                {      
                    
    give_itemid"weapon_glock" ); 
                    
    cs_set_user_bpammoidCSW_GLOCK18120 );  
                    
    last_handgun[id] = CSW_GLOCK18;
                    
    last_handgun_ammo[id] = 120;
                }   
                case 
    2:   
                {   
                    
    give_itemid"weapon_usp" );   
                    
    cs_set_user_bpammoidCSW_USP100 );  
                    
    last_handgun[id] = CSW_USP;
                    
    last_handgun_ammo[id] = 100;
                }   
                case 
    3:   
                {  
                    
    give_itemid"weapon_p228" );   
                    
    cs_set_user_bpammoidCSW_P22852 );  
                    
    last_handgun[id] = CSW_P228;
                    
    last_handgun_ammo[id] = 52;
                }               
                case 
    4:   
                {   
                    
    give_itemid"weapon_deagle" );   
                    
    cs_set_user_bpammoidCSW_DEAGLE35 );  
                    
    last_handgun[id] = CSW_DEAGLE;
                    
    last_handgun_ammo[id] = 35;
                }       
                case 
    5:   
                {   
                    
    give_itemid"weapon_fiveseven" );   
                    
    cs_set_user_bpammoidCSW_FIVESEVEN100 );  
                    
    last_handgun[id] = CSW_FIVESEVEN;
                    
    last_handgun_ammo[id] = 100;
                }   
                case 
    6:   
                {   
                    
    give_itemid"weapon_elite" );   
                    
    cs_set_user_bpammoidCSW_ELITE120 );  
                    
    last_handgun[id] = CSW_ELITE;
                    
    last_handgun_ammo[id] = 120;
                }   
            }   
        }  
        return 
    PLUGIN_HANDLED;   

    Bir dene bakalım, büyük ihtimalle çalışır
    Konu akcaliberkk tarafından (22-04-13 Saat 20:28 ) değiştirilmiştir.

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



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


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


  4. #4
    binbaşı er Furkan Dize - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2012
    Yer
    İstanbul
    Mesajlar
    537
    Bahsedildi
    11 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    9

    Standart Cevap: [JB] Silah Menü Bir Kaç İstek

    Emeğine sağlık berk sağolasın
    [ OSMANLI IMP # F-TIPI JAILBREAK ]
    [ İMAN AHLAK ADALET ]

    [ Pit10 ]

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

    -diğer sosyal ağlarımız-
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]
    [
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
    ]



  5. #5
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: [JB] Silah Menü Bir Kaç İstek

    Çözülmüş İsteklere taşındı.

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



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


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


Benzer Konular

  1. [JB] CT Silah Menü (4.-5.-6.-7... Silah Alma) Plugini
    By Schwertle in forum Jail & Deathrun Pluginler
    Cevaplar: 156
    Son Mesaj: 21-01-17, 21:55
  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. Hatali Menü
    By batuopoz0770 in forum Çözülmüş İstekler
    Cevaplar: 2
    Son Mesaj: 23-09-12, 08:50

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