Kullanıcı Tag Listesi

3 sonuçtan 1 ile 3 arası
  1. #1
    onbasi banned
    Üyelik tarihi
    Feb 2013
    Yer
    http://freezmen.com/
    Mesajlar
    125
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    0

    Standart gece plugin bir kac edit

    Merhaba arkadaslar bu gece plugin cvar baglamak istiyorum mesela oylamayi kaldırmak istiyorum. sadece adminler gece yapa bilme yetkisi olsun.


    Kod:
    #include <amxmodx>#include <amxmisc>
    #include <engine>
    #define VOTETIME 75.0 //time after map starts when the vote begins
    
    
    new normalsky[64]; 
    new choice[2]
    new is = 1
    new was = 1
    new reconnect = 0
    new cvar
    
    
    public plugin_init() {
        register_logevent("reconnectplayers",2,"0=World triggered","1=Round_Start")
        get_cvar_string("sv_skyname" , normalsky , 63); 
        is = 1
        was = is
        register_plugin("daynight","1.1","NL)Ramon(NL")
        cvar = register_cvar("sv_daynight", "1")
        register_concmd("amx_voteday","votedaynow", ADMIN_BAN,")
    }
    
    
    public plugin_precache() {
        precache_generic("gfx/env/spacert.tga")
        precache_generic("gfx/env/spacelf.tga")
        precache_generic("gfx/env/spaceft.tga")
        precache_generic("gfx/env/spacedn.tga")
        precache_generic("gfx/env/spacebk.tga")
        precache_generic("gfx/env/spaceup.tga")
    }
    
    
    
    
    
    
    public checkclient(){
        if (is == was)
            {
            return PLUGIN_HANDLED
        }
        else
        {
            client_print(0,print_chat,"Reconnecting all players on next round seconds to change sky")
            was = is
            reconnect = 1
        }
        return PLUGIN_CONTINUE
    }
    
    
    
    
    public reconnectplayers() {
        if (reconnect == 1)
            {
            reconnect = 0
            client_cmd(0,"reconnect")
        }
    }

  2. #2
    onbasi banned
    Üyelik tarihi
    Feb 2013
    Yer
    http://freezmen.com/
    Mesajlar
    125
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    0

    Standart Cevap: gece plugin bir kac edit

    Güncell Arkadaslar

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

    Standart Cevap: gece plugin bir kac edit

    amx_gece yazarsan gece olur, amx_gunduz yazarsan gündüz olur

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

    #include <amxmodx>
    #include <amxmisc>
    #include <engine>

    new normalsky[64]; 
    new 
    reconnect 0
    new is 1
    new was 1
    public plugin_precache() {
        
    precache_generic("gfx/env/spacert.tga")
        
    precache_generic("gfx/env/spacelf.tga")
        
    precache_generic("gfx/env/spaceft.tga")
        
    precache_generic("gfx/env/spacedn.tga")
        
    precache_generic("gfx/env/spacebk.tga")
        
    precache_generic("gfx/env/spaceup.tga")
    }
    public 
    plugin_init() {
        
    register_plugin("daynight","1.1","NL)Ramon(NL")
        
        
    is 1
        was 
    is
        
        register_concmd
    ("amx_gece","cmd_gece"ADMIN_BAN)
        
    register_concmd("amx_gunduz","cmd_gunduz",ADMIN_BAN)
        
        
    get_cvar_string("sv_skyname" normalsky 63); 
        
        
    register_logevent("reconnectplayers",2,"0=World triggered","1=Round_Start")
    }
    public 
    cmd_gece(id,level,cid) {
        if(!
    cmd_access(id,level,cid,1)) {
            return 
    PLUGIN_HANDLED
        
    }
        
        
    server_cmd("sv_skyname space")
        
    set_lights("b")
        
    checkclient()
        
        return 
    PLUGIN_HANDLED
    }
    public 
    cmd_gunduz(id,level,cid) {
        if(!
    cmd_access(id,level,cid,1)) {
            return 
    PLUGIN_HANDLED
        
    }
        
        
    set_cvar_string("sv_skyname" normalsky);
        
    set_lights("#OFF")
        
    checkclient()
        
        return 
    PLUGIN_HANDLED
    }
    public 
    checkclient(){
        if (
    is == was)
        {
            return 
    PLUGIN_HANDLED
        
    }
        else
        {
            
    client_print(0,print_chat,"Reconnecting all players on next round seconds to change sky")
            
    was is
            reconnect 
    1
        
    }
        return 
    PLUGIN_CONTINUE
    }
    public 
    reconnectplayers() {
        if(
    reconnect == 1) {
            
    reconnect 0
            client_cmd
    (0,"reconnect")
        }

    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. [ZP] Light Vote Plugin ( Gece mi Gunduz mu )
    By NiCoMeDiA in forum [ZP] Cs 1.6 Zombie Plague Eklentileri
    Cevaplar: 68
    Son Mesaj: 18-09-19, 22:28
  2. DropNvg Plugin ( Gece Gorusunu Yere Birakma Plugini )
    By NiCoMeDiA in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 8
    Son Mesaj: 24-05-13, 20:29
  3. Night Day Plugin ( Gece Gündüz Oylaması )
    By NiCoMeDiA in forum [PLUGİN] Cs 1.6 Eklentiler
    Cevaplar: 61
    Son Mesaj: 11-05-13, 14:07

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