Kullanıcı Tag Listesi

10 sonuçtan 1 ile 10 arası
Like Tree3Likes
  • 3 Post By akcaliberkk

Konu: /slot plugini

Threaded View

  1. #5
    JDM
    JDM çevrimdışı
    teğmen mod JDM - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Feb 2013
    Yer
    İstanbul/Bahçelievler
    Mesajlar
    841
    Bahsedildi
    5 Mesaj
    Etiketlenmiş
    9 Konu
    Tecrübe Puanı
    13

    Standart Cevap: /slot plugini

    bilbaz'ın dediği gibide olabilir fakat "t" yetkisini adminlerden silmen gerekir.

    EDIT:

    PHP- Kodu:
    #define SLOT_CHECK    ADMIN_LEVEL_H    // Ben slotlara "t" yetkisi verdim sen kendine göre değiştirebilirsin "ADMIN_LEVEL_H" kısmını 
    PHP- Kodu:
    #include <amxmodx>

    /*---------------EDIT ME------------------*/
    #define ADMIN_CHECK    ADMIN_KICK
    #define SLOT_CHECK    ADMIN_LEVEL_H    // Ben slotlara "t" yetkisi verdim sen kendine göre değiştirebilirsin "ADMIN_LEVEL_H" kısmını

    static const COLOR[] = "^x04" //green
    static const CONTACT[] = ""
    /*----------------------------------------*/

    new maxplayers
    new gmsgSayText

    public plugin_init() {
        
    register_plugin("Admin Check""1.51""OneEyed")
        
    maxplayers get_maxplayers()
        
    gmsgSayText get_user_msgid("SayText")
        
    register_clcmd("say""handle_say")
        
    register_cvar("amx_contactinfo"CONTACTFCVAR_SERVER)
    }

    public 
    handle_say(id) {
        new 
    said[192]
        
    read_args(said,192)
        if( ( 
    containi(said"whoadmin") != -&& containi(said"admin") != -) || contain(said"/admin") != -)
            
    set_task(0.1,"print_adminlist",id)
        if( ( 
    containi(said"whoslot") != -&& containi(said"slot") != -) || contain(said"/slot") != -)
            
    set_task(0.1,"print_slotlist",id)    
        return 
    PLUGIN_CONTINUE
    }

    public 
    print_adminlist(user
    {
        new 
    adminnames[33][32]
        new 
    message[256]
        new 
    contactinfo[256], contact[112]
        new 
    idcountxlen
        
        
    for(id id <= maxplayers id++)
            if(
    is_user_connected(id))
                if(
    get_user_flags(id) & ADMIN_CHECK)
                    
    get_user_name(idadminnames[count++], 31)

        
    len format(message255"%s Oyundaki Adminler: ",COLOR)
        if(
    count 0) {
            for(
    count x++) {
                
    len += format(message[len], 255-len"%s%s "adminnames[x], < (count-1) ? ", ":"")
                if(
    len 96 ) {
                    
    print_message(usermessage)
                    
    len format(message255"%s ",COLOR)
                }
            }
            
    print_message(usermessage)
        }
        else {
            
    len += format(message[len], 255-len"Oyunda Admin Yok.")
            
    print_message(usermessage)
        }
        
        
    get_cvar_string("amx_contactinfo"contact63)
        if(
    contact[0])  {
            
    format(contactinfo111"%s Adminlik icin iletisim -- %s"COLORcontact)
            
    print_message(usercontactinfo)
        }
    }
    public 
    print_slotlist(user
    {
        new 
    slotnames[33][32]
        new 
    message[256]
        new 
    contactinfo[256], contact[112]
        new 
    idcountxlen
        
        
    for(id id <= maxplayers id++)
            if(
    is_user_connected(id))
                if(
    get_user_flags(id) & SLOT_CHECK)
                    
    get_user_name(idslotnames[count++], 31)

        
    len format(message255"%s Oyundaki Slotlar: ",COLOR)
        if(
    count 0) {
            for(
    count x++) {
                
    len += format(message[len], 255-len"%s%s "slotnames[x], < (count-1) ? ", ":"")
                if(
    len 96 ) {
                    
    print_message(usermessage)
                    
    len format(message255"%s ",COLOR)
                }
            }
            
    print_message(usermessage)
        }
        else {
            
    len += format(message[len], 255-len"Oyunda Slot Yok.")
            
    print_message(usermessage)
        }
        
        
    get_cvar_string("amx_contactinfo"contact63)
        if(
    contact[0])  {
            
    format(contactinfo111"%s Slotluk icin iletisim -- %s"COLORcontact)
            
    print_message(usercontactinfo)
        }
    }
    print_message(idmsg[]) {
        
    message_begin(MSG_ONEgmsgSayText, {0,0,0}, id)
        
    write_byte(id)
        
    write_string(msg)
        
    message_end()
    }
    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE
    *{\\ rtf1\\ ansi\\ ansicpg1254\\ deff0\\ deflang1055{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ f0\\ fs16 \n\\ par }
    */ 
    NOT:

    Admin yetkilerinde "t" yetkisini silmeyi unutma.
    Konu JDM tarafından (15-11-13 Saat 19:16 ) değiştirilmiştir.
    Steam ID: STEAM_1:0:70428872
    Steam Name: Seps!s
    Skype: jdm.csplague

    Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
    Albert Einstein

Benzer Konular

  1. Admin Yeşil v2.2 Plugini ( Kurucu Admin ve Slot Tagı )
    By NiCoMeDiA in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 546
    Son Mesaj: 09-02-18, 21:18
  2. Yetkiye Göre Tag Plugini ( Kurucu-Admin-Slot )
    By undertaker55 in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 214
    Son Mesaj: 25-07-17, 18:33
  3. Slot Ol Plugini ( Oyunda Say'dan Slot Olma )
    By NiCoMeDiA in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 822
    Son Mesaj: 18-09-15, 22:38
  4. /slot Plugini
    By Nobb in forum Çözülmüş İstekler
    Cevaplar: 16
    Son Mesaj: 01-07-13, 21:29
  5. admin slot kurucu ve user'e özel yazı plugini...
    By mrterc in forum Çözülmüş İstekler
    Cevaplar: 1
    Son Mesaj: 19-07-12, 03:13

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 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121