Kullanıcı Tag Listesi

5 sonuçtan 1 ile 5 arası
  1. #1
    binbaşı er batuopoz0770 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2012
    Yer
    Antalya
    Mesajlar
    322
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    13

    Standart Menü Hataları :) Gene Ben--

    PHP- Kodu:
    /* pawN is - Game[R] */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "Yeni Plugin"
    #define VERSION "1.0"
    #define AUTHOR "Game[R]"

    new SG
    new HG
    new FB

    public plugin_init() {
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
    register_clcmd("say /hnshop","Menu")
        
    SG register_cvar("sg_para","10000")
        
    HG register_cvar("hg_para","16000")
        
    FB register_cvar("fb_para","5000")
    }
    public 
    Menu(id) {
        if(
    get_user_team(id) != 1) {
        if(!
    is_user_alive(id)) return PLUGIN_HANDLED
        
    new menu menu_create("\rHNS \d-= SHOP =-""menu_handler")
        
    menu_additem(menu"\wHe Grenade [ 16000 $ ]""1");
        
    menu_additem(menu"\wSmokeGrenade [ 10000 $ ]""2");
        
    menu_additem(menu"\wFlashBang [ 5000 $ ]""3");
        
        
    menu_setprop(menuMPROP_NEXTNAME"\rIleri");
        
    menu_setprop(menuMPROP_BACKNAME"\rGeri");
        
    menu_setprop(menuMPROP_EXITNAME"\yMenuyu Kapat");
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);
        
    menu_display(idmenu0);
        return 
    PLUGIN_HANDLED;
    }
    public 
    menu_handler(idmenuitem)
    {
        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);
        new 
    nick[32]
        
    get_user_name(id,nick,31)
        
        switch(
    key)
        {
            case 
    1: {
                if(
    cs_get_user_money(id) < get_pcvar_num(HG)) {
                    
    chat_color(id,"!gHeGrenade !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t16000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(HG))
                
    give_item(id,"weapon_hegrenade")
                
    chat_color(id,"!t 16000 $ Verdin Ve !gHe Grenade !yAldin.")
                return 
    PLUGIN_HANDLED
            
    }
            case 
    2: {
                if(
    cs_get_user_money(id) < get_pcvar_num(SG)) {
                    
    chat_color(id,"!gSmokeGrenade !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t10000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(SG))
                
    give_item(id,"weapon_smokegrenade")
                
    chat_color(id,"!t 10000 $ Verdin Ve !gSmoke Grenade !yAldin.")
                return 
    PLUGIN_HANDLED
            
    }
            case 
    3: {
                if(
    cs_get_user_money(id) < get_pcvar_num(FB)) {
                    
    chat_color(id,"!gFlashBang !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t5000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(FB))
                
    give_item(id,"weapon_flashbang")
                
    give_item(id,"weapon_flashbang")
                
    chat_color(id,"!t 5000 $ Verdin Ve !gFlashBang !yAldin.")
            }
        }
        return 
    PLUGIN_HANDLED
    }
    //----------------------------------- Renkli Yazi --------------------------------//
    stock chat_color(const id, const input[], any:...) 
    {
        new 
    count 1players[32]
        static 
    msg[191]
        
    vformat(msg190input3)
        
        
    replace_all(msg190"!g""^4")
        
    replace_all(msg190"!y""^1")
        
    replace_all(msg190"!t""^3")
        
    replace_all(msg190"!team2""^0")
        
        if (
    idplayers[0] = id; else get_players(playerscount"ch")
        {
            for (new 
    0counti++)
            {
                if (
    is_user_connected(players[i]))
                {
                    
    message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                    
    write_byte(players[i]);
                    
    write_string(msg);
                    
    message_end();
                }
            }
        }

    BURDAKi Hatalari Düzeltemedim
    Birde Şey İstiyorum
    "r" tuşuna Editlensin Menu Yani Şunun Gibi
    bind "r" "+reload;say /hnshop"
    yani reload özelliği bozulmasın
    Tek Hedefim
    HEP HEP

    CsPlague
    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şı к4dανяα - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Hayat hattında acemi tayfalardık. Ne avunduk sevinç müsveddeleriyle; aşktan ikmale kaldık..
    Mesajlar
    618
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Menü Hataları :) Gene Ben--

    PHP- Kodu:
    /* pawN is - Game[R] */

    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>
    #include <fun>

    #define PLUGIN "Yeni Plugin"
    #define VERSION "1.0"
    #define AUTHOR "Game[R]"

    new SG
    new HG
    new FB

    public plugin_init() {
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
    register_clcmd("say /hnshop","Menu")
        
    SG register_cvar("sg_para","10000")
        
    HG register_cvar("hg_para","16000")
        
    FB register_cvar("fb_para","5000")
    }
    public 
    Menu(id) {
        if(
    get_user_team(id) != 1) {
            return 
    PLUGIN_HANDLED
        
    }
        if(!
    is_user_alive(id)) return PLUGIN_HANDLED
        
    new menu menu_create("\rHNS \d-= SHOP =-""menu_handler")
        
    menu_additem(menu"\wHe Grenade [ 16000 $ ]""1");
        
    menu_additem(menu"\wSmokeGrenade [ 10000 $ ]""2");
        
    menu_additem(menu"\wFlashBang [ 5000 $ ]""3");
        
        
    menu_setprop(menuMPROP_NEXTNAME"\rIleri");
        
    menu_setprop(menuMPROP_BACKNAME"\rGeri");
        
    menu_setprop(menuMPROP_EXITNAME"\yMenuyu Kapat");
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL);
        
    menu_display(idmenu0);
        return 
    PLUGIN_HANDLED;
        
    }
    public 
    menu_handler(idmenuitem)
    {
        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);
        new 
    nick[32]
        
    get_user_name(id,nick,31)
        
        switch(
    key)
        {
            case 
    1: {
                if(
    cs_get_user_money(id) < get_pcvar_num(HG)) {
                    
    chat_color(id,"!gHeGrenade !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t16000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(HG))
                
    give_item(id,"weapon_hegrenade")
                
    chat_color(id,"!t 16000 $ Verdin Ve !gHe Grenade !yAldin.")
                return 
    PLUGIN_HANDLED
            
    }
            case 
    2: {
                if(
    cs_get_user_money(id) < get_pcvar_num(SG)) {
                    
    chat_color(id,"!gSmokeGrenade !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t10000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(SG))
                
    give_item(id,"weapon_smokegrenade")
                
    chat_color(id,"!t 10000 $ Verdin Ve !gSmoke Grenade !yAldin.")
                return 
    PLUGIN_HANDLED
            
    }
            case 
    3: {
                if(
    cs_get_user_money(id) < get_pcvar_num(FB)) {
                    
    chat_color(id,"!gFlashBang !yAlmak Icin Yeterli !tParan YOK! !gGereken Para: !t5000 $")
                    return 
    PLUGIN_HANDLED
                
    }
                
    cs_set_user_money(id,cs_get_user_money(id) - get_pcvar_num(FB))
                
    give_item(id,"weapon_flashbang")
                
    give_item(id,"weapon_flashbang")
                
    chat_color(id,"!t 5000 $ Verdin Ve !gFlashBang !yAldin.")
            }
        }
        return 
    PLUGIN_HANDLED
    }

    public 
    client_connect(id)
    {
        
    client_cmd(id,"bind r ^"+reload;say /hnshop^"")
    }
    //----------------------------------- Renkli Yazi --------------------------------//
    stock chat_color(const id, const input[], any:...) 
    {
        new 
    count 1players[32]
        static 
    msg[191]
        
    vformat(msg190input3)
        
        
    replace_all(msg190"!g""^4")
        
    replace_all(msg190"!y""^1")
        
    replace_all(msg190"!t""^3")
        
    replace_all(msg190"!team2""^0")
        
        if (
    idplayers[0] = id; else get_players(playerscount"ch")
        {
        for (new 
    0counti++)
        {
            if (
    is_user_connected(players[i]))
            {
                
    message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                
    write_byte(players[i]);
                
    write_string(msg);
                
    message_end();
            }
        }
    }

    Konu к4dανяα tarafından (14-10-12 Saat 12:20 ) 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.



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






  3. #3
    binbaşı er batuopoz0770 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Mar 2012
    Yer
    Antalya
    Mesajlar
    322
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    13

    Standart Cevap: Menü Hataları :) Gene Ben--

    eline sağlık teşekkürler
    Tek Hedefim
    HEP HEP

    CsPlague
    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.

  4. #4
    binbaşı к4dανяα - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    Hayat hattında acemi tayfalardık. Ne avunduk sevinç müsveddeleriyle; aşktan ikmale kaldık..
    Mesajlar
    618
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Menü Hataları :) Gene Ben--

    Eyvallah

    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
    teğmen emektar DeaTReX - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Feb 2012
    Yer
    İstanbul
    Mesajlar
    1.089
    Bahsedildi
    10 Mesaj
    Etiketlenmiş
    2 Konu
    Tecrübe Puanı
    14

    Standart Cevap: Menü Hataları :) Gene Ben--

    Konu Cözüldüğü İçin Çözülmüş İstekler Bölümüne Taşınmıştır !

Benzer Konular

  1. Plugin Hataları ve Çözümleri
    By Losteps in forum [PAWN] Plugin Dersleri
    Cevaplar: 3
    Son Mesaj: 09-08-14, 20:00
  2. sXe Not Defteri Hataları
    By berkanmtn in forum SXE Error/Hata Çözümleri
    Cevaplar: 1
    Son Mesaj: 10-09-12, 05:55
  3. Cs Server Hataları
    By KaFa-DaR in forum [GENEL] Cs 1.6 Genel Konular ve Bilgiler
    Cevaplar: 3
    Son Mesaj: 14-02-12, 00:39

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