Kullanıcı Tag Listesi

7 sonuçtan 1 ile 7 arası

Threaded View

  1. #4
    er er
    Üyelik tarihi
    Mar 2014
    Mesajlar
    3
    Bahsedildi
    1 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Slota ayrı admine ayrı şapka

    Olduğunu bildirirsen sevinirim

    1=] Slotlarda "b" yetkisi verince "models/slotsapka.mdl" modeli çalışır
    PHP- Kodu:
    #include <amxmodx>
    #include <cstrike>
    #include <engine>

    #define ADMIN_FLAG    ADMIN_RESERVATION
    new g_adminmarkEnt[33]
    new 
    cvar_enable
    new MODEL_MARK[]     = "models/slotsapka.mdl"

    static const PLUGIN_NAME[]     = "Slot Sapka"
    static const PLUGIN_AUTHOR[]     = "Xlamber"
    static const PLUGIN_VERSION[]    = "1.0"

    public plugin_init()
    {
        
    register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR)
        
    register_cvar(PLUGIN_NAMEPLUGIN_VERSIONFCVAR_SPONLY|FCVAR_SERVER)    
        
    cvar_enable register_cvar("amx_slotsapka""1")
    }
    public 
    plugin_precache()
    {
        
    precache_model(MODEL_MARK)    
        
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/gign/gign.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/gsg9/gsg9.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/sas/sas.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/urban/urban.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/vip/vip.mdl")

        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/arctic/arctic.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/guerilla/guerilla.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/leet/leet.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/terror/terror.mdl")    
    }
    public 
    client_connect(id)
    {
        if(
    g_adminmarkEnt[id] > 0)
            
    remove_entity(g_adminmarkEnt[id])
        
    g_adminmarkEnt[id] = 0
    }
    public 
    client_disconnect(id)
    {
        if(
    g_adminmarkEnt[id] > 0)
            
    remove_entity(g_adminmarkEnt[id])
        
    g_adminmarkEnt[id] = 0
    }
    public 
    client_PreThink(id)
    {
        if(!
    is_user_connected(id))
            return 
    PLUGIN_CONTINUE
        
        
    if(!is_user_alive(id) && g_adminmarkEnt[id] > 0)
        {
            
    remove_entity(g_adminmarkEnt[id])
            
    g_adminmarkEnt[id] = 0
            
            
    return PLUGIN_CONTINUE
        
    }
        
        if (!(
    get_user_flags(id) & ADMIN_FLAG))
        {
            
    remove_entity(g_adminmarkEnt[id])
            
    g_adminmarkEnt[id] = 0
            
            
    return PLUGIN_CONTINUE
        
    }
        
        if(!
    get_pcvar_num(cvar_enable))
            return 
    PLUGIN_CONTINUE
            
        
    if(!is_user_alive(id))
            return 
    PLUGIN_CONTINUE
            
        
    if(g_adminmarkEnt[id] < 1)
        {
            
    g_adminmarkEnt[id] = create_entity("info_target")
            if(
    g_adminmarkEnt[id] > 0)
            {
                
    entity_set_int(g_adminmarkEnt[id], EV_INT_movetypeMOVETYPE_FOLLOW)
                
    entity_set_edict(g_adminmarkEnt[id], EV_ENT_aimentid)
                
    entity_set_model(g_adminmarkEnt[id], MODEL_MARK)            
            }
        }
        
        if (
    g_adminmarkEnt[id] > 0)
        {
            new 
    modelID get_model_id(id)
            
    entity_set_int(g_adminmarkEnt[id], EV_INT_bodymodelID)
        }

        if(
    g_adminmarkEnt[id] < 1)
            return 
    PLUGIN_CONTINUE

        
    return PLUGIN_CONTINUE
    }
    new 
    modelname[9][] ={
        
    "gign",
        
    "gsg9",
        
    "sas",
        
    "urban",
        
    "vip",
        
    "arctic",
        
    "guerilla",
        
    "leet",
        
    "terror"
    }
    public 
    get_model_id(id)
    {
        new 
    modelStr[32], iNum=32modelID
        get_user_info
    (id,"model",modelStr,iNum)
        
        for(new 
    09i++)
        {
            if (
    equali (modelStrmodelname[i]) )
            {
                
    modelID i
            
    }
        }    
        return 
    modelID

    2=] Adminlerde "d" (ban) yetkisi verince "models/adminsapka.mdl" modeli çalışır
    PHP- Kodu:
    #include <amxmodx>
    #include <cstrike>
    #include <engine>

    #define ADMIN_FLAG    ADMIN_BAN
    new g_adminmarkEnt[33]
    new 
    cvar_enable
    new MODEL_MARK[]     = "models/adminsapka.mdl"

    static const PLUGIN_NAME[]     = "Admin Sapka"
    static const PLUGIN_AUTHOR[]     = "Xlamber"
    static const PLUGIN_VERSION[]    = "1.0"

    public plugin_init()
    {
        
    register_plugin(PLUGIN_NAMEPLUGIN_VERSIONPLUGIN_AUTHOR)
        
    register_cvar(PLUGIN_NAMEPLUGIN_VERSIONFCVAR_SPONLY|FCVAR_SERVER)    
        
    cvar_enable register_cvar("amx_adminsapka""1")
    }
    public 
    plugin_precache()
    {
        
    precache_model(MODEL_MARK)    
        
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/gign/gign.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/gsg9/gsg9.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/sas/sas.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/urban/urban.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/vip/vip.mdl")

        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/arctic/arctic.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/guerilla/guerilla.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/leet/leet.mdl")
        
    force_unmodified(force_model_samebounds,{0,0,0},{0,0,0},"models/player/terror/terror.mdl")    
    }
    public 
    client_connect(id)
    {
        if(
    g_adminmarkEnt[id] > 0)
            
    remove_entity(g_adminmarkEnt[id])
        
    g_adminmarkEnt[id] = 0
    }
    public 
    client_disconnect(id)
    {
        if(
    g_adminmarkEnt[id] > 0)
            
    remove_entity(g_adminmarkEnt[id])
        
    g_adminmarkEnt[id] = 0
    }
    public 
    client_PreThink(id)
    {
        if(!
    is_user_connected(id))
            return 
    PLUGIN_CONTINUE
        
        
    if(!is_user_alive(id) && g_adminmarkEnt[id] > 0)
        {
            
    remove_entity(g_adminmarkEnt[id])
            
    g_adminmarkEnt[id] = 0
            
            
    return PLUGIN_CONTINUE
        
    }
        
        if (!(
    get_user_flags(id) & ADMIN_FLAG))
        {
            
    remove_entity(g_adminmarkEnt[id])
            
    g_adminmarkEnt[id] = 0
            
            
    return PLUGIN_CONTINUE
        
    }
        
        if(!
    get_pcvar_num(cvar_enable))
            return 
    PLUGIN_CONTINUE
            
        
    if(!is_user_alive(id))
            return 
    PLUGIN_CONTINUE
            
        
    if(g_adminmarkEnt[id] < 1)
        {
            
    g_adminmarkEnt[id] = create_entity("info_target")
            if(
    g_adminmarkEnt[id] > 0)
            {
                
    entity_set_int(g_adminmarkEnt[id], EV_INT_movetypeMOVETYPE_FOLLOW)
                
    entity_set_edict(g_adminmarkEnt[id], EV_ENT_aimentid)
                
    entity_set_model(g_adminmarkEnt[id], MODEL_MARK)            
            }
        }
        
        if (
    g_adminmarkEnt[id] > 0)
        {
            new 
    modelID get_model_id(id)
            
    entity_set_int(g_adminmarkEnt[id], EV_INT_bodymodelID)
        }

        if(
    g_adminmarkEnt[id] < 1)
            return 
    PLUGIN_CONTINUE

        
    return PLUGIN_CONTINUE
    }
    new 
    modelname[9][] ={
        
    "gign",
        
    "gsg9",
        
    "sas",
        
    "urban",
        
    "vip",
        
    "arctic",
        
    "guerilla",
        
    "leet",
        
    "terror"
    }
    public 
    get_model_id(id)
    {
        new 
    modelStr[32], iNum=32modelID
        get_user_info
    (id,"model",modelStr,iNum)
        
        for(new 
    09i++)
        {
            if (
    equali (modelStrmodelname[i]) )
            {
                
    modelID i
            
    }
        }    
        return 
    modelID

    Ekli Dosyalar Ekli Dosyalar
    [ Kaptan-i Derya Klan Ailesi ]
    [ Since 2008 founder dangerlord63 ]
    [ SERVER IP : Jail.KDerya.com || cs16.oyunsunucum.com || 178.211.34.226 ]
    [ TEAMSPEAK 3 : TS3.KDerya.com & KD.TS3.Center & 185.78.86.151 ]
    [ Xlamber ]
    Kod:
    Facebook : Xlamber.emrezorlu
    Twitter : Xlamber_emrezorlu
    Skype : Xlamber.emrezorlu
    Gmail : emrezorlu.Xlamber
    Web : 
    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.
    google_ad_section_end -->

Benzer Konular

  1. /nickdegis ayrı isim yazma
    By DeadNight26 in forum Çözülmüş İstekler
    Cevaplar: 6
    Son Mesaj: 24-08-13, 10:42
  2. map kuralları ( her map için ayrı )
    By shakespeare in forum Çözülmüş İstekler
    Cevaplar: 2
    Son Mesaj: 22-03-12, 17:17

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

cofiq.cevap.sapa

Kaptan-i derya slotlar

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.