Kullanıcı Tag Listesi

8 sonuçtan 1 ile 8 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ı
    13

    Standart Daha Detaylı Şekilde Kodlar

    PHP- Kodu:
            if(get_cvar_num("mp_friendlyfire"))
            {
                
    menu_additem(menu"\yFF Kapat""2")
            }
            else
            {
                
    menu_additem(menu"\yFF Ac""2")
            }
            case 
    2:
            {
                if(
    get_cvar_num("mp_friendlyfire"))
                {
                    
    set_cvar_num("mp_friendlyfire",0)
                    
    ColorChat(0GREEN,"[ OSMANLI IMP ` F-Tipi JailBreak ] ^3%s ^1FriendlFire'i ^1Kapatti.",adnm);
                    
                }
                else
                {
                    
    set_cvar_num("mp_friendlyfire",1)
                    
    ColorChat(0GREEN,"[ OSMANLI IMP ` F-Tipi JailBreak ] ^3%s ^1FriendlFire'i ^1Acti.",adnm);
                }
            } 
    Bunu böyle yapabiliyorum fakat unammoyu
    PHP- Kodu:
    public unammo(id){   
            
        new 
    menu menu_create("\y[ Unammo Ac/Kapa ]""unammo2")    
            
        
    menu_additem(menu"\wUnammoyu Ac""1"0);    
        
    menu_additem(menu"\wUnammoyu Kapat""2"0);    
            
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);    
        
    menu_display(idmenu0);    
        
    }
    public 
    unammo2(id,menu,item)
    {
        
        if( 
    item == MENU_EXIT )    
        {    
            
    menu_destroy(menu);    
            return 
    PLUGIN_HANDLED;    
        }    
        new 
    adnm[33]
        
    get_user_name(idadnm32)
        new 
    data[6], iName[64];
        new 
    accesscallback;
        
    menu_item_getinfo(menuitemaccessdata,5iName63callback);
        new 
    key str_to_num(data);
        
        switch(
    key)
            
        {    
            case 
    1
            {  
                
    server_cmd("amx_show_activity 0");
                
    server_cmd("amx_unammo @all 1");
                
    server_cmd("amx_show_activity 2");
                
    ColorChat(0GREEN,"%s ^1Herkes Icin Unammo'yu [^4AKTIF^1 ] Etti.",adnm);
                
    anamenu(id)
            
            }      
            case 
    2
            {     
                
    server_cmd("amx_show_activity 0");
                
    server_cmd("amx_unammo @all 0");
                
    server_cmd("amx_show_activity 2");
                
    ColorChat(0GREEN,"%s ^1Unammo'yu [^4DEVRE DISI^1 ] Etti.",adnm);
                
    anamenu(id)
            }            
        } 
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;
         

    Bu şekilde yapıyorum unammoyuda ff şeklinde "Açıksa Kapat" "Kapalıysa Aç" şekilnde tek bi menüde yapabilir miyim ? Bir de
    PHP- Kodu:
    public hpmenu(id)
    {
        new 
    menu menu_create("\y[ HP Ayarlari ]""hpmenu2")  
        
    menu_additem(menu"\yHerkesin \rHP'yi \y[ 100 ] Yap""1"0);  
        
    menu_additem(menu"\yGardiyanlarin \rHP'yi \y[ 100 ] Yap""2"0);  
        
    menu_additem(menu"\yMahkumlarin \rHP'yi \y[ 100 ] Yap""3"0);  
        
    menu_additem(menu"\yGardiyanlarin \rHP'yi \y[ 1000 ] Yap""4"0);  
        
    menu_additem(menu"\yGardiyanlarin \rHP'yi \y[ 20000 ] Yap""5"0);  

        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);    
        
    menu_display(idmenu0); 
    }
        
    public 
    hpmenu2(id,menu,item)
    {
        
        if( 
    item == MENU_EXIT )    
        {    
            
    menu_destroy(menu);    
            return 
    PLUGIN_HANDLED;    
        }    
        new 
    adnm[33]
        
    get_user_name(idadnm32)
        new 
    data[6], iName[64];
        new 
    accesscallback;
        
    menu_item_getinfo(menuitemaccessdata,5iName63callback);
        new 
    key str_to_num(data);
        
        switch(
    key)
            
        {    
            case 
    1
            {  
                new 
    adnm[33]
                
    get_user_name(id,adnm,32)
                static 
    players[32],inum,tempid;
                
    get_players(players,inum,"ae","CT")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid100)
                }
                
    get_players(players,inum,"ae","TERRORIST")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid100)
                }
                
    ColorChat(0GREEN,"%s ^1Herkesin Canini [^3 100 ^1] Yapti.",adnm);
                
    anamenu(id)
            
            }      
            case 
    2
            {     
                new 
    adnm[33]
                
    get_user_name(id,adnm,32)
                static 
    players[32],inum,tempid;
                
    get_players(players,inum,"ae","CT")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid100)
                }
                
    ColorChat(0GREEN,"%s ^1Gardiyanlarin Canini [^3 100 ^1] Yapti.",adnm);
                
    anamenu(id)
            }        
            case 
    3
            {     
                new 
    adnm[33]
                
    get_user_name(id,adnm,32)
                static 
    players[32],inum,tempid;
                
    get_players(players,inum,"ae","TERRORIST")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid100)
                }
                
    ColorChat(0GREEN,"%s ^1Mahkumlarin Canini [^3 100 ^1] Yapti.",adnm);
                
    anamenu(id)
            }        
            case 
    4
            {     
                new 
    adnm[33]
                
    get_user_name(id,adnm,32)
                static 
    players[32],inum,tempid;
                
    get_players(players,inum,"ae","CT")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid1000)
                }
                
    ColorChat(0GREEN,"%s ^1Gardiyanlarin Canini [^3 1000 ^1] Yapti.",adnm);
                
    anamenu(id)
            }        
            case 
    5
            {     
                new 
    adnm[33]
                
    get_user_name(id,adnm,32)
                static 
    players[32],inum,tempid;
                
    get_players(players,inum,"ae","CT")
                for(new 
    i;i<inum;i++) {
                    
    tempid players[i];
                    
    set_user_health(tempid20000)
                }
                
    ColorChat(0GREEN,"%s ^1Herkesin Canini [^3 20000 ^1] Yapti.",adnm);
                
    anamenu(id)
            }        
        } 
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;
         

    Bu hpmenude İlk üç seçenek istediğim gibi peki tamam fakat 4. ve 5. seçenekte adam kaç vermek istiyorsa message modda öyle yazsa yazdığı kadar verse yardımcı olur musunuz ?
    [ 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 wolf5094 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Nevşehir
    Mesajlar
    369
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Daha Detaylı Şekilde Kodlar

    unammo =
    1:öncelikle bi değişken atayacaksın ben engel1 olarak atadım.
    daha sonra Menuyu if ile şartlandıracaksın: if(engel1[id] == 0){
    menu_additem(menu, "\wUnammoyu Ac", "1", 0);
    }
    else {
    menu_additem(menu, "\wUnammoyu kapa", "1", 0);
    }

    casesine gelince de sadece tek casede toplayacaksın.
    case 1
    if engel1[id] == 1) {
    değerleri yaz en sonuna
    engel1[id] == 0
    } else {açma değerlerini yaz sonuna engel1[id] == 0 yaz bukadar.

    if if(engel1[id] == 0){

    PHP- Kodu:
    new engel1[33];

    public 
    unammo(id){    
             
        new 
    menu menu_create("\y[ Unammo Ac/Kapa ]""unammo2")     
        if(
    engel1[id] == 0) {
        
    menu_additem(menu"\wUnammoyu Ac""1"0); 
        else {
        
    menu_additem(menu"\wUnammoyu Kapat""1"0);  
    }
        }
             
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);     
        
    menu_display(idmenu0);     
         

    public 
    unammo2(id,menu,item

         
        if( 
    item == MENU_EXIT )     
        {     
            
    menu_destroy(menu);     
            return 
    PLUGIN_HANDLED;     
        }     
        new 
    adnm[33
        
    get_user_name(idadnm32
        new 
    data[6], iName[64]; 
        new 
    accesscallback
        
    menu_item_getinfo(menuitemaccessdata,5iName63callback); 
        new 
    key str_to_num(data); 
         
        switch(
    key
             
        {     
            case 
    1:  
            {   
                if(
    engel1[id] == 0) {
                
    server_cmd("amx_show_activity 0"); 
                
    server_cmd("amx_unammo @all 1"); 
                
    server_cmd("amx_show_activity 2"); 
                
    ColorChat(0GREEN,"%s ^1Herkes Icin Unammo'yu [^4AKTIF^1 ] Etti.",adnm); 
                
    anamenu(id
                
    engel1[id] = 1
            
    }
            else  {
                
    server_cmd("amx_show_activity 0"); 
                
    server_cmd("amx_unammo @all 0"); 
                
    server_cmd("amx_show_activity 2"); 
                
    ColorChat(0GREEN,"%s ^1Unammo'yu [^4DEVRE DISI^1 ] Etti.",adnm); 
                
    anamenu(id
                
    engel1[id] = 0
                
            
    }
             
            }       
            
        }  
        
    menu_destroy(menu); 
        return 
    PLUGIN_HANDLED
          



    ---------- Alttaki Mesaj Zamani 14:59 ---------- Önceki Mesaj Zamani 14:58 ----------

    Kodlamada parantez hataları fln yoksa çalışır plugin aceleye yaptığım için parantezlere dikkat etmedim sen kontrol et yap olmazsa akşama tam yaparım şuan yeğenim geldi onunla uğraşcam görüsürüz )
    Konu wolf5094 tarafından (23-04-13 Saat 17:01 ) değiştirilmiştir.
    1:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


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

  3. #3
    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ı
    13

    Standart Cevap: Daha Detaylı Şekilde Kodlar

    PHP- Kodu:

    #include <amxmodx>
    #include <amxmisc>
    #include <fun>
    #include <colorchat>

    #define PLUGIN "asasas"
    #define VERSIYON "sasaass"
    #define AUTHOR "peNgueN"

    new gardiyan33 ];

    public 
    plugin_init() {
        
        
    register_plugin(PLUGINVERSIYONAUTHOR);
        
    register_clcmd"say /hpmenu""hpmenu" );
        
    register_clcmd("HP""Gardiyan_Hp");
    }

    public 
    Gardiyan_Hp(id)
    {
        new 
    say300 ]
        
    read_argssaycharsmaxsay ) )
        
        
    remove_quotes(say);
        
        if( !
    is_str_numsay ) || equalsay"" ) )
            return 
    PLUGIN_HANDLED;
        
        
    HPidsay );    
        
        return 
    PLUGIN_CONTINUE
    }

    public 
    HPidsay[] ) 
    {
        new 
    miktar str_to_numsay );
        
        new 
    adminisim64 ];
        
        if(
    get_playersnum() > 0)
        {
            
    get_user_nameidadminisimcharsmaxadminisim ) );
            
            
            if(
    gardiyanid ] == 1) {
                new 
    oyuncular32 ], onum;
                
    get_playersoyuncularonum"ae""CT" );
                for( new 
    ionumi++ )
                {
                    
    set_user_healthoyuncular], get_user_healthoyuncular] ) + miktar );
                }
                
    ColorChat(0GREEN,"%s ^1Gardiyanlara [^3 %d ^1] Can Verdi."adminisimmiktar );
            }
            else if(
    gardiyanid ] == 2) {
                new 
    oyuncular32 ], onum;
                
    get_playersoyuncularonum"ae""TERRORIST" );
                for( new 
    ionumi++ )
                {
                    
    set_user_healthoyuncular], get_user_healthoyuncular] ) + miktar );
                }
                
    ColorChat(0GREEN,"%s ^1Mahkumlara [^3 %d ^1] Can Verdi."adminisimmiktar );
            }
            
        }
        
        return 
    PLUGIN_HANDLED;
    }   

    public 
    hpmenu(id)
    {
        new 
    menu menu_create("\y[ HP Ayarlari ]""hpmenu2")  
        
    menu_additem(menu"\yHerkesin \rHP'yi \y[ 100 ] Yap""1"0);  
        
    menu_additem(menu"\yGardiyanlarin \rHP'yi \y[ 100 ] Yap""2"0);  
        
    menu_additem(menu"\yMahkumlarin \rHP'yi \y[ 100 ] Yap""3"0);  
        
    menu_additem(menu"\yGardiyanlarin \rHP'sini \yAyarla""4"0);  
        
    menu_additem(menu"\yMahkumlarin \rHP'sini \yAyarla""5"0);  
        
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);    
        
    menu_display(idmenu0); 
    }

    public 
    hpmenu2(id,menu,item)
    {
        
        if( 
    item == MENU_EXIT )    
        {    
            
    menu_destroy(menu);    
            return 
    PLUGIN_HANDLED;    
        }    
        new 
    adnm[33]
        
    get_user_name(idadnm32)
        new 
    data[6], iName[64];
        new 
    accesscallback;
        
    menu_item_getinfo(menuitemaccessdata,5iName63callback);
        new 
    key str_to_num(data);
        
        switch(
    key)
            
    {    
        case 
    1
        {  
            new 
    adnm[33]
            
    get_user_name(id,adnm,32)
            static 
    players[32],inum,tempid;
            
    get_players(players,inum,"ae","CT")
            for(new 
    i;i<inum;i++) {
                
    tempid players[i];
                
    set_user_health(tempid100)
            }
            
    get_players(players,inum,"ae","TERRORIST")
            for(new 
    i;i<inum;i++) {
                
    tempid players[i];
                
    set_user_health(tempid100)
            }
            
    ColorChat(0GREEN,"%s ^1Herkesin Canini [^3 100 ^1] Yapti.",adnm);
            
    //anamenu(id)
            
        
    }      
        case 
    2
        {     
            new 
    adnm[33]
            
    get_user_name(id,adnm,32)
            static 
    players[32],inum,tempid;
            
    get_players(players,inum,"ae","CT")
            for(new 
    i;i<inum;i++) {
                
    tempid players[i];
                
    set_user_health(tempid100)
            }
            
    ColorChat(0GREEN,"%s ^1Gardiyanlarin Canini [^3 100 ^1] Yapti.",adnm);
            
    //anamenu(id)
        
    }        
        case 
    3
        {     
            new 
    adnm[33]
            
    get_user_name(id,adnm,32)
            static 
    players[32],inum,tempid;
            
    get_players(players,inum,"ae","TERRORIST")
            for(new 
    i;i<inum;i++) {
                
    tempid players[i];
                
    set_user_health(tempid100)
            }
            
    ColorChat(0GREEN,"%s ^1Mahkumlarin Canini [^3 100 ^1] Yapti.",adnm);
            
    //anamenu(id)
        
    }        
        case 
    4
        {     
            
    gardiyanid ] = 1;
            
    client_cmdid"messagemode HP" );
        }        
        case 
    5
        {     
            
    gardiyanid ] = 2;
            
    client_cmdid"messagemode HP" );
        }        

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;



  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ı
    13

    Standart Cevap: Daha Detaylı Şekilde Kodlar

    Eline sağlık peki bu menu olayı nasıl olcak ?
    [ 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
    binbaşı er wolf5094 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Nevşehir
    Mesajlar
    369
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Daha Detaylı Şekilde Kodlar

    Benim yaptığım oldu mu olmadıysa düzenleyim.
    1:
    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


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

  6. #6
    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ı
    13

    Standart Cevap: Daha Detaylı Şekilde Kodlar

    Teşekkürler kardeşim ayarladım Kod için sağolun beyler
    [ 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.
    ]



  7. #7
    binbaşı er wolf5094 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Nevşehir
    Mesajlar
    369
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Daha Detaylı Şekilde Kodlar

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


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

  8. #8
    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: Daha Detaylı Şekilde Kodlar

    Çö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. Dedicated Server Adminlik Eklemek (2 Şekilde)
    By SkuLL in forum [Linux|Win] Cs 1.6 Server Kurulum - Ayarları
    Cevaplar: 11
    Son Mesaj: 03-03-15, 01:50
  2. eee Daha Daha Nasılsınız ? Uzun Zamandır Yoktum
    By compLexLife in forum Sohbet / Geyik
    Cevaplar: 0
    Son Mesaj: 03-12-12, 01:50
  3. Royal Cfg (Pro, surf ve dead, 3 Farklı Şekilde)
    By BoRDo BeReLi in forum [CONFIG] CS 1.6 CFG
    Cevaplar: 0
    Son Mesaj: 19-02-12, 23:10

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

unammo kapama plugini

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