Kullanıcı Tag Listesi

9 sonuçtan 1 ile 9 arası
Like Tree1Likes
  • 1 Post By akcaliberkk

Konu: amx_sxebanmenu

Threaded View

  1. #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: amx_sxebanmenu

    PHP- Kodu:
    /* Plugin generated by AMXX-Studio */

    #include <amxmodx>
    #include <amxmisc>

    #define PLUGIN "SxeBanMenu"
    #define VERSION "1.0"
    #define AUTHOR "akcaliberkk"

    #define ADMIN_FLAG ADMIN_RCON

    new target[33];

    public 
    plugin_init() {
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
        
    register_clcmd("amx_sxebanmenu","cmdSxeBanMenu")
        
    register_clcmd("say /sxebanmenu","cmdSxeBanMenu")
        
        if(!
    cvar_exists("__sxei_required")) {
            
    set_fail_state("Bu plugini kullanabilmek icin Sxe Injected kurmalisiniz")
        }
    }
    public 
    cmdSxeBanMenu(id,level,cid) {
        if(!
    access(id,ADMIN_FLAG)) {
            
    console_print(id,"Yetkiniz yok")
            
    client_print(id,print_chat,"[sXe] Yetkiniz yok")
            return 
    PLUGIN_HANDLED
        
    }
        
        new 
    players[32],inum;
        
    get_players(players,inum)
        static 
    tempid,name[32],szID[6];
        new 
    menu menu_create("\r[sXe] \ySxe Ban Menu ^nOyuncu Secin","cmdSxeBanMenuHandle")
        for(new 
    ii<inumi++) {
            
    tempid players[i]
            
    get_user_name(tempid,name,31)
            
    num_to_str(tempid,szID,5)
            
    menu_additem(menu,name,szID)
        }
        
    menu_display(id,menu)
        return 
    PLUGIN_HANDLED
    }
    public 
    cmdSxeBanMenuHandle(id,menu,item) {
        if(
    item == MENU_EXIT) {
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        new 
    name[32],szID[6],callback,access;
        
    menu_item_getinfo(menu,item,access,szID,5,name,31,callback)
        new 
    tempid str_to_num(szID)
        if(!
    is_user_connected(tempid)) {
            
    client_print(id,print_chat,"[sXe] Ilgili oyuncu bagli degil !")
            return 
    PLUGIN_HANDLED
        
    }
        
    target[id] = tempid;
        
    ConfirmMenu(id)
        return 
    PLUGIN_HANDLED
    }
    public 
    ConfirmMenu(id) {
        new 
    name[32]; get_user_name(target[id],name,31)
        new 
    text[128]; 
        
    formatex(text,127,"\r[sXe] \ySxe Ban Menu ^n\r%s \yAdli \
        Oyuncuyu Banlamak Uzeresiniz.^n Devam etmek istediginize emin misiniz ?"
    ,name)
        new 
    menu menu_create(text,"ConfirmMenuHandle")
        
        
    menu_additem(menu,"Devam Et","")
        
    menu_additem(menu,"\rIptal","")
        
        
    menu_setprop(menu,MPROP_EXIT,MEXIT_NEVER)
        
    menu_display(id,menu)
        return 
    PLUGIN_HANDLED
    }
    public 
    ConfirmMenuHandle(id,menu,item) {
        if(!
    is_user_connected(target[id])) {
            
    client_print(id,print_chat,"[sXe] Ilgili oyuncu bagli degil !")
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        switch(
    item) {
            case 
    1: {
                
    target[id] = 0;
            }
            case 
    0: {
                
    server_cmd("sxe_ban #%d",get_user_userid(target[id]))
                new 
    name[32],tname[32];
                
    get_user_name(id,name,31)
                
    get_user_name(target[id],tname,31)
                
    client_print(0,print_chat,"[sXe] ADMIN %s Sxe Ban: %s",name,tname)
            }
        }
        
    menu_destroy(menu)
        return 
    PLUGIN_HANDLED


    EDIT: Sayfayi güncellemeyeli 1 saat olmuş kusura bakma penguen görmedim cevap attığını
    Konu akcaliberkk tarafından (23-08-13 Saat 23:24 ) değiştirilmiştir.
    peNgueN likes this.

    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/


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