Kullanıcı Tag Listesi

Sayfa 1/2 12 SonSon
14 sonuçtan 1 ile 10 arası
  1. #1
    teğmen emektar Nefesim - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2013
    Mesajlar
    1.019
    Bahsedildi
    60 Mesaj
    Etiketlenmiş
    2 Konu
    Tecrübe Puanı
    9

    Standart Akcali Bakarmısın Pluginde Sorun Var

    Daha Önceden Yaptırdığım Geniş Çaplı Pluginimi denedeğimde 2 sorun rastladım



    Önce 1.Sorun Smayı Combile Ederkenki Aldığım Hata ;




    Dosya Ekte Birde Zahmet Olmazsa Zombi Modu İçin Zombi Modeli koymuştuk

    smada hata olmasada oyuna girerken not found zombi_models .......mdl bulunamadı diye hata veriyor



    Smayı gözden geçirip hataları giderirseniz teşekkür ederim



    Ekli Dosyalar Ekli Dosyalar
    Nefesim Fark Yaratırmı ?

  2. #2
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    Jail.inc gerekli // Çok zor bulunan bir include internetten indirdiklerinin çoğunun içinde sizde benim gibi bu includeyi arıyorsunuz değilmi yazıyor
    Konu hurracuran tarafından (07-02-13 Saat 00:58 ) değiştirilmiştir.

  3. #3
    teğmen emektar Nefesim - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2013
    Mesajlar
    1.019
    Bahsedildi
    60 Mesaj
    Etiketlenmiş
    2 Konu
    Tecrübe Puanı
    9

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    Akcali Kardeşim Nerelerdesin Ya :s
    Nefesim Fark Yaratırmı ?

  4. #4
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <fakemeta>
    #include <fun>
    #include <nvault>
    #include <engine>
    #include <colorchat>

    #define ADMIN_LEVEL ADMIN_KICK
    #define task 672

    #define task_bilgi 672

    #define OFFSET_PRIMARYWEAPON 116

    new zaman2 30 
    new zaman3 60 
    new zaman4 120


    new takim[33];


    new 
    bool:Zm_SilahDokunamama

    new VIEW_ZOMBI[]        = "models/admin_zombi/v_zombi_el.mdl";
    new 
    PLAYER_ZOMBI[]        = "models/admin_zombi/p_zombi_el.mdl";
    new 
    zombihp[33];
    new 
    insanhp[33];
    new 
    SyncHudObj;
    new 
    yeni_nightvision;
    new 
    zombimod// herkes
    new hudmesaji;
    new 
    zombisinifi;

    // Hayalet zombi
    new pSilentpAlphapRedpBluepGreen;

    // Yarasa Fırlatan Zombi
    const zclass_health 1800
    const zclass_speed 190
    const Float:zclass_gravity 1.0
    const Float:zclass_knockback 1.0

    new const SOUND_FIRE[] = "zombie_plague/zombi_banshee_pulling_fire.wav"
    new const SOUND_BAT_HIT[] = "zombie_plague/zombi_banshee_laugh.wav"
    new const SOUND_BAT_MISS[] = "zombie_plague/zombi_banshee_pulling_fail.wav"
    new const MODEL_BAT[] = "models/zombie_plague/bat_witch.mdl"
    new const BAT_CLASSNAME[] = "banchee_bat"
    new spr_skull

    const Float:banchee_skull_bat_speed 600.0
    const Float:banchee_skull_bat_flytime 3.0
    const Float:banchee_skull_bat_catch_time 3.0
    const Float:banchee_skull_bat_catch_speed 100.0
    const Float:bat_timewait 14.0

    new g_stop[33]
    new 
    g_bat_time[33]
    new 
    g_bat_stat[33]
    new 
    g_bat_enemy[33]
    new 
    Float:g_temp_speed[33]

    new 
    g_maxplayers
    new g_roundend

    enum 
    (+= 100)
    {
    TASK_BOT_USE_SKILL 2367,
    TASK_REMOVE_STAT
    }
    new 
    bool:ctyardim_enabled;

    #define ID_BOT_USE_SKILL (taskid - TASK_BOT_USE_SKILL)
    #define ID_TASK_REMOVE_STAT (taskid - TASK_REMOVE_STAT)

    public plugin_precache() {
    SyncHudObj CreateHudSyncObj();
    precache_model("models/player/zombi/zombi.mdl")
    precache_sound("zombimod/zombi_siren.wav")
    precache_sound("zombimod/zombi_mod_baslangic.wav");
    precache_sound(SOUND_FIRE)
    precache_sound(SOUND_BAT_HIT)
    precache_sound(SOUND_BAT_MISS)

    precache_model(MODEL_BAT)

    spr_skull precache_model("sprites/ef_bat.spr")

    precache_model(VIEW_ZOMBI);   
    precache_model(PLAYER_ZOMBI);
    }



    public 
    plugin_init()
    {
    register_clcmd("say .onctyardim","CtYardimEnable")
    register_clcmd("say .offctyardim","CtYardimDisable")
    register_clcmd("say /ctyardim","DeaTReX")
    register_clcmd("say /tm","cmdTeamMenu")
    register_clcmd("say /takim","cmdTeamMenu")
    register_clcmd("say_team /tm","cmdTeamMenu")
    register_clcmd("say_team /takim","cmdTeamMenu")
    register_clcmd("say /myteam","getTeam")
    register_clcmd("say /takimim","getTeam")

    RegisterHam(Ham_TakeDamage,"player","fw_TakeDamage")
    register_logevent("RoundEnd",2,"1=Round_End")

    register_clcmd("say /zombi","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say_team /zombi","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say /zm","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say_team /zm","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("drop""cmd_bat")

    register_logevent("YeniTur",2,"0=World triggered","1=Round_Start")
    register_logevent("TurSonu"2"1=Round_End")

    register_event("HLTV""YeniTurcuk""a""1=0""2=0")
    register_event("DeathMsg""EventDeath""a")
    register_logevent("logevent_round_end"2"1=Round_End")


    register_forward(FM_AddToFullPack"fw_addtofullpack"1);
    register_forward(FM_PlayerPreThink,"fw_PlayerPreThink")

    RegisterHam(Ham_Spawn"player""OyuncuDogunca"1)
    RegisterHam(Ham_Touch"weaponbox""SilahDokunulmaz")
    RegisterHam(Ham_Touch"armoury_entity""SilahDokunulmaz")
    RegisterHam(Ham_Touch"weapon_shield""SilahDokunulmaz")
    RegisterHam(Ham_Touch,"info_target","EntityTouchPost",1)
    RegisterHam(Ham_Think,"info_target","EntityThink")
    RegisterHam(Ham_TakeDamage"player""fw_takedamage");

    pSilent get_cvar_pointer("zp_zombie_silent")
    pAlpha register_cvar("zp_ghost_invisibility""1")
    pRed register_cvar("zp_ghost_glow_red""0")
    pGreen register_cvar("zp_ghost_glow_green""0")
    pBlue  register_cvar("zp_ghost_glow_blue",  "10")
    zombisinifi 1
    hudmesaji 
    CreateHudSyncObj()
    yeni_nightvision get_user_msgid"NVGToggle" );
    g_maxplayers get_maxplayers()

    }

    public 
    CtYardimEnable(id) {
    if(!
    access(id,ADMIN_LEVEL)) return PLUGIN_CONTINUE
    ctyardim_enabled 
    true;
    client_print(id,print_chat,"CT Takimi Icin CTYardim Menusune Erisim Acildi !")
    return 
    PLUGIN_CONTINUE
    }
    public 
    CtYardimDisable(id) {
    if(!
    access(id,ADMIN_LEVEL)) return PLUGIN_CONTINUE
    ctyardim_enabled 
    false;
    client_print(id,print_chat,"CT Takimi Icin CTYardim Menusune Erisim Kapatildi !")
    return 
    PLUGIN_CONTINUE
    }
    public 
    DeaTReX(id) { 
    if(!(
    get_user_flags(id) & ADMIN_KICK) && !ctyardim_enabled) {
        return 
    PLUGIN_CONTINUE
    }
    if(!(
    get_user_flags(id) & ADMIN_KICK) && get_user_team(id) != 2) {
        return 
    PLUGIN_CONTINUE
    }
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yCT Yardim Menu")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\rGardiyan Godmode Ac"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\wGardiyan Godmode Kapat"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\wSaklanbac Oyunu"
    menu_additem(menuMenuz"3"
    formatex(Menuzcharsmax(Menuz), "\wYakartop Oyunu"
    menu_additem(menuMenuz"4")
    formatex(Menuzcharsmax(Menuz), "\wCete Oyunu [Ozel]"
    menu_additem(menuMenuz"5")
    formatex(Menuzcharsmax(Menuz), "\wYakalanbac Oyunu"
    menu_additem(menuMenuz"6")
    formatex(Menuzcharsmax(Menuz), "\rSimit Oyunu"
    menu_additem(menuMenuz"7"
    formatex(Menuzcharsmax(Menuz), "\wC4 Oyunu [OZEL]"
    menu_additem(menuMenuz"8"
    formatex(Menuzcharsmax(Menuz), "\wHayalet Oyunu"
    menu_additem(menuMenuz"9"
    formatex(Menuzcharsmax(Menuz), "\wKus Oyunu"
    menu_additem(menuMenuz"10")
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu [OZEL]"
    menu_additem(menuMenuz"11")
    formatex(Menuzcharsmax(Menuz), "\wAclik Oyunu [OZEL]"
    menu_additem(menuMenuz"12")
    formatex(Menuzcharsmax(Menuz), "\rUcan Pipi Oyunu"
    menu_additem(menuMenuz"13"
    formatex(Menuzcharsmax(Menuz), "\wKule Oyuun [Druglu]"
    menu_additem(menuMenuz"14"
    formatex(Menuzcharsmax(Menuz), "\wAraf Oyunu"
    menu_additem(menuMenuz"15"
    formatex(Menuzcharsmax(Menuz), "\y[Normal] \wFF Menusu"
    menu_additem(menuMenuz"16")
    formatex(Menuzcharsmax(Menuz), "\y[Gorunmez] \wFF Menusu"
    menu_additem(menuMenuz"17")
    formatex(Menuzcharsmax(Menuz), "\wMahkumlara HP Ver"
    menu_additem(menuMenuz"18")
    formatex(Menuzcharsmax(Menuz), "\wTum Ayarlari Sifirla"
    menu_additem(menuMenuz"19")

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_CONTINUE
    }

    public 
    DeaTReX_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
        
    menu_destroy(menu)
        return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
        case 
    1: {
            
    console_cmd(id,"amx_godmode @CT 1");
        }
        case 
    2: {
            
    console_cmd(id,"amx_godmode @CT 0");
        }
        case 
    3: {
            
    Menu(id)
        }
        case 
    4: {
            
    server_cmd("amx_glow @T blue")   
            
    server_cmd("amx_godmode @CT 1")   
            
    server_cmd("amx_heal @CT 9999999")    
            
    server_cmd("amx_disarm @all")   
            
    server_cmd("amx_unammo @CT 1")  
            
    server_cmd("amx_fire @CT 1")
        }
        case 
    5: {
            
    cmdTeamMenu(id)    
        }
        case 
    6: {
            
    server_cmd("amx_heal @CT 999999")  
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_speed @CT 1")   
            
    server_cmd("amx_disarm @all"
        }
        case 
    7: {
            
    server_cmd("amx_heal @CT 5000")   
            
    server_cmd("amx_disarm @all")
            
    server_cmd("amx_glow @t green")
            
    server_cmd("amx_glow @CT aqua")
        }
        case 
    8: {
            
    C4Oyunu(id)
        }
        case 
    9: {
            
    server_cmd("amx_heal @CT 1250")  
            
    server_cmd("amx_disarm @all")  
            
    server_cmd("amx_weapon @t 43")  
            
    server_cmd("amx_weapon @t 14")  
            
    server_cmd("amx_noclip @CT 1")  
            
    server_cmd("amx_armor @all 100")
        }
        case 
    10: {
            
    server_cmd("amx_glow @t green")  
            
    server_cmd("amx_disarm @all")  
            
    server_cmd("amx_weapon @CT awp"
            
    server_cmd("amx_weapon @CT scout")
            
    server_cmd("amx_heal @CT 30000"
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_cvar sv_gravity 250")
            
    server_cmd("amx_unammo @CT 1")
        }
        case 
    11: {
            
    zm_menu(id)
        }
        case 
    12: {
            
    DeaTReX3(id)
        }
        case 
    13: {
            
    server_cmd("amx_disarm @T")
            
    server_cmd("amx_cvar sv_gravity 100")
            
    server_cmd("amx_heal @CT 999999")
            
    server_cmd("amx_godmode @CT 1")
        }
        case 
    14: {
            
    server_cmd("amx_drug @t")
            
    server_cmd("amx_glow @t green")
        }
        case 
    15: {
            
    server_cmd("amx_glow @t 0 0 0 0")
            
    server_cmd("amx_glow @CT aqua")
            
    server_cmd("amx_heal @t 500")
            
    server_cmd("amx_heal @CT 5000")
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_weapon @all 14")
        }
        case 
    16: {
            
    Normal_FF_Menu(id)
        }
        case 
    17: {
            
    Gorunmez_FF_Menu(id)    
        }
        case 
    18: {
            
    DeaTReX4(id)
        }
        case 
    19: {
            
    ayarlarikapat(id)
        }
        case 
    20: {
            
    server_cmd("amx_durdur")
        }
        case 
    21: {
            
    server_cmd("amx_durdur")
        }
        case 
    22: {
            
    server_cmd("amx_durdur")
        }
        
    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;



    public 
    otuzsaniye(id) { 
    set_task(0.30,"otuzsaniye",0+task
    zaman2-- 

    if(
    zaman2 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task
        
        
        
    remove_task(0+task


    public 
    birdakika(id) { 
    set_task(1.0,"birdakika",0+task
    zaman3-- 
    if(
    zaman3 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task


    public 
    ikidakika(id) { 
    set_task(2.0,"ikidakika",0+task
    zaman4-- 

    if(
    zaman4 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task
    }
    }

    public 
    Menu(id) {   
    if(
    get_user_flags(id) & ADMIN_KICK)   
    {   
        new 
    menuMenuz[512]   
        
    formatex(Menuzcharsmax(Menuz), "\yOtomatik Saklanbac Oyunu")   
        
    menu menu_create(Menuz"Menu_Devam")   
        
    formatex(Menuzcharsmax(Menuz), "\w30 Saniye Sure")   
        
    menu_additem(menuMenuz"1")   
        
    formatex(Menuzcharsmax(Menuz), "\w1 Dakika Sure")   
        
    menu_additem(menuMenuz"2")     
        
    formatex(Menuzcharsmax(Menuz), "\w2 Dakika Sure")   
        
    menu_additem(menuMenuz"3")     
        
    formatex(Menuzcharsmax(Menuz), "\yCikis")   
        
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz)   
        
        
    menu_display(idmenu0)   
        
    }   
    return 
    PLUGIN_HANDLED;       
    }   

    public 
    Menu_Devam(idmenuitem) {   

    if (
    item == MENU_EXIT)   
    {   
        
    menu_destroy(menu)   
        
        return 
    PLUGIN_CONTINUE   
    }   

    new 
    data[6], iName[64]   
    new 
    accesscallback   
    menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   

    new 
    key str_to_num(data)   

    switch(
    key)   
    {   
        case 
    1:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    otuzsaniye(id
        }   
        case 
    2:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    birdakika(id
        }   
        
        case 
    3:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    ikidakika(id
        } 
    }   
    return 
    PLUGIN_HANDLED   


    public 
    client_connect(id) {
    takim[id] = 0;
    }
    /* 
    JB Glow İle Takımlara Ayırma 
    Author: akcaliberkk
    */
    public cmdTeamMenu(id) {
    if(!(
    get_user_flags(id) & ADMIN_LEVEL)) {
        
    client_print(id,print_chat,"Bu Menuyu Acmak Icin Izinli Degilsin")
        return 
    PLUGIN_HANDLED
    }
    new 
    menu menu_create("\rTakim Menusu""menu_handler"

    menu_additem(menu"\yKirmizi Takim""1"0); 
    menu_additem(menu"\yBeyaz Takim""2"0); 
    menu_additem(menu"\yMavi Takim""3"0); 
    menu_additem(menu"\ySari Takim""4"0); 
    menu_additem(menu"\yYesil Takim""5"0);
    menu_additem(menu"\yTakimdan Cikar""6"0);

    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
    menu_display(idmenu0); 
    return 
    PLUGIN_CONTINUE
    }

    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); 

    switch(
    key

        case 
    1: { 
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,0,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Kirmizi ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 1;
                
    client_print(Uid,print_center,"Sen Artik Kirmizi Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        } 
        case 
    2: {  
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,255,255,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Beyaz ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 2;
                
    client_print(Uid,print_center,"Sen Artik Beyaz Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        } 
        case 
    3: {  
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,0,255,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Mavi ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 3;
                
    client_print(Uid,print_center,"Sen Artik Mavi Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
        
        case 
    4: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,255,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Sari ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 4;
                
    client_print(Uid,print_center,"Sen Artik Sari Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
            
        }
        case 
    5: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,255,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Yesil ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 5;
                
    client_print(Uid,print_center,"Sen Artik Yesil Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
        case 
    6: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,0,0,kRenderNormal,0)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu Takimdan Cikardi !",admin,isim)
                
    takim[Uid] = 0;
                
    client_print(Uid,print_center,"Takimdan Cikarildin")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
    }
    return 
    PLUGIN_HANDLED
    }
    public 
    getTeam(id) {
    if(
    takim[id] == 0) {
        
    client_print(id,print_chat,"Herhangi Bir Takimda Degilsin !")
        return 
    PLUGIN_HANDLED
    }
    new 
    szteam[32];
    switch(
    takim[id]) {
        case 
    1szteam "Kirmizi";
            case 
    2szteam "Beyaz";
                case 
    3szteam "Mavi";
                case 
    4szteam "Sari";
                case 
    5szteam "Yesil";
            }
        
    ColorChat(id,GREEN,"[JB-TAKIM] ^3Senin Takimin: ^4%s",szteam)
        
    client_print(id,print_center,"%s Takimdasin",szteam)
        return 
    PLUGIN_HANDLED
    }
    public 
    fw_TakeDamage(victiminflictorattackerFloat:damage)
    {
        if(
    takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    client_print(attacker,print_chat,"Takim Arkadasina Zarar Veremezsin ! Dusmanlarina Odaklan !")
            
    client_print(attacker,print_center,"Takim Arkadasina Zarar Veremezsin")
            return 
    HAM_SUPERCEDE
        
    }
        return 
    HAM_IGNORED
    }
    public 
    cmdTeam(id) {
        if(!(
    get_user_flags(id) & ADMIN_LEVEL)) {
            
    console_print(id,"Bunun Icin Izinli Degilsin")
            return 
    PLUGIN_HANDLED
        
    }
        new 
    Arg1[32];
        new 
    Arg2[32];
        
        
    read_argv(1,Arg1,31)
        
    read_argv(2,Arg2,31)
        
        new 
    team str_to_num(Arg2)
        if(
    team 5team 5;
        
        new 
    Uid find_player("bhl",Arg1)
        if(!
    Uid) {
            
    console_print(id"Oyuncu Bulunamadi !")
            return 
    PLUGIN_HANDLED
        
    }
        new 
    name[65],admin[65];
        
    get_user_name(id,admin,64)
        
    get_user_name(Uid,name,64)
        
        
    takim[Uid] = team;
        
        new 
    szteam[32];
        switch(
    takim[id]) {
            
            case 
    1szteam "Kirmizi";
                case 
    2szteam "Beyaz";
                case 
    3szteam "Mavi";
                case 
    4szteam "Sari";
                case 
    5szteam "Yesil";
            }
        if(
    takim[Uid] == 0) {
            
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s^1 Adli Oyuncuyu Takimdan Cikardi !",admin,name)
            
    client_print(Uid,print_center,"Takimdan Cikarildin")
        }
        else {
            
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s^1 Adli Oyuncuyu ^4%s ^1Takima Atadi !",admin,name,szteam)
            
    client_print(Uid,print_center,"Sen Artik %s Takimdasin",szteam)
            
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
        }
        return 
    PLUGIN_HANDLED
        
    }
    public 
    RoundEnd() {
        for(new 
    i=1;i<=get_maxplayers();i++) {
            
    takim[i] = 0;
            
    set_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,0)
        }


    public 
    C4Oyunu(id) { 
        if(
    get_user_flags(id) & ADMIN_LEVEL_E){
            new 
    menuMenuz[512]  
            
    formatex(Menuzcharsmax(Menuz), "\yC4 Oyunu")  
            
    menu menu_create(Menuz"Menu_Devam")  
            
    formatex(Menuzcharsmax(Menuz), "\rMahkumlari Gom"
            
    menu_additem(menuMenuz"1"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumlari Kaldir"
            
    menu_additem(menuMenuz"2"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumlara C4 Ver"
            
    menu_additem(menuMenuz"3"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumları Disarmla"
            
    menu_additem(menuMenuz"4")
            
            
    formatex(Menuzcharsmax(Menuz), "\rCikis"
            
    menu_setprop(menu,MPROP_EXITNAME,Menuz
            
            
    menu_display(idmenu0
        return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    C4Oyunu_Devam(idmenuitem) {
        if( 
    item == MENU_EXIT ) {
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        new 
    accescallbackdata[6], iname[64]
        
    menu_item_getinfo(menuitemaccesdata5iname63callback)
        switch(
    str_to_num(data))
        {
            case 
    1: {
                
    console_cmd(id,"amx_bury @t");
            }
            case 
    2: {
                
    console_cmd(id,"amx_unbury @t");
            }
            case 
    3: {
                
    console_cmd(id,"amx_weapon @t c4");
            }
            case 
    4: {
                
    console_cmd(id,"amx_disarm @t");
            }
            
        }
        
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;



    public 
    YeniTur(id) {
        
    kontrol(id);
        
    kontrol2(id);
    }

    public 
    kontrol(id) {
        if(
    zombimod == 1) {
            for(new 
    133i++) { 
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                    
    give_item(i,"weapon_ak47")
                    
    give_item(i,"weapon_m4a1")
                    
    give_item(i,"weapon_deagle")
                    
    give_item(i,"weapon_awp")
                    
    give_item(i,"weapon_hegrenade")
                    
    give_item(i,"weapon_m249")
                    
    cs_set_user_bpammo(i,CSW_AK47,90)
                    
    cs_set_user_bpammo(i,CSW_AWP,90)
                    
    cs_set_user_bpammo(i,CSW_M4A1,90)
                    
    cs_set_user_bpammo(i,CSW_DEAGLE,37)    
                    
    cs_set_user_bpammo(i,CSW_M249,200)
                    
                    
    cs_reset_user_model(i)
                }
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                }
                
    zombimod 0
            }
            
    set_lights("#OFF")
        }
    }

    public 
    kontrol2(id) {
        if(
    zombimod == 1) {
            for(new 
    133i++) { 
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                    
    give_item(i,"weapon_ak47")
                    
    give_item(i,"weapon_m4a1")
                    
    give_item(i,"weapon_deagle")
                    
    give_item(i,"weapon_awp")
                    
    give_item(i,"weapon_hegrenade")
                    
    give_item(i,"weapon_m249")
                    
    cs_set_user_bpammo(i,CSW_AK47,90)
                    
    cs_set_user_bpammo(i,CSW_AWP,90)
                    
    cs_set_user_bpammo(i,CSW_M4A1,90)
                    
    cs_set_user_bpammo(i,CSW_DEAGLE,37)    
                    
    cs_set_user_bpammo(i,CSW_M249,200)
                    
                    
    cs_reset_user_model(i)
                }
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                }
                
    zombimod 0
            }
            
    set_lights("#OFF")
        }
    }


    public 
    kont(id) {
        if(
    get_user_team(id) == 2) {
            if(
    get_user_flags(id) & ADMIN_KICK) {
                
    zombihp[id] = 5000;
                
    insanhp[id] = 150;
                
    zm_menu(id)
            }
            else  
            {  
                
    ColorChat(id,NORMAL,"^4[Zombi Mod]:^1 Sadece ^4Admin^1'ler Bu Komutu Kullanabilir!") ; 
            }
        }
    }

    public 
    zm_menu(id) {
        
        new 
    hostname[64]
        
    get_cvar_string("hostname",hostname,63)
        
        new 
    menuMenuz[512
        
    formatex(Menuzcharsmax(Menuz), "\y%s^n\w[JB]: Admin Zombi Mod",hostname
        
    menu menu_create(Menuz"zm_menu_devam")
        
        
    formatex(Menuzcharsmax(Menuz), "\wZombi HP Arttir \y[ + ]"
        
    menu_additem(menuMenuz"1"
        
    formatex(Menuzcharsmax(Menuz), "\wZombi HP Azalt \b[ - ]"
        
    menu_additem(menuMenuz"2")
        
    formatex(Menuzcharsmax(Menuz), "\wInsan HP Arttir \y[ + ]"
        
    menu_additem(menuMenuz"3"
        
    formatex(Menuzcharsmax(Menuz), "\wInsan HP Azalt \b[ - ]"
        
    menu_additem(menuMenuz"4")
        
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu \rBaslat")
        
    menu_additem(menuMenuz"5")
        if(
    zombisinifi == 1) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Normal Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        else if(
    zombisinifi == 2) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Hayalet Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        else if(
    zombisinifi == 3) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Yarasa Firlatan Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu \yDurdur^n^n\yZombi HP \b[ %i ] \w- \yInsan HP \b[ %i ]",zombihp[id],insanhp[id])
        
    menu_additem(menuMenuz"6")
        
        
    formatex(Menuzcharsmax(Menuz), "\yCikis"
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz
        
        
    menu_display(idmenu0
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    zm_menu_devam(idmenuitem) { 
        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE 
        

        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback
        
        new 
    key str_to_num(data
        
        switch(
    key)
        {
            case 
    1: {
                if(
    zombihp[id] > 4999) {
                    
    zombihp[id] += 1000;
                } 
                
    zm_menu(id);
            }
            case 
    2: {
                if(
    zombihp[id] > 5999) {
                    
    zombihp[id] -= 1000;
                }
                
    zm_menu(id);
            }
            case 
    3: {
                if(
    insanhp[id] > 49) {
                    
    insanhp[id] += 50;
                } 
                
    zm_menu(id);
            }
            case 
    4: {
                if(
    insanhp[id] > 99) {
                    
    insanhp[id] -= 50;
                }
                
    zm_menu(id);
            }
            case 
    5
            {
                for(new 
    133i++) 
                { 
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
                    {
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                        
    cs_set_user_model(i,"zombi")
                        
    client_cmd(i,"spk zombimod/zombi_mod_baslangic");
                        
    Zm_SilahDokunamama true
                        set_pev
    (ipev_viewmodel2VIEW_ZOMBI);
                        
    set_pev(ipev_weaponmodel2PLAYER_ZOMBI);
                        if (
    zombisinifi == 1) {
                            
    set_user_health(i,zombihp[id]);
                            
    set_user_gnvision(i1)
                        }
                        else if(
    zombisinifi == 2) {
                            
    set_user_health(i,zombihp[id] - 1009);
                            
    set_user_gnvision(i0)
                        }
                        else if(
    zombisinifi == 3) {
                            
    set_user_health(i,zombihp[id] + 2000);
                            
    set_user_gnvision(i0)
                        }
                    }
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
                    {
                        
    set_user_health(i,insanhp[id]);
                        
    give_item(i,"weapon_ak47")
                        
    give_item(i,"weapon_m4a1")
                        
    give_item(i,"weapon_deagle")
                        
    give_item(i,"weapon_awp")
                        
    give_item(i,"weapon_hegrenade")
                        
    give_item(i,"weapon_m249")
                        
    cs_set_user_bpammo(i,CSW_AK47,1000)
                        
    cs_set_user_bpammo(i,CSW_AWP,1000)
                        
    cs_set_user_bpammo(i,CSW_M4A1,1000)
                        
    cs_set_user_bpammo(i,CSW_DEAGLE,1000)    
                        
    cs_set_user_bpammo(i,CSW_M249,1000)
                        
                        
    set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), -1.00.320.55.0)
                        
    ShowSyncHudMsg(0hudmesaji"= Zombi Istilasi Basladi. = ")
                        
                        for (new 
    1<= 32i++)
                            if(
    is_user_connected(i) && get_user_team(i) == 1)
                            
    client_cmd(i,"spk zombimod/zombi_siren");
                    }
                    
    zombimod 1;
                }
                
    set_lights("b")
                
            }
            case 
    6: {
                for(new 
    133i++) 
                { 
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
                    {
                        
    set_user_health(i,100);
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                        
    give_item(i,"weapon_deagle")
                        
    give_item(i,"weapon_m4a1")
                        
    give_item(i,"weapon_ak47")
                        
    cs_set_user_bpammo(i,CSW_DEAGLE,90)
                        
    cs_set_user_bpammo(i,CSW_M4A1,90)
                        
    cs_set_user_bpammo(i,CSW_AK47,90)
                        
    cs_reset_user_model(i)
                        
    set_user_gnvision(i0)
                    }
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
                    {
                        
    set_user_health(i,100);
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                    }
                    
    zombimod 0
                }
                
    set_lights("#OFF")
                
    set_task(1.0,"hud",id+task_bilgi)
            }
            case 
    7: {
                if(
    zombisinifi == 1){
                    
    zombisinifi 2
                    zm_menu
    (id)
                }
                else if(
    zombisinifi == 2){
                    
    zombisinifi 3
                    zm_menu
    (id)
                }
                else if(
    zombisinifi == 3){
                    
    zombisinifi 1
                    zm_menu
    (id)
                }
            }
        }
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;
    }

    public 
    hud(id) {
        if(
    zombimod == 1) {
            
    id-= task_bilgi
            set_task
    (1.5"hud"id+task_bilgi);
            
            
    set_hudmessage(025500.010.2106.012.0)
            
    ShowSyncHudMsg(idSyncHudObj,"Zombi Oyunu Kapatildi^n^nZombi HP [ %i ]^nInsan HP [ %i ]",zombihp[id],insanhp[id])
        }
    }

    public 
    OyuncuDogunca(id) { 
        if (
    is_user_alive(id)) 
        {
            if(
    get_user_team(id) == 1)  
            {
                
    strip_user_weapons(id)
                
    give_item(id"weapon_knife")
            }
            if(
    get_user_team(id) == 2)
            {
                
    Zm_SilahDokunamama false
                strip_user_weapons
    (id)
                
    cs_reset_user_model(id)
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_usp")
                
    cs_set_user_bpammo(idCSW_USP,90)
            }
        }
        
    set_lights("#OFF")
    }

    public 
    TurSonu(id) {
        
    set_lights("#OFF")
        
        
    cs_reset_user_model(id)
        
    strip_user_weapons(id)
        
    give_item(id"weapon_knife")
        
    set_user_gnvision(id0)
    }

    public 
    SilahDokunulmaz(weaponid)
    {
        if (
    is_user_alive(id) && Zm_SilahDokunamama)
        {
            return 
    HAM_SUPERCEDE       
        
    }     
        return 
    HAM_IGNORED     
    }

    /*########################################################### Hayalet zombi ###########################################################*/
    public fw_addtofullpack(es_handle,e,ent,host,hostflags,player,pSet)
    {
        if( !
    is_user_alive(ent) || !is_user_alive(host) || get_user_team(ent) == )
            return 
    FMRES_IGNORED;
        
        if( 
    zombimod == &&  zombisinifi == && get_user_team(ent) == 2)
        {
            static 
    color[3];
            
    color[0] = get_pcvar_num(pRed);
            
    color[1] = get_pcvar_num(pGreen);
            
    color[2] = get_pcvar_num(pBlue);
            
    set_es(es_handle,ES_RenderMode,kRenderTransAlpha);
            
    set_es(es_handle,ES_RenderAmt,get_pcvar_num(pAlpha));
            
    set_es(es_handle,ES_RenderFx,kRenderFxGlowShell);
            
    set_es(es_handle,ES_RenderColor,color);
        }
        
        return 
    FMRES_IGNORED;
    }

    public 
    fw_takedamage(victiminflictorattackerFloat:damagedamage_type)
    {
        if ( (
    damage_type DMG_FALL) && zombimod == && get_user_team(victim) == && zombisinifi == 2)
            
    SetHamParamFloat(40.0);  
    }

    /*########################################################### Yarasa Fırlatan Zombi ###########################################################*/
    public client_putinserver(id)
    {
        
    reset_value_player(id)
    }

    public 
    client_disconnect(id)
    {
        
    reset_value_player(id)
    }

    public 
    YeniTurcuk()
    {
        
    g_roundend 0
        
        
    for(new id 1id <= g_maxplayersid++)
        {
            if (!
    is_user_connected(id)) continue;
            
            
    reset_value_player(id)
        }
    }

    public 
    logevent_round_end()
    {
        
    g_roundend 1
    }

    public 
    EventDeath()
    {
        new 
    id read_data(2)
        
        
    reset_value_player(id)
    }

    public 
    zp_user_infected_post(id)
    {
        
    reset_value_player(id)
        
        if(
    get_user_team(id) == 2) return;
        
        if(
    zombisinifi == 3)
        {
            if(
    is_user_bot(id))
            {
                
    set_task(random_float(5.0,15.0), "bot_use_skill"id+TASK_BOT_USE_SKILL)
                return
            }
            
            
    ColorChat(id,NORMAL,"^x04[Yarasa Firlatan Zombi]:^x01 Yarasa Firlatan Zombi Oldun.^x04 Artik Yarasa Firlatma^x01 Özelligin Var.^x04 %.1f ^x01saniyede bir ^x04G ^x01tusuna basarak firlatabilirsin."bat_timewait)
        }
    }

    public 
    cmd_bat(id)
    {    
        if((!
    is_user_alive(id)) || (get_user_team(id) != 2) || (g_roundend)) return PLUGIN_CONTINUE
        
        
    if(zombisinifi == && !g_bat_time[id])
        {
            
    g_bat_time[id] = 1
            
            set_task
    (bat_timewait,"clear_stat",id+TASK_REMOVE_STAT)
            
            new 
    ent engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"))
            
            if(!
    pev_valid(ent)) return PLUGIN_HANDLED
            
            
    new Float:vecAngle[3],Float:vecOrigin[3],Float:vecVelocity[3],Float:vecForward[3]
            
    fm_get_user_startpos(id,5.0,2.0,-1.0,vecOrigin)
            
    pev(id,pev_angles,vecAngle)
            
            
    engfunc(EngFunc_MakeVectors,vecAngle)
            
    global_get(glb_v_forward,vecForward)
            
            
    velocity_by_aim(id,floatround(banchee_skull_bat_speed),vecVelocity)
            
            
    set_pev(ent,pev_origin,vecOrigin)
            
    set_pev(ent,pev_angles,vecAngle)
            
    set_pev(ent,pev_classname,BAT_CLASSNAME)
            
    set_pev(ent,pev_movetype,MOVETYPE_FLY)
            
    set_pev(ent,pev_solid,SOLID_BBOX)
            
    engfunc(EngFunc_SetSize,ent,{-20.0,-15.0,-8.0},{20.0,15.0,8.0})
            
            
    engfunc(EngFunc_SetModel,ent,MODEL_BAT)
            
    set_pev(ent,pev_animtime,get_gametime())
            
    set_pev(ent,pev_framerate,1.0)
            
    set_pev(ent,pev_owner,id)
            
    set_pev(ent,pev_velocity,vecVelocity)
            
    set_pev(ent,pev_nextthink,get_gametime()+banchee_skull_bat_flytime)
            
    emit_sound(entCHAN_WEAPONSOUND_FIRE1.0ATTN_NORM0PITCH_NORM)
            
            
    g_stop[id] = ent
            
            PlayWeaponAnimation
    (id2)
            
    pev(idpev_maxspeedg_temp_speed[id])
            
    set_pev(id,pev_maxspeed,0.1)
            
            return 
    PLUGIN_HANDLED
        
    }
        
        return 
    PLUGIN_CONTINUE
    }

    public 
    fw_PlayerPreThink(id)
    {    
        if(!
    is_user_alive(id)) return FMRES_IGNORED
        
    if ( zombimod == ) {
            if(
    g_bat_stat[id])
            {
                new 
    owner g_bat_enemy[id], Float:ownerorigin[3]
                
    pev(owner,pev_origin,ownerorigin)
                static 
    Float:vec[3]
                
    aim_at_origin(id,ownerorigin,vec)
                
    engfunc(EngFunc_MakeVectorsvec)
                
    global_get(glb_v_forwardvec)
                
    vec[0] *= banchee_skull_bat_catch_speed
                vec
    [1] *= banchee_skull_bat_catch_speed
                vec
    [2] = 0.0
                set_pev
    (id,pev_velocity,vec)
            }
            return 
    FMRES_IGNORED
        
    }
        if ( 
    zombimod == && zombisinifi == ){
            
    set_pev(idpev_flTimeStepSound999)
        }
        return 
    PLUGIN_CONTINUE
    }

    public 
    EntityThink(ent)
    {
        if(!
    pev_valid(ent)) return HAM_IGNORED
        
        
    new classname[32]
        
    pev(ent,pev_classname,classname,31)
        
        if(
    equal(classname,BAT_CLASSNAME))
        {
            static 
    Float:origin[3];
            
    pev(ent,pev_origin,origin);
            
            
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY); 
            
    write_byte(TE_EXPLOSION); // TE_EXPLOSION
            
    write_coord(floatround(origin[0])); // origin x
            
    write_coord(floatround(origin[1])); // origin y
            
    write_coord(floatround(origin[2])); // origin z
            
    write_short(spr_skull); // sprites
            
    write_byte(40); // scale in 0.1's
            
    write_byte(30); // framerate
            
    write_byte(14); // flags 
            
    message_end(); // message end
            
            
    emit_sound(entCHAN_WEAPONSOUND_BAT_MISS1.0ATTN_NORM0PITCH_NORM)
            
            new 
    owner pev(entpev_owner)
            
    g_stop[owner] = 0
            set_pev
    (owner,pev_maxspeed,g_temp_speed[owner])
            
            
    engfunc(EngFunc_RemoveEntity,ent)
        }
        
        return 
    HAM_IGNORED
    }

    public 
    EntityTouchPost(ent,ptd)
    {
        if(!
    pev_valid(ent)) return HAM_IGNORED
        
        
    new classname[32]
        
    pev(ent,pev_classname,classname,31)
        
        if(
    equal(classname,BAT_CLASSNAME))
        {
            if(!
    pev_valid(ptd))
            {
                static 
    Float:origin[3];
                
    pev(ent,pev_origin,origin);
                
                
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY); 
                
    write_byte(TE_EXPLOSION); // TE_EXPLOSION
                
    write_coord(floatround(origin[0])); // origin x
                
    write_coord(floatround(origin[1])); // origin y
                
    write_coord(floatround(origin[2])); // origin z
                
    write_short(spr_skull); // sprites
                
    write_byte(40); // scale in 0.1's
                
    write_byte(30); // framerate
                
    write_byte(14); // flags 
                
    message_end(); // message end
                
                
    emit_sound(entCHAN_WEAPONSOUND_BAT_MISS1.0ATTN_NORM0PITCH_NORM)
                
                new 
    owner pev(entpev_owner)
                
    g_stop[owner] = 0
                set_pev
    (owner,pev_maxspeed,g_temp_speed[owner])
                
                
    engfunc(EngFunc_RemoveEntity,ent)
                
                return 
    HAM_IGNORED
            
    }
            
            new 
    owner pev(ent,pev_owner)
            
            if(
    ptd && ptd <= g_maxplayers && is_user_alive(ptd) && ptd != owner)
            {
                
    g_bat_enemy[ptd] = owner
                
                set_pev
    (ent,pev_nextthink,get_gametime()+banchee_skull_bat_catch_time)
                
    set_task(banchee_skull_bat_catch_time,"clear_stat2",ptd+TASK_REMOVE_STAT)
                
    set_pev(ent,pev_movetype,MOVETYPE_FOLLOW)
                
    set_pev(ent,pev_aiment,ptd)
                
                
    emit_sound(ownerCHAN_VOICESOUND_BAT_HIT1.0ATTN_NORM0PITCH_NORM)
                
                
    g_bat_stat[ptd] = 1
            
    }
        }
        
        return 
    HAM_IGNORED
    }

    public 
    clear_stat(taskid)
    {
        new 
    id ID_TASK_REMOVE_STAT
        
        g_bat_stat
    [id] = 0
        g_bat_time
    [id] = 0
        
        ColorChat
    (id,NORMAL,"^x04[Yarasa Firlatan Zombi]:^x01 Ozelligin Geri Geldi.^x01Tekrardan^x04 Yarasa^x01 Firlatabilirsin.")
    }

    public 
    clear_stat2(idx)
    {
        new 
    id idx-TASK_REMOVE_STAT
        
        g_bat_enemy
    [id] = 0
        g_bat_stat
    [id] = 0
    }

    public 
    bot_use_skill(taskid)
    {
        new 
    id ID_BOT_USE_SKILL
        
        
    if (!is_user_alive(id)) return;
        
        
    cmd_bat(id)
        
        
    set_task(random_float(5.0,15.0), "bot_use_skill"id+TASK_BOT_USE_SKILL)
    }

    fm_get_user_startpos(id,Float:forw,Float:right,Float:up,Float:vStart[])
    {
    new 
    Float:vOrigin[3], Float:vAngle[3], Float:vForward[3], Float:vRight[3], Float:vUp[3]

    pev(idpev_originvOrigin)
    pev(idpev_v_anglevAngle)

    engfunc(EngFunc_MakeVectorsvAngle)

    global_get(glb_v_forwardvForward)
    global_get(glb_v_rightvRight)
    global_get(glb_v_upvUp)

    vStart[0] = vOrigin[0] + vForward[0] * forw vRight[0] * right vUp[0] * up
    vStart
    [1] = vOrigin[1] + vForward[1] * forw vRight[1] * right vUp[1] * up
    vStart
    [2] = vOrigin[2] + vForward[2] * forw vRight[2] * right vUp[2] * up
    }

    aim_at_origin(idFloat:target[3], Float:angles[3])
    {
    static 
    Float:vec[3]
    pev(id,pev_origin,vec)
    vec[0] = target[0] - vec[0]
    vec[1] = target[1] - vec[1]
    vec[2] = target[2] - vec[2]
    engfunc(EngFunc_VecToAngles,vec,angles)
    angles[0] *= -1.0
    angles
    [2] = 0.0
    }

    PlayWeaponAnimation(idanimation)
    {
    set_pev(idpev_weaponanimanimation)
    message_begin(MSG_ONESVC_WEAPONANIM, {000}, id)
    write_byte(animation)
    write_byte(pev(idpev_body))
    message_end()
    }

    reset_value_player(id)
    {
    g_stop[id] = 0
    g_bat_time
    [id] = 0
    g_bat_stat
    [id] = 0
    g_bat_enemy
    [id] = 0

    remove_task
    (id+TASK_BOT_USE_SKILL)
    remove_task(id+TASK_REMOVE_STAT)
    }

    /*########################################################### Yarasa Fırlatan Zombi Son ###########################################################*/

    /*
    public fog(bool:on)    
    {
    if (on)
    {
    message_begin(MSG_ALL,get_user_msgid("Fog"),{0,0,0},0)
    write_byte(random_num(180,244))  // Kırmızı
    write_byte(1)  // Yeşil
    write_byte(5)  // Mavi
    write_byte(7) // SD
    write_byte(40)  // ED
    write_byte(10)   // D1
    write_byte(0)  // D2
    message_end()
    }
    else
    {
    message_begin(MSG_ALL,get_user_msgid("Fog"),{0,0,0},0)
    write_byte(0)  // Kırmızı
    write_byte(0)  // Yeşil
    write_byte(0)  // Mavi
    write_byte(0) // SD
    write_byte(0)  // ED
    write_byte(0)   // D1
    write_byte(0)  // D2
    message_end()
    }
    }
    */

    // Yeni Nightvision
    set_user_gnvision(idtoggle)
    {
    message_begin(MSG_ONEyeni_nightvision_id)
    write_byte(toggle)
    message_end()
    }


    public 
    DeaTReX3(id) { 
    if(
    get_user_flags(id) & ADMIN_LEVEL_E){
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yAclik Oyunu")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\rGardiyanlara M4A1 Ver"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\wGardiyanlara AK47 Ver"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\wSaklanbac Oyunu"
    menu_additem(menuMenuz"3"
    formatex(Menuzcharsmax(Menuz), "\wFF Ac"
    menu_additem(menuMenuz"4")

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    DeaTReX3_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1: {
    console_cmd(id,"amx_weapon @CT 43");
    }
    case 
    2: {
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    3: {
    console_cmd(id,"amx_weapon @CT 43");
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    4: {
    console_cmd(id,"amx_cvar mp_friendlyfire 1");
    }

    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;


    public 
    Normal_FF_Menu(id) {
    if( !(
    get_user_flags(id) & ADMIN_KICK) ) return PLUGIN_HANDLED
    new menu menu_create("\y[Normal] \r|-FF-Menusu-|","devam_shvskbvw")
    menu_additem(menu,"\y|-\rBicak Kapismasi\y-|","1",0)
    menu_additem(menu,"\r|-\yGlock Kapismasi\r-|","2",0)
    menu_additem(menu,"\y|-\rDeagle Kapismasi\y-|","3",0)
    menu_additem(menu,"\r|-\yKolt Kapismasi\r-|","4",0)
    menu_additem(menu,"\y|-\rKeles Kapismasi\y-|","5",0)
    menu_additem(menu,"\r|-\yAwp Kapismasi\r-|","6",0)
    menu_additem(menu,"\y|-\rPompali Kapismasi\y-|","7",0)
    menu_additem(menu,"\y|-\rBomba Kapismasi\y-|","8",0)
    menu_setprop(menuMPROP_EXITMEXIT_ALL)
    menu_display(idmenu0)
    return 
    PLUGIN_HANDLED
    }



    public 
    devam_shvskbvw(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1:
    {
    ColorChat(0,NORMAL,"^04[JB] :^01Normal FF.")
    ColorChat(0,NORMAL,"^04[JB] : ^01T ler Birbirleriyle Kavga Edicek.")
    server_cmd("mp_friendlyfire 1")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)
    {
    give_item(i,"weapon_knife")
    set_user_health(i,750)
    }
    }
    }
    case 
    2:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Glock FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Glock Verilicek Ve Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_GLOCK18,120 )
    give_item(i,"weapon_glock18")
    set_user_health(i,750)
    }
    }
    }
    case 
    3:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Deagle FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Deagle Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2)
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)  
    {
    cs_set_user_bpammo(i,CSW_DEAGLE,140 )
    give_item(i,"weapon_deagle")
    set_user_health(i,750)
    }
    }
    }
    case 
    4:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Colt FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Colt Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_M4A1,140 )
    give_item(i,"weapon_m4a1")
    set_user_health(i,750)
    }
    }
    }
    case 
    5:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01ak47 FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Keles Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2)
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)  
    {
    cs_set_user_bpammo(i,CSW_AK47,140 )
    give_item(i,"weapon_ak47")
    set_user_health(i,750)
    }
    }
    }
    case 
    6:
    {
    server_cmd("mp_friendlyfire 1")
    for(new 
    133i++) 

    ColorChat(0,NORMAL,"^04[JB] :^01aWP FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Awp Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
        
    set_user_health(i,15000)
        
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
        
    cs_set_user_bpammo(i,CSW_AWP,140 )
        
    give_item(i,"weapon_awp")
        
    set_user_health(i,750)
    }
    }
    }
    }
    case 
    7:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Pompali FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Pompali Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_M3,140 )
    give_item(i,"weapon_m3")
    set_user_health(i,750)
    }
    }
    }

    case 
    8:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Bomba FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Bomba Verilicek Ve Birbirlerine Aticaklar.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_HEGRENADE,20)
    give_item(i,"weapon_hegrenade")
    set_user_health(i,250)
    }

    }
    }
    }
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    //------------------------------------------ FF Menusu [Gorunmez] -------------------------------------- //
    public Gorunmez_FF_Menu(id) {
    if( !(
    get_user_flags(id) & ADMIN_KICK) ) return PLUGIN_HANDLED
    new menu menu_create("\d[Gorunmez] \r|-FF-Menusu-|","devam_yqlqzhwa")
    menu_additem(menu,"\y|-\rBicak Kapismasi\y-|","1",0)
    menu_additem(menu,"\r|-\yGlock Kapismasi\r-|","2",0)
    menu_additem(menu,"\y|-\rDeagle Kapismasi\y-|","3",0)
    menu_additem(menu,"\r|-\yKolt Kapismasi\r-|","4",0)
    menu_additem(menu,"\y|-\rKeles Kapismasi\y-|","5",0)
    menu_additem(menu,"\r|-\yAwp Kapismasi\r-|","6",0)
    menu_additem(menu,"\y|-\rPompali Kapismasi\y-|","7",0)
    menu_additem(menu,"\y|-\rBomba Kapismasi\y-|","8",0)
    menu_setprop(menuMPROP_EXITMEXIT_ALL)
    menu_display(idmenu0)
    return 
    PLUGIN_HANDLED
    }



    public 
    devam_yqlqzhwa(imenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1:
    {
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Normal FF.")
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01T ler Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    give_item(i,"weapon_knife")
    set_user_health(i,750)
    }
    }
    }
    case 
    2:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Glock FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Glock Verilicek Ve Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_GLOCK18,140 )
    give_item(i,"weapon_glock18")
    set_user_health(i,750)
    }
    }
    }
    case 
    3:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Deagle FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Deagle Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_DEAGLE,140 )
    give_item(i,"weapon_deagle")
    set_user_health(i,750)
    }
    }
    }
    case 
    4:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Colt FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Colt Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_M4A1,140 )
    give_item(i,"weapon_m4a1")
    set_user_health(i,750)
    }
    }
    }
    case 
    5:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez ak47 FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Keles Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_AK47,140 )
    give_item(i,"weapon_ak47")
    set_user_health(i,750)
    }
    }
    }
    case 
    6:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez aWP FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Awp Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_AWP,140 )
    give_item(i,"weapon_awp")
    set_user_health(i,750)
    }
    }
    }
    case 
    7:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(i,NORMAL,"^04[JB] :^01Gorunmez Pompali FF.")
    ColorChat(i,NORMAL,"^04[JB] :^01T lere Pompali Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_M3,150 )
    give_item(i,"weapon_m3")
    set_user_health(i,750)
    }
    }
    }
    case 
    8:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Bomba FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Bomba Verilicek Ve Birbirlerine Aticaklar.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_HEGRENADE,20)
    give_item(i,"weapon_hegrenade")
    set_user_health(i,250)
    }
    }
    }
    }
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }

    public 
    DeaTReX4(id) { 
    if(
    get_user_flags(id) & ADMIN_LEVEL_E){
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yMahkumlara HP Ver")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\r100 HP Ver"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\w250 HP Ver"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\w500 HP Ver"
    menu_additem(menuMenuz"3"

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    DeaTReX4_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1: {
    console_cmd(id,"amx_weapon @CT 43");
    }
    case 
    2: {
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    3: {
    console_cmd(id,"amx_weapon @CT 43");
    console_cmd(id,"amx_weapon @CT 42");
    }

    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;


    public 
    ayarlarikapat(id)
    {
    server_cmd("mp_friendlyfire 0")
    server_cmd("amx_unammo @all 0")
    server_cmd("sv_gravity 800")
    set_lights("#OFF")
    ColorChat(0,NORMAL,"^03[JB] Tum ^04Ayarlar ^01Eski ^06Haline ^3Getirildi")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,100)
    set_user_godmode(i,0)
    set_user_noclip(i,0)
    set_user_armor(i,0)
    cs_reset_user_model(i)
    set_user_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
    set_user_health(i,100)
    set_user_godmode(i,0)
    cs_reset_user_model(i)
    set_user_noclip(i,0)
    set_user_armor(i,0)
    strip_user_weapons(i)
    give_item(i"weapon_knife")
    }    
    }


  5. #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: Akcali Bakarmısın Pluginde Sorun Var

    İnternetten jail kütüphanesini içeren pluginleri compile edemezsin. Amxx Studio indirip jail.inc i gerekli yere atıp amxx studiodan çeviriceksin

    ---------- Alttaki Mesaj Zamani 14:19 ---------- Önceki Mesaj Zamani 14:17 ----------

    sma dan jail kütüphanesini çıkarın. Zaten niçin eklediniz ki ?

    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/


  6. #6
    teğmen emektar Nefesim - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2013
    Mesajlar
    1.019
    Bahsedildi
    60 Mesaj
    Etiketlenmiş
    2 Konu
    Tecrübe Puanı
    9

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    Pluginlerle Aram Yok Kardeşim Nası yapıcam ?
    Nefesim Fark Yaratırmı ?

  7. #7
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    Verdim ya
    PHP- Kodu:
    #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <fakemeta>
    #include <fun>
    #include <nvault>
    #include <engine>
    #include <colorchat>

    #define ADMIN_LEVEL ADMIN_KICK
    #define task 672

    #define task_bilgi 672

    #define OFFSET_PRIMARYWEAPON 116

    new zaman2 30 
    new zaman3 60 
    new zaman4 120


    new takim[33];


    new 
    bool:Zm_SilahDokunamama

    new VIEW_ZOMBI[]        = "models/admin_zombi/v_zombi_el.mdl";
    new 
    PLAYER_ZOMBI[]        = "models/admin_zombi/p_zombi_el.mdl";
    new 
    zombihp[33];
    new 
    insanhp[33];
    new 
    SyncHudObj;
    new 
    yeni_nightvision;
    new 
    zombimod// herkes
    new hudmesaji;
    new 
    zombisinifi;

    // Hayalet zombi
    new pSilentpAlphapRedpBluepGreen;

    // Yarasa Fırlatan Zombi
    const zclass_health 1800
    const zclass_speed 190
    const Float:zclass_gravity 1.0
    const Float:zclass_knockback 1.0

    new const SOUND_FIRE[] = "zombie_plague/zombi_banshee_pulling_fire.wav"
    new const SOUND_BAT_HIT[] = "zombie_plague/zombi_banshee_laugh.wav"
    new const SOUND_BAT_MISS[] = "zombie_plague/zombi_banshee_pulling_fail.wav"
    new const MODEL_BAT[] = "models/zombie_plague/bat_witch.mdl"
    new const BAT_CLASSNAME[] = "banchee_bat"
    new spr_skull

    const Float:banchee_skull_bat_speed 600.0
    const Float:banchee_skull_bat_flytime 3.0
    const Float:banchee_skull_bat_catch_time 3.0
    const Float:banchee_skull_bat_catch_speed 100.0
    const Float:bat_timewait 14.0

    new g_stop[33]
    new 
    g_bat_time[33]
    new 
    g_bat_stat[33]
    new 
    g_bat_enemy[33]
    new 
    Float:g_temp_speed[33]

    new 
    g_maxplayers
    new g_roundend

    enum 
    (+= 100)
    {
    TASK_BOT_USE_SKILL 2367,
    TASK_REMOVE_STAT
    }
    new 
    bool:ctyardim_enabled;

    #define ID_BOT_USE_SKILL (taskid - TASK_BOT_USE_SKILL)
    #define ID_TASK_REMOVE_STAT (taskid - TASK_REMOVE_STAT)

    public plugin_precache() {
    SyncHudObj CreateHudSyncObj();
    precache_model("models/player/zombi/zombi.mdl")
    precache_sound("zombimod/zombi_siren.wav")
    precache_sound("zombimod/zombi_mod_baslangic.wav");
    precache_sound(SOUND_FIRE)
    precache_sound(SOUND_BAT_HIT)
    precache_sound(SOUND_BAT_MISS)

    precache_model(MODEL_BAT)

    spr_skull precache_model("sprites/ef_bat.spr")

    precache_model(VIEW_ZOMBI);   
    precache_model(PLAYER_ZOMBI);
    }



    public 
    plugin_init()
    {
    register_clcmd("say .onctyardim","CtYardimEnable")
    register_clcmd("say .offctyardim","CtYardimDisable")
    register_clcmd("say /ctyardim","DeaTReX")
    register_clcmd("say /tm","cmdTeamMenu")
    register_clcmd("say /takim","cmdTeamMenu")
    register_clcmd("say_team /tm","cmdTeamMenu")
    register_clcmd("say_team /takim","cmdTeamMenu")
    register_clcmd("say /myteam","getTeam")
    register_clcmd("say /takimim","getTeam")

    RegisterHam(Ham_TakeDamage,"player","fw_TakeDamage")
    register_logevent("RoundEnd",2,"1=Round_End")

    register_clcmd("say /zombi","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say_team /zombi","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say /zm","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("say_team /zm","kont")    // Zombi Mod Başlatma Komutu
    register_clcmd("drop""cmd_bat")

    register_logevent("YeniTur",2,"0=World triggered","1=Round_Start")
    register_logevent("TurSonu"2"1=Round_End")

    register_event("HLTV""YeniTurcuk""a""1=0""2=0")
    register_event("DeathMsg""EventDeath""a")
    register_logevent("logevent_round_end"2"1=Round_End")


    register_forward(FM_AddToFullPack"fw_addtofullpack"1);
    register_forward(FM_PlayerPreThink,"fw_PlayerPreThink")

    RegisterHam(Ham_Spawn"player""OyuncuDogunca"1)
    RegisterHam(Ham_Touch"weaponbox""SilahDokunulmaz")
    RegisterHam(Ham_Touch"armoury_entity""SilahDokunulmaz")
    RegisterHam(Ham_Touch"weapon_shield""SilahDokunulmaz")
    RegisterHam(Ham_Touch,"info_target","EntityTouchPost",1)
    RegisterHam(Ham_Think,"info_target","EntityThink")
    RegisterHam(Ham_TakeDamage"player""fw_takedamage");

    pSilent get_cvar_pointer("zp_zombie_silent")
    pAlpha register_cvar("zp_ghost_invisibility""1")
    pRed register_cvar("zp_ghost_glow_red""0")
    pGreen register_cvar("zp_ghost_glow_green""0")
    pBlue  register_cvar("zp_ghost_glow_blue",  "10")
    zombisinifi 1
    hudmesaji 
    CreateHudSyncObj()
    yeni_nightvision get_user_msgid"NVGToggle" );
    g_maxplayers get_maxplayers()

    }

    public 
    CtYardimEnable(id) {
    if(!
    access(id,ADMIN_LEVEL)) return PLUGIN_CONTINUE
    ctyardim_enabled 
    true;
    client_print(id,print_chat,"CT Takimi Icin CTYardim Menusune Erisim Acildi !")
    return 
    PLUGIN_CONTINUE
    }
    public 
    CtYardimDisable(id) {
    if(!
    access(id,ADMIN_LEVEL)) return PLUGIN_CONTINUE
    ctyardim_enabled 
    false;
    client_print(id,print_chat,"CT Takimi Icin CTYardim Menusune Erisim Kapatildi !")
    return 
    PLUGIN_CONTINUE
    }
    public 
    DeaTReX(id) { 
    if(!(
    get_user_flags(id) & ADMIN_KICK) && !ctyardim_enabled) {
        return 
    PLUGIN_CONTINUE
    }
    if(!(
    get_user_flags(id) & ADMIN_KICK) && get_user_team(id) != 2) {
        return 
    PLUGIN_CONTINUE
    }
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yCT Yardim Menu")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\rGardiyan Godmode Ac"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\wGardiyan Godmode Kapat"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\wSaklanbac Oyunu"
    menu_additem(menuMenuz"3"
    formatex(Menuzcharsmax(Menuz), "\wYakartop Oyunu"
    menu_additem(menuMenuz"4")
    formatex(Menuzcharsmax(Menuz), "\wCete Oyunu [Ozel]"
    menu_additem(menuMenuz"5")
    formatex(Menuzcharsmax(Menuz), "\wYakalanbac Oyunu"
    menu_additem(menuMenuz"6")
    formatex(Menuzcharsmax(Menuz), "\rSimit Oyunu"
    menu_additem(menuMenuz"7"
    formatex(Menuzcharsmax(Menuz), "\wC4 Oyunu [OZEL]"
    menu_additem(menuMenuz"8"
    formatex(Menuzcharsmax(Menuz), "\wHayalet Oyunu"
    menu_additem(menuMenuz"9"
    formatex(Menuzcharsmax(Menuz), "\wKus Oyunu"
    menu_additem(menuMenuz"10")
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu [OZEL]"
    menu_additem(menuMenuz"11")
    formatex(Menuzcharsmax(Menuz), "\wAclik Oyunu [OZEL]"
    menu_additem(menuMenuz"12")
    formatex(Menuzcharsmax(Menuz), "\rUcan Pipi Oyunu"
    menu_additem(menuMenuz"13"
    formatex(Menuzcharsmax(Menuz), "\wKule Oyuun [Druglu]"
    menu_additem(menuMenuz"14"
    formatex(Menuzcharsmax(Menuz), "\wAraf Oyunu"
    menu_additem(menuMenuz"15"
    formatex(Menuzcharsmax(Menuz), "\y[Normal] \wFF Menusu"
    menu_additem(menuMenuz"16")
    formatex(Menuzcharsmax(Menuz), "\y[Gorunmez] \wFF Menusu"
    menu_additem(menuMenuz"17")
    formatex(Menuzcharsmax(Menuz), "\wMahkumlara HP Ver"
    menu_additem(menuMenuz"18")
    formatex(Menuzcharsmax(Menuz), "\wTum Ayarlari Sifirla"
    menu_additem(menuMenuz"19")

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_CONTINUE
    }

    public 
    DeaTReX_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
        
    menu_destroy(menu)
        return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
        case 
    1: {
            
    console_cmd(id,"amx_godmode @CT 1");
        }
        case 
    2: {
            
    console_cmd(id,"amx_godmode @CT 0");
        }
        case 
    3: {
            
    Menu(id)
        }
        case 
    4: {
            
    server_cmd("amx_glow @T blue")   
            
    server_cmd("amx_godmode @CT 1")   
            
    server_cmd("amx_heal @CT 9999999")    
            
    server_cmd("amx_disarm @all")   
            
    server_cmd("amx_unammo @CT 1")  
            
    server_cmd("amx_fire @CT 1")
        }
        case 
    5: {
            
    cmdTeamMenu(id)    
        }
        case 
    6: {
            
    server_cmd("amx_heal @CT 999999")  
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_speed @CT 1")   
            
    server_cmd("amx_disarm @all"
        }
        case 
    7: {
            
    server_cmd("amx_heal @CT 5000")   
            
    server_cmd("amx_disarm @all")
            
    server_cmd("amx_glow @t green")
            
    server_cmd("amx_glow @CT aqua")
        }
        case 
    8: {
            
    C4Oyunu(id)
        }
        case 
    9: {
            
    server_cmd("amx_heal @CT 1250")  
            
    server_cmd("amx_disarm @all")  
            
    server_cmd("amx_weapon @t 43")  
            
    server_cmd("amx_weapon @t 14")  
            
    server_cmd("amx_noclip @CT 1")  
            
    server_cmd("amx_armor @all 100")
        }
        case 
    10: {
            
    server_cmd("amx_glow @t green")  
            
    server_cmd("amx_disarm @all")  
            
    server_cmd("amx_weapon @CT awp"
            
    server_cmd("amx_weapon @CT scout")
            
    server_cmd("amx_heal @CT 30000"
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_cvar sv_gravity 250")
            
    server_cmd("amx_unammo @CT 1")
        }
        case 
    11: {
            
    zm_menu(id)
        }
        case 
    12: {
            
    DeaTReX3(id)
        }
        case 
    13: {
            
    server_cmd("amx_disarm @T")
            
    server_cmd("amx_cvar sv_gravity 100")
            
    server_cmd("amx_heal @CT 999999")
            
    server_cmd("amx_godmode @CT 1")
        }
        case 
    14: {
            
    server_cmd("amx_drug @t")
            
    server_cmd("amx_glow @t green")
        }
        case 
    15: {
            
    server_cmd("amx_glow @t 0 0 0 0")
            
    server_cmd("amx_glow @CT aqua")
            
    server_cmd("amx_heal @t 500")
            
    server_cmd("amx_heal @CT 5000")
            
    server_cmd("amx_godmode @CT 1")
            
    server_cmd("amx_weapon @all 14")
        }
        case 
    16: {
            
    Normal_FF_Menu(id)
        }
        case 
    17: {
            
    Gorunmez_FF_Menu(id)    
        }
        case 
    18: {
            
    DeaTReX4(id)
        }
        case 
    19: {
            
    ayarlarikapat(id)
        }
        case 
    20: {
            
    server_cmd("amx_durdur")
        }
        case 
    21: {
            
    server_cmd("amx_durdur")
        }
        case 
    22: {
            
    server_cmd("amx_durdur")
        }
        
    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;



    public 
    otuzsaniye(id) { 
    set_task(0.30,"otuzsaniye",0+task
    zaman2-- 

    if(
    zaman2 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task
        
        
        
    remove_task(0+task


    public 
    birdakika(id) { 
    set_task(1.0,"birdakika",0+task
    zaman3-- 
    if(
    zaman3 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task


    public 
    ikidakika(id) { 
    set_task(2.0,"ikidakika",0+task
    zaman4-- 

    if(
    zaman4 == 0) { 
        
    client_cmd(id,"amx_bury @T"
        
    client_cmd(id,"amx_speed @CT 1"
        
    remove_task(0+task
    }
    }

    public 
    Menu(id) {   
    if(
    get_user_flags(id) & ADMIN_KICK)   
    {   
        new 
    menuMenuz[512]   
        
    formatex(Menuzcharsmax(Menuz), "\yOtomatik Saklanbac Oyunu")   
        
    menu menu_create(Menuz"Menu_Devam")   
        
    formatex(Menuzcharsmax(Menuz), "\w30 Saniye Sure")   
        
    menu_additem(menuMenuz"1")   
        
    formatex(Menuzcharsmax(Menuz), "\w1 Dakika Sure")   
        
    menu_additem(menuMenuz"2")     
        
    formatex(Menuzcharsmax(Menuz), "\w2 Dakika Sure")   
        
    menu_additem(menuMenuz"3")     
        
    formatex(Menuzcharsmax(Menuz), "\yCikis")   
        
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz)   
        
        
    menu_display(idmenu0)   
        
    }   
    return 
    PLUGIN_HANDLED;       
    }   

    public 
    Menu_Devam(idmenuitem) {   

    if (
    item == MENU_EXIT)   
    {   
        
    menu_destroy(menu)   
        
        return 
    PLUGIN_CONTINUE   
    }   

    new 
    data[6], iName[64]   
    new 
    accesscallback   
    menu_item_getinfo
    (menuitemaccessdata,5iName63callback)   

    new 
    key str_to_num(data)   

    switch(
    key)   
    {   
        case 
    1:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    otuzsaniye(id
        }   
        case 
    2:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    birdakika(id
        }   
        
        case 
    3:   
        {   
            
    server_cmd("amx_godmode @CT 1"
            
    server_cmd("amx_heal @CT 1000"
            
    ikidakika(id
        } 
    }   
    return 
    PLUGIN_HANDLED   


    public 
    client_connect(id) {
    takim[id] = 0;
    }
    /* 
    JB Glow İle Takımlara Ayırma 
    Author: akcaliberkk
    */
    public cmdTeamMenu(id) {
    if(!(
    get_user_flags(id) & ADMIN_LEVEL)) {
        
    client_print(id,print_chat,"Bu Menuyu Acmak Icin Izinli Degilsin")
        return 
    PLUGIN_HANDLED
    }
    new 
    menu menu_create("\rTakim Menusu""menu_handler"

    menu_additem(menu"\yKirmizi Takim""1"0); 
    menu_additem(menu"\yBeyaz Takim""2"0); 
    menu_additem(menu"\yMavi Takim""3"0); 
    menu_additem(menu"\ySari Takim""4"0); 
    menu_additem(menu"\yYesil Takim""5"0);
    menu_additem(menu"\yTakimdan Cikar""6"0);

    menu_setprop(menuMPROP_EXITMEXIT_ALL); 
    menu_display(idmenu0); 
    return 
    PLUGIN_CONTINUE
    }

    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); 

    switch(
    key

        case 
    1: { 
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,0,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Kirmizi ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 1;
                
    client_print(Uid,print_center,"Sen Artik Kirmizi Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        } 
        case 
    2: {  
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,255,255,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Beyaz ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 2;
                
    client_print(Uid,print_center,"Sen Artik Beyaz Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        } 
        case 
    3: {  
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,0,255,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Mavi ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 3;
                
    client_print(Uid,print_center,"Sen Artik Mavi Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
        
        case 
    4: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,255,255,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Sari ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 4;
                
    client_print(Uid,print_center,"Sen Artik Sari Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
            
        }
        case 
    5: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,255,0,kRenderNormal,150)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu ^4Yesil ^1Takima Atadi !",admin,isim)
                
    takim[Uid] = 5;
                
    client_print(Uid,print_center,"Sen Artik Yesil Takimdasin")
                
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
        case 
    6: {
            new 
    isim[65],vucut,Uid,admin[65];
            
    get_user_aiming(id,Uid,vucut)
            if(
    Uid && Uid!=id && is_user_connected(Uid)) {
                
    get_user_name(Uid,isim,64)
                
    get_user_name(id,admin,64)
                
    set_rendering(Uid,kRenderFxGlowShell,0,0,0,kRenderNormal,0)
                
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s ^1Adli Oyuncuyu Takimdan Cikardi !",admin,isim)
                
    takim[Uid] = 0;
                
    client_print(Uid,print_center,"Takimdan Cikarildin")
                
    menu_display(id,menu)
            }
            else {
                
    client_print(id,print_chat,"Bir Oyuncuya Nisan Almalisin !")
                
    menu_display(id,menu)
            }
        }
    }
    return 
    PLUGIN_HANDLED
    }
    public 
    getTeam(id) {
    if(
    takim[id] == 0) {
        
    client_print(id,print_chat,"Herhangi Bir Takimda Degilsin !")
        return 
    PLUGIN_HANDLED
    }
    new 
    szteam[32];
    switch(
    takim[id]) {
        case 
    1szteam "Kirmizi";
            case 
    2szteam "Beyaz";
                case 
    3szteam "Mavi";
                case 
    4szteam "Sari";
                case 
    5szteam "Yesil";
            }
        
    ColorChat(id,GREEN,"[JB-TAKIM] ^3Senin Takimin: ^4%s",szteam)
        
    client_print(id,print_center,"%s Takimdasin",szteam)
        return 
    PLUGIN_HANDLED
    }
    public 
    fw_TakeDamage(victiminflictorattackerFloat:damage)
    {
        if(
    takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    client_print(attacker,print_chat,"Takim Arkadasina Zarar Veremezsin ! Dusmanlarina Odaklan !")
            
    client_print(attacker,print_center,"Takim Arkadasina Zarar Veremezsin")
            return 
    HAM_SUPERCEDE
        
    }
        return 
    HAM_IGNORED
    }
    public 
    cmdTeam(id) {
        if(!(
    get_user_flags(id) & ADMIN_LEVEL)) {
            
    console_print(id,"Bunun Icin Izinli Degilsin")
            return 
    PLUGIN_HANDLED
        
    }
        new 
    Arg1[32];
        new 
    Arg2[32];
        
        
    read_argv(1,Arg1,31)
        
    read_argv(2,Arg2,31)
        
        new 
    team str_to_num(Arg2)
        if(
    team 5team 5;
        
        new 
    Uid find_player("bhl",Arg1)
        if(!
    Uid) {
            
    console_print(id"Oyuncu Bulunamadi !")
            return 
    PLUGIN_HANDLED
        
    }
        new 
    name[65],admin[65];
        
    get_user_name(id,admin,64)
        
    get_user_name(Uid,name,64)
        
        
    takim[Uid] = team;
        
        new 
    szteam[32];
        switch(
    takim[id]) {
            
            case 
    1szteam "Kirmizi";
                case 
    2szteam "Beyaz";
                case 
    3szteam "Mavi";
                case 
    4szteam "Sari";
                case 
    5szteam "Yesil";
            }
        if(
    takim[Uid] == 0) {
            
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s^1 Adli Oyuncuyu Takimdan Cikardi !",admin,name)
            
    client_print(Uid,print_center,"Takimdan Cikarildin")
        }
        else {
            
    ColorChat(0,GREEN,"[JB-TAKIM] ^1ADMIN ^3%s: %s^1 Adli Oyuncuyu ^4%s ^1Takima Atadi !",admin,name,szteam)
            
    client_print(Uid,print_center,"Sen Artik %s Takimdasin",szteam)
            
    client_print(Uid,print_chat,"Takimini Ogrenmek Icin /myteam Yazabilirsin !")
        }
        return 
    PLUGIN_HANDLED
        
    }
    public 
    RoundEnd() {
        for(new 
    i=1;i<=get_maxplayers();i++) {
            
    takim[i] = 0;
            
    set_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,0)
        }


    public 
    C4Oyunu(id) { 
        if(
    get_user_flags(id) & ADMIN_LEVEL_E){
            new 
    menuMenuz[512]  
            
    formatex(Menuzcharsmax(Menuz), "\yC4 Oyunu")  
            
    menu menu_create(Menuz"Menu_Devam")  
            
    formatex(Menuzcharsmax(Menuz), "\rMahkumlari Gom"
            
    menu_additem(menuMenuz"1"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumlari Kaldir"
            
    menu_additem(menuMenuz"2"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumlara C4 Ver"
            
    menu_additem(menuMenuz"3"
            
    formatex(Menuzcharsmax(Menuz), "\wMahkumları Disarmla"
            
    menu_additem(menuMenuz"4")
            
            
    formatex(Menuzcharsmax(Menuz), "\rCikis"
            
    menu_setprop(menu,MPROP_EXITNAME,Menuz
            
            
    menu_display(idmenu0
        return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    C4Oyunu_Devam(idmenuitem) {
        if( 
    item == MENU_EXIT ) {
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        new 
    accescallbackdata[6], iname[64]
        
    menu_item_getinfo(menuitemaccesdata5iname63callback)
        switch(
    str_to_num(data))
        {
            case 
    1: {
                
    console_cmd(id,"amx_bury @t");
            }
            case 
    2: {
                
    console_cmd(id,"amx_unbury @t");
            }
            case 
    3: {
                
    console_cmd(id,"amx_weapon @t c4");
            }
            case 
    4: {
                
    console_cmd(id,"amx_disarm @t");
            }
            
        }
        
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;



    public 
    YeniTur(id) {
        
    kontrol(id);
        
    kontrol2(id);
    }

    public 
    kontrol(id) {
        if(
    zombimod == 1) {
            for(new 
    133i++) { 
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                    
    give_item(i,"weapon_ak47")
                    
    give_item(i,"weapon_m4a1")
                    
    give_item(i,"weapon_deagle")
                    
    give_item(i,"weapon_awp")
                    
    give_item(i,"weapon_hegrenade")
                    
    give_item(i,"weapon_m249")
                    
    cs_set_user_bpammo(i,CSW_AK47,90)
                    
    cs_set_user_bpammo(i,CSW_AWP,90)
                    
    cs_set_user_bpammo(i,CSW_M4A1,90)
                    
    cs_set_user_bpammo(i,CSW_DEAGLE,37)    
                    
    cs_set_user_bpammo(i,CSW_M249,200)
                    
                    
    cs_reset_user_model(i)
                }
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                }
                
    zombimod 0
            }
            
    set_lights("#OFF")
        }
    }

    public 
    kontrol2(id) {
        if(
    zombimod == 1) {
            for(new 
    133i++) { 
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                    
    give_item(i,"weapon_ak47")
                    
    give_item(i,"weapon_m4a1")
                    
    give_item(i,"weapon_deagle")
                    
    give_item(i,"weapon_awp")
                    
    give_item(i,"weapon_hegrenade")
                    
    give_item(i,"weapon_m249")
                    
    cs_set_user_bpammo(i,CSW_AK47,90)
                    
    cs_set_user_bpammo(i,CSW_AWP,90)
                    
    cs_set_user_bpammo(i,CSW_M4A1,90)
                    
    cs_set_user_bpammo(i,CSW_DEAGLE,37)    
                    
    cs_set_user_bpammo(i,CSW_M249,200)
                    
                    
    cs_reset_user_model(i)
                }
                if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2) {
                    
    set_user_health(i,100);
                    
    strip_user_weapons(i)
                    
    give_item(i,"weapon_knife")
                }
                
    zombimod 0
            }
            
    set_lights("#OFF")
        }
    }


    public 
    kont(id) {
        if(
    get_user_team(id) == 2) {
            if(
    get_user_flags(id) & ADMIN_KICK) {
                
    zombihp[id] = 5000;
                
    insanhp[id] = 150;
                
    zm_menu(id)
            }
            else  
            {  
                
    ColorChat(id,NORMAL,"^4[Zombi Mod]:^1 Sadece ^4Admin^1'ler Bu Komutu Kullanabilir!") ; 
            }
        }
    }

    public 
    zm_menu(id) {
        
        new 
    hostname[64]
        
    get_cvar_string("hostname",hostname,63)
        
        new 
    menuMenuz[512
        
    formatex(Menuzcharsmax(Menuz), "\y%s^n\w[JB]: Admin Zombi Mod",hostname
        
    menu menu_create(Menuz"zm_menu_devam")
        
        
    formatex(Menuzcharsmax(Menuz), "\wZombi HP Arttir \y[ + ]"
        
    menu_additem(menuMenuz"1"
        
    formatex(Menuzcharsmax(Menuz), "\wZombi HP Azalt \b[ - ]"
        
    menu_additem(menuMenuz"2")
        
    formatex(Menuzcharsmax(Menuz), "\wInsan HP Arttir \y[ + ]"
        
    menu_additem(menuMenuz"3"
        
    formatex(Menuzcharsmax(Menuz), "\wInsan HP Azalt \b[ - ]"
        
    menu_additem(menuMenuz"4")
        
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu \rBaslat")
        
    menu_additem(menuMenuz"5")
        if(
    zombisinifi == 1) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Normal Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        else if(
    zombisinifi == 2) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Hayalet Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        else if(
    zombisinifi == 3) {
            
    formatex(Menuzcharsmax(Menuz), "\wZombi Sinifi \r[Yarasa Firlatan Zombi]"
            
    menu_additem(menuMenuz"7")
        }
        
    formatex(Menuzcharsmax(Menuz), "\wZombi Oyunu \yDurdur^n^n\yZombi HP \b[ %i ] \w- \yInsan HP \b[ %i ]",zombihp[id],insanhp[id])
        
    menu_additem(menuMenuz"6")
        
        
    formatex(Menuzcharsmax(Menuz), "\yCikis"
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz
        
        
    menu_display(idmenu0
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    zm_menu_devam(idmenuitem) { 
        
        if (
    item == MENU_EXIT
        { 
            
    menu_destroy(menu
            
            return 
    PLUGIN_CONTINUE 
        

        
        new 
    data[6], iName[64
        new 
    accesscallback 
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback
        
        new 
    key str_to_num(data
        
        switch(
    key)
        {
            case 
    1: {
                if(
    zombihp[id] > 4999) {
                    
    zombihp[id] += 1000;
                } 
                
    zm_menu(id);
            }
            case 
    2: {
                if(
    zombihp[id] > 5999) {
                    
    zombihp[id] -= 1000;
                }
                
    zm_menu(id);
            }
            case 
    3: {
                if(
    insanhp[id] > 49) {
                    
    insanhp[id] += 50;
                } 
                
    zm_menu(id);
            }
            case 
    4: {
                if(
    insanhp[id] > 99) {
                    
    insanhp[id] -= 50;
                }
                
    zm_menu(id);
            }
            case 
    5
            {
                for(new 
    133i++) 
                { 
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
                    {
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                        
    cs_set_user_model(i,"zombi")
                        
    client_cmd(i,"spk zombimod/zombi_mod_baslangic");
                        
    Zm_SilahDokunamama true
                        set_pev
    (ipev_viewmodel2VIEW_ZOMBI);
                        
    set_pev(ipev_weaponmodel2PLAYER_ZOMBI);
                        if (
    zombisinifi == 1) {
                            
    set_user_health(i,zombihp[id]);
                            
    set_user_gnvision(i1)
                        }
                        else if(
    zombisinifi == 2) {
                            
    set_user_health(i,zombihp[id] - 1009);
                            
    set_user_gnvision(i0)
                        }
                        else if(
    zombisinifi == 3) {
                            
    set_user_health(i,zombihp[id] + 2000);
                            
    set_user_gnvision(i0)
                        }
                    }
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
                    {
                        
    set_user_health(i,insanhp[id]);
                        
    give_item(i,"weapon_ak47")
                        
    give_item(i,"weapon_m4a1")
                        
    give_item(i,"weapon_deagle")
                        
    give_item(i,"weapon_awp")
                        
    give_item(i,"weapon_hegrenade")
                        
    give_item(i,"weapon_m249")
                        
    cs_set_user_bpammo(i,CSW_AK47,1000)
                        
    cs_set_user_bpammo(i,CSW_AWP,1000)
                        
    cs_set_user_bpammo(i,CSW_M4A1,1000)
                        
    cs_set_user_bpammo(i,CSW_DEAGLE,1000)    
                        
    cs_set_user_bpammo(i,CSW_M249,1000)
                        
                        
    set_hudmessage(random_num(0,255), random_num(0,255), random_num(0,255), -1.00.320.55.0)
                        
    ShowSyncHudMsg(0hudmesaji"= Zombi Istilasi Basladi. = ")
                        
                        for (new 
    1<= 32i++)
                            if(
    is_user_connected(i) && get_user_team(i) == 1)
                            
    client_cmd(i,"spk zombimod/zombi_siren");
                    }
                    
    zombimod 1;
                }
                
    set_lights("b")
                
            }
            case 
    6: {
                for(new 
    133i++) 
                { 
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
                    {
                        
    set_user_health(i,100);
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                        
    give_item(i,"weapon_deagle")
                        
    give_item(i,"weapon_m4a1")
                        
    give_item(i,"weapon_ak47")
                        
    cs_set_user_bpammo(i,CSW_DEAGLE,90)
                        
    cs_set_user_bpammo(i,CSW_M4A1,90)
                        
    cs_set_user_bpammo(i,CSW_AK47,90)
                        
    cs_reset_user_model(i)
                        
    set_user_gnvision(i0)
                    }
                    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
                    {
                        
    set_user_health(i,100);
                        
    strip_user_weapons(i)
                        
    give_item(i,"weapon_knife")
                    }
                    
    zombimod 0
                }
                
    set_lights("#OFF")
                
    set_task(1.0,"hud",id+task_bilgi)
            }
            case 
    7: {
                if(
    zombisinifi == 1){
                    
    zombisinifi 2
                    zm_menu
    (id)
                }
                else if(
    zombisinifi == 2){
                    
    zombisinifi 3
                    zm_menu
    (id)
                }
                else if(
    zombisinifi == 3){
                    
    zombisinifi 1
                    zm_menu
    (id)
                }
            }
        }
        
    menu_destroy(menu);
        return 
    PLUGIN_HANDLED;
    }

    public 
    hud(id) {
        if(
    zombimod == 1) {
            
    id-= task_bilgi
            set_task
    (1.5"hud"id+task_bilgi);
            
            
    set_hudmessage(025500.010.2106.012.0)
            
    ShowSyncHudMsg(idSyncHudObj,"Zombi Oyunu Kapatildi^n^nZombi HP [ %i ]^nInsan HP [ %i ]",zombihp[id],insanhp[id])
        }
    }

    public 
    OyuncuDogunca(id) { 
        if (
    is_user_alive(id)) 
        {
            if(
    get_user_team(id) == 1)  
            {
                
    strip_user_weapons(id)
                
    give_item(id"weapon_knife")
            }
            if(
    get_user_team(id) == 2)
            {
                
    Zm_SilahDokunamama false
                strip_user_weapons
    (id)
                
    cs_reset_user_model(id)
                
    give_item(id"weapon_knife")
                
    give_item(id"weapon_usp")
                
    cs_set_user_bpammo(idCSW_USP,90)
            }
        }
        
    set_lights("#OFF")
    }

    public 
    TurSonu(id) {
        
    set_lights("#OFF")
        
        
    cs_reset_user_model(id)
        
    strip_user_weapons(id)
        
    give_item(id"weapon_knife")
        
    set_user_gnvision(id0)
    }

    public 
    SilahDokunulmaz(weaponid)
    {
        if (
    is_user_alive(id) && Zm_SilahDokunamama)
        {
            return 
    HAM_SUPERCEDE       
        
    }     
        return 
    HAM_IGNORED     
    }

    /*########################################################### Hayalet zombi ###########################################################*/
    public fw_addtofullpack(es_handle,e,ent,host,hostflags,player,pSet)
    {
        if( !
    is_user_alive(ent) || !is_user_alive(host) || get_user_team(ent) == )
            return 
    FMRES_IGNORED;
        
        if( 
    zombimod == &&  zombisinifi == && get_user_team(ent) == 2)
        {
            static 
    color[3];
            
    color[0] = get_pcvar_num(pRed);
            
    color[1] = get_pcvar_num(pGreen);
            
    color[2] = get_pcvar_num(pBlue);
            
    set_es(es_handle,ES_RenderMode,kRenderTransAlpha);
            
    set_es(es_handle,ES_RenderAmt,get_pcvar_num(pAlpha));
            
    set_es(es_handle,ES_RenderFx,kRenderFxGlowShell);
            
    set_es(es_handle,ES_RenderColor,color);
        }
        
        return 
    FMRES_IGNORED;
    }

    public 
    fw_takedamage(victiminflictorattackerFloat:damagedamage_type)
    {
        if ( (
    damage_type DMG_FALL) && zombimod == && get_user_team(victim) == && zombisinifi == 2)
            
    SetHamParamFloat(40.0);  
    }

    /*########################################################### Yarasa Fırlatan Zombi ###########################################################*/
    public client_putinserver(id)
    {
        
    reset_value_player(id)
    }

    public 
    client_disconnect(id)
    {
        
    reset_value_player(id)
    }

    public 
    YeniTurcuk()
    {
        
    g_roundend 0
        
        
    for(new id 1id <= g_maxplayersid++)
        {
            if (!
    is_user_connected(id)) continue;
            
            
    reset_value_player(id)
        }
    }

    public 
    logevent_round_end()
    {
        
    g_roundend 1
    }

    public 
    EventDeath()
    {
        new 
    id read_data(2)
        
        
    reset_value_player(id)
    }

    public 
    zp_user_infected_post(id)
    {
        
    reset_value_player(id)
        
        if(
    get_user_team(id) == 2) return;
        
        if(
    zombisinifi == 3)
        {
            if(
    is_user_bot(id))
            {
                
    set_task(random_float(5.0,15.0), "bot_use_skill"id+TASK_BOT_USE_SKILL)
                return
            }
            
            
    ColorChat(id,NORMAL,"^x04[Yarasa Firlatan Zombi]:^x01 Yarasa Firlatan Zombi Oldun.^x04 Artik Yarasa Firlatma^x01 Özelligin Var.^x04 %.1f ^x01saniyede bir ^x04G ^x01tusuna basarak firlatabilirsin."bat_timewait)
        }
    }

    public 
    cmd_bat(id)
    {    
        if((!
    is_user_alive(id)) || (get_user_team(id) != 2) || (g_roundend)) return PLUGIN_CONTINUE
        
        
    if(zombisinifi == && !g_bat_time[id])
        {
            
    g_bat_time[id] = 1
            
            set_task
    (bat_timewait,"clear_stat",id+TASK_REMOVE_STAT)
            
            new 
    ent engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"info_target"))
            
            if(!
    pev_valid(ent)) return PLUGIN_HANDLED
            
            
    new Float:vecAngle[3],Float:vecOrigin[3],Float:vecVelocity[3],Float:vecForward[3]
            
    fm_get_user_startpos(id,5.0,2.0,-1.0,vecOrigin)
            
    pev(id,pev_angles,vecAngle)
            
            
    engfunc(EngFunc_MakeVectors,vecAngle)
            
    global_get(glb_v_forward,vecForward)
            
            
    velocity_by_aim(id,floatround(banchee_skull_bat_speed),vecVelocity)
            
            
    set_pev(ent,pev_origin,vecOrigin)
            
    set_pev(ent,pev_angles,vecAngle)
            
    set_pev(ent,pev_classname,BAT_CLASSNAME)
            
    set_pev(ent,pev_movetype,MOVETYPE_FLY)
            
    set_pev(ent,pev_solid,SOLID_BBOX)
            
    engfunc(EngFunc_SetSize,ent,{-20.0,-15.0,-8.0},{20.0,15.0,8.0})
            
            
    engfunc(EngFunc_SetModel,ent,MODEL_BAT)
            
    set_pev(ent,pev_animtime,get_gametime())
            
    set_pev(ent,pev_framerate,1.0)
            
    set_pev(ent,pev_owner,id)
            
    set_pev(ent,pev_velocity,vecVelocity)
            
    set_pev(ent,pev_nextthink,get_gametime()+banchee_skull_bat_flytime)
            
    emit_sound(entCHAN_WEAPONSOUND_FIRE1.0ATTN_NORM0PITCH_NORM)
            
            
    g_stop[id] = ent
            
            PlayWeaponAnimation
    (id2)
            
    pev(idpev_maxspeedg_temp_speed[id])
            
    set_pev(id,pev_maxspeed,0.1)
            
            return 
    PLUGIN_HANDLED
        
    }
        
        return 
    PLUGIN_CONTINUE
    }

    public 
    fw_PlayerPreThink(id)
    {    
        if(!
    is_user_alive(id)) return FMRES_IGNORED
        
    if ( zombimod == ) {
            if(
    g_bat_stat[id])
            {
                new 
    owner g_bat_enemy[id], Float:ownerorigin[3]
                
    pev(owner,pev_origin,ownerorigin)
                static 
    Float:vec[3]
                
    aim_at_origin(id,ownerorigin,vec)
                
    engfunc(EngFunc_MakeVectorsvec)
                
    global_get(glb_v_forwardvec)
                
    vec[0] *= banchee_skull_bat_catch_speed
                vec
    [1] *= banchee_skull_bat_catch_speed
                vec
    [2] = 0.0
                set_pev
    (id,pev_velocity,vec)
            }
            return 
    FMRES_IGNORED
        
    }
        if ( 
    zombimod == && zombisinifi == ){
            
    set_pev(idpev_flTimeStepSound999)
        }
        return 
    PLUGIN_CONTINUE
    }

    public 
    EntityThink(ent)
    {
        if(!
    pev_valid(ent)) return HAM_IGNORED
        
        
    new classname[32]
        
    pev(ent,pev_classname,classname,31)
        
        if(
    equal(classname,BAT_CLASSNAME))
        {
            static 
    Float:origin[3];
            
    pev(ent,pev_origin,origin);
            
            
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY); 
            
    write_byte(TE_EXPLOSION); // TE_EXPLOSION
            
    write_coord(floatround(origin[0])); // origin x
            
    write_coord(floatround(origin[1])); // origin y
            
    write_coord(floatround(origin[2])); // origin z
            
    write_short(spr_skull); // sprites
            
    write_byte(40); // scale in 0.1's
            
    write_byte(30); // framerate
            
    write_byte(14); // flags 
            
    message_end(); // message end
            
            
    emit_sound(entCHAN_WEAPONSOUND_BAT_MISS1.0ATTN_NORM0PITCH_NORM)
            
            new 
    owner pev(entpev_owner)
            
    g_stop[owner] = 0
            set_pev
    (owner,pev_maxspeed,g_temp_speed[owner])
            
            
    engfunc(EngFunc_RemoveEntity,ent)
        }
        
        return 
    HAM_IGNORED
    }

    public 
    EntityTouchPost(ent,ptd)
    {
        if(!
    pev_valid(ent)) return HAM_IGNORED
        
        
    new classname[32]
        
    pev(ent,pev_classname,classname,31)
        
        if(
    equal(classname,BAT_CLASSNAME))
        {
            if(!
    pev_valid(ptd))
            {
                static 
    Float:origin[3];
                
    pev(ent,pev_origin,origin);
                
                
    message_begin(MSG_BROADCAST,SVC_TEMPENTITY); 
                
    write_byte(TE_EXPLOSION); // TE_EXPLOSION
                
    write_coord(floatround(origin[0])); // origin x
                
    write_coord(floatround(origin[1])); // origin y
                
    write_coord(floatround(origin[2])); // origin z
                
    write_short(spr_skull); // sprites
                
    write_byte(40); // scale in 0.1's
                
    write_byte(30); // framerate
                
    write_byte(14); // flags 
                
    message_end(); // message end
                
                
    emit_sound(entCHAN_WEAPONSOUND_BAT_MISS1.0ATTN_NORM0PITCH_NORM)
                
                new 
    owner pev(entpev_owner)
                
    g_stop[owner] = 0
                set_pev
    (owner,pev_maxspeed,g_temp_speed[owner])
                
                
    engfunc(EngFunc_RemoveEntity,ent)
                
                return 
    HAM_IGNORED
            
    }
            
            new 
    owner pev(ent,pev_owner)
            
            if(
    ptd && ptd <= g_maxplayers && is_user_alive(ptd) && ptd != owner)
            {
                
    g_bat_enemy[ptd] = owner
                
                set_pev
    (ent,pev_nextthink,get_gametime()+banchee_skull_bat_catch_time)
                
    set_task(banchee_skull_bat_catch_time,"clear_stat2",ptd+TASK_REMOVE_STAT)
                
    set_pev(ent,pev_movetype,MOVETYPE_FOLLOW)
                
    set_pev(ent,pev_aiment,ptd)
                
                
    emit_sound(ownerCHAN_VOICESOUND_BAT_HIT1.0ATTN_NORM0PITCH_NORM)
                
                
    g_bat_stat[ptd] = 1
            
    }
        }
        
        return 
    HAM_IGNORED
    }

    public 
    clear_stat(taskid)
    {
        new 
    id ID_TASK_REMOVE_STAT
        
        g_bat_stat
    [id] = 0
        g_bat_time
    [id] = 0
        
        ColorChat
    (id,NORMAL,"^x04[Yarasa Firlatan Zombi]:^x01 Ozelligin Geri Geldi.^x01Tekrardan^x04 Yarasa^x01 Firlatabilirsin.")
    }

    public 
    clear_stat2(idx)
    {
        new 
    id idx-TASK_REMOVE_STAT
        
        g_bat_enemy
    [id] = 0
        g_bat_stat
    [id] = 0
    }

    public 
    bot_use_skill(taskid)
    {
        new 
    id ID_BOT_USE_SKILL
        
        
    if (!is_user_alive(id)) return;
        
        
    cmd_bat(id)
        
        
    set_task(random_float(5.0,15.0), "bot_use_skill"id+TASK_BOT_USE_SKILL)
    }

    fm_get_user_startpos(id,Float:forw,Float:right,Float:up,Float:vStart[])
    {
    new 
    Float:vOrigin[3], Float:vAngle[3], Float:vForward[3], Float:vRight[3], Float:vUp[3]

    pev(idpev_originvOrigin)
    pev(idpev_v_anglevAngle)

    engfunc(EngFunc_MakeVectorsvAngle)

    global_get(glb_v_forwardvForward)
    global_get(glb_v_rightvRight)
    global_get(glb_v_upvUp)

    vStart[0] = vOrigin[0] + vForward[0] * forw vRight[0] * right vUp[0] * up
    vStart
    [1] = vOrigin[1] + vForward[1] * forw vRight[1] * right vUp[1] * up
    vStart
    [2] = vOrigin[2] + vForward[2] * forw vRight[2] * right vUp[2] * up
    }

    aim_at_origin(idFloat:target[3], Float:angles[3])
    {
    static 
    Float:vec[3]
    pev(id,pev_origin,vec)
    vec[0] = target[0] - vec[0]
    vec[1] = target[1] - vec[1]
    vec[2] = target[2] - vec[2]
    engfunc(EngFunc_VecToAngles,vec,angles)
    angles[0] *= -1.0
    angles
    [2] = 0.0
    }

    PlayWeaponAnimation(idanimation)
    {
    set_pev(idpev_weaponanimanimation)
    message_begin(MSG_ONESVC_WEAPONANIM, {000}, id)
    write_byte(animation)
    write_byte(pev(idpev_body))
    message_end()
    }

    reset_value_player(id)
    {
    g_stop[id] = 0
    g_bat_time
    [id] = 0
    g_bat_stat
    [id] = 0
    g_bat_enemy
    [id] = 0

    remove_task
    (id+TASK_BOT_USE_SKILL)
    remove_task(id+TASK_REMOVE_STAT)
    }

    /*########################################################### Yarasa Fırlatan Zombi Son ###########################################################*/

    /*
    public fog(bool:on)    
    {
    if (on)
    {
    message_begin(MSG_ALL,get_user_msgid("Fog"),{0,0,0},0)
    write_byte(random_num(180,244))  // Kırmızı
    write_byte(1)  // Yeşil
    write_byte(5)  // Mavi
    write_byte(7) // SD
    write_byte(40)  // ED
    write_byte(10)   // D1
    write_byte(0)  // D2
    message_end()
    }
    else
    {
    message_begin(MSG_ALL,get_user_msgid("Fog"),{0,0,0},0)
    write_byte(0)  // Kırmızı
    write_byte(0)  // Yeşil
    write_byte(0)  // Mavi
    write_byte(0) // SD
    write_byte(0)  // ED
    write_byte(0)   // D1
    write_byte(0)  // D2
    message_end()
    }
    }
    */

    // Yeni Nightvision
    set_user_gnvision(idtoggle)
    {
    message_begin(MSG_ONEyeni_nightvision_id)
    write_byte(toggle)
    message_end()
    }


    public 
    DeaTReX3(id) { 
    if(
    get_user_flags(id) & ADMIN_LEVEL_E){
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yAclik Oyunu")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\rGardiyanlara M4A1 Ver"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\wGardiyanlara AK47 Ver"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\wSaklanbac Oyunu"
    menu_additem(menuMenuz"3"
    formatex(Menuzcharsmax(Menuz), "\wFF Ac"
    menu_additem(menuMenuz"4")

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    DeaTReX3_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1: {
    console_cmd(id,"amx_weapon @CT 43");
    }
    case 
    2: {
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    3: {
    console_cmd(id,"amx_weapon @CT 43");
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    4: {
    console_cmd(id,"amx_cvar mp_friendlyfire 1");
    }

    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;


    public 
    Normal_FF_Menu(id) {
    if( !(
    get_user_flags(id) & ADMIN_KICK) ) return PLUGIN_HANDLED
    new menu menu_create("\y[Normal] \r|-FF-Menusu-|","devam_shvskbvw")
    menu_additem(menu,"\y|-\rBicak Kapismasi\y-|","1",0)
    menu_additem(menu,"\r|-\yGlock Kapismasi\r-|","2",0)
    menu_additem(menu,"\y|-\rDeagle Kapismasi\y-|","3",0)
    menu_additem(menu,"\r|-\yKolt Kapismasi\r-|","4",0)
    menu_additem(menu,"\y|-\rKeles Kapismasi\y-|","5",0)
    menu_additem(menu,"\r|-\yAwp Kapismasi\r-|","6",0)
    menu_additem(menu,"\y|-\rPompali Kapismasi\y-|","7",0)
    menu_additem(menu,"\y|-\rBomba Kapismasi\y-|","8",0)
    menu_setprop(menuMPROP_EXITMEXIT_ALL)
    menu_display(idmenu0)
    return 
    PLUGIN_HANDLED
    }



    public 
    devam_shvskbvw(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1:
    {
    ColorChat(0,NORMAL,"^04[JB] :^01Normal FF.")
    ColorChat(0,NORMAL,"^04[JB] : ^01T ler Birbirleriyle Kavga Edicek.")
    server_cmd("mp_friendlyfire 1")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)
    {
    give_item(i,"weapon_knife")
    set_user_health(i,750)
    }
    }
    }
    case 
    2:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Glock FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Glock Verilicek Ve Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_GLOCK18,120 )
    give_item(i,"weapon_glock18")
    set_user_health(i,750)
    }
    }
    }
    case 
    3:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Deagle FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Deagle Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2)
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)  
    {
    cs_set_user_bpammo(i,CSW_DEAGLE,140 )
    give_item(i,"weapon_deagle")
    set_user_health(i,750)
    }
    }
    }
    case 
    4:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Colt FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Colt Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_M4A1,140 )
    give_item(i,"weapon_m4a1")
    set_user_health(i,750)
    }
    }
    }
    case 
    5:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01ak47 FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Keles Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2)
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1)  
    {
    cs_set_user_bpammo(i,CSW_AK47,140 )
    give_item(i,"weapon_ak47")
    set_user_health(i,750)
    }
    }
    }
    case 
    6:
    {
    server_cmd("mp_friendlyfire 1")
    for(new 
    133i++) 

    ColorChat(0,NORMAL,"^04[JB] :^01aWP FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Awp Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
        
    set_user_health(i,15000)
        
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
        
    cs_set_user_bpammo(i,CSW_AWP,140 )
        
    give_item(i,"weapon_awp")
        
    set_user_health(i,750)
    }
    }
    }
    }
    case 
    7:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Pompali FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Pompali Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_M3,140 )
    give_item(i,"weapon_m3")
    set_user_health(i,750)
    }
    }
    }

    case 
    8:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Bomba FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Bomba Verilicek Ve Birbirlerine Aticaklar.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    cs_set_user_bpammo(i,CSW_HEGRENADE,20)
    give_item(i,"weapon_hegrenade")
    set_user_health(i,250)
    }

    }
    }
    }
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    //------------------------------------------ FF Menusu [Gorunmez] -------------------------------------- //
    public Gorunmez_FF_Menu(id) {
    if( !(
    get_user_flags(id) & ADMIN_KICK) ) return PLUGIN_HANDLED
    new menu menu_create("\d[Gorunmez] \r|-FF-Menusu-|","devam_yqlqzhwa")
    menu_additem(menu,"\y|-\rBicak Kapismasi\y-|","1",0)
    menu_additem(menu,"\r|-\yGlock Kapismasi\r-|","2",0)
    menu_additem(menu,"\y|-\rDeagle Kapismasi\y-|","3",0)
    menu_additem(menu,"\r|-\yKolt Kapismasi\r-|","4",0)
    menu_additem(menu,"\y|-\rKeles Kapismasi\y-|","5",0)
    menu_additem(menu,"\r|-\yAwp Kapismasi\r-|","6",0)
    menu_additem(menu,"\y|-\rPompali Kapismasi\y-|","7",0)
    menu_additem(menu,"\y|-\rBomba Kapismasi\y-|","8",0)
    menu_setprop(menuMPROP_EXITMEXIT_ALL)
    menu_display(idmenu0)
    return 
    PLUGIN_HANDLED
    }



    public 
    devam_yqlqzhwa(imenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1:
    {
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Normal FF.")
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01T ler Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    give_item(i,"weapon_knife")
    set_user_health(i,750)
    }
    }
    }
    case 
    2:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Glock FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Glock Verilicek Ve Birbirleriyle Kavga Edicek.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_GLOCK18,140 )
    give_item(i,"weapon_glock18")
    set_user_health(i,750)
    }
    }
    }
    case 
    3:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Deagle FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Deagle Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_DEAGLE,140 )
    give_item(i,"weapon_deagle")
    set_user_health(i,750)
    }
    }
    }
    case 
    4:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Colt FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Colt Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_M4A1,140 )
    give_item(i,"weapon_m4a1")
    set_user_health(i,750)
    }
    }
    }
    case 
    5:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez ak47 FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Keles Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_AK47,140 )
    give_item(i,"weapon_ak47")
    set_user_health(i,750)
    }
    }
    }
    case 
    6:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez aWP FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Awp Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_AWP,140 )
    give_item(i,"weapon_awp")
    set_user_health(i,750)
    }
    }
    }
    case 
    7:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(i,NORMAL,"^04[JB] :^01Gorunmez Pompali FF.")
    ColorChat(i,NORMAL,"^04[JB] :^01T lere Pompali Verilicek Ve Birbirlerine Ates Edicekler.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_M3,150 )
    give_item(i,"weapon_m3")
    set_user_health(i,750)
    }
    }
    }
    case 
    8:
    {
    server_cmd("mp_friendlyfire 1")
    ColorChat(0,NORMAL,"^04[JB] :^01Gorunmez Bomba FF.")
    ColorChat(0,NORMAL,"^04[JB] :^01T lere Bomba Verilicek Ve Birbirlerine Aticaklar.")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,15000)
    set_user_godmode(i,1)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(ikRenderFxGlowShell000kRenderTransAlpha20)
    cs_set_user_bpammo(i,CSW_HEGRENADE,20)
    give_item(i,"weapon_hegrenade")
    set_user_health(i,250)
    }
    }
    }
    }
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }

    public 
    DeaTReX4(id) { 
    if(
    get_user_flags(id) & ADMIN_LEVEL_E){
    new 
    menuMenuz[512]  
    formatex(Menuzcharsmax(Menuz), "\yMahkumlara HP Ver")  
    menu menu_create(Menuz"Menu_Devam")  
    formatex(Menuzcharsmax(Menuz), "\r100 HP Ver"
    menu_additem(menuMenuz"1"
    formatex(Menuzcharsmax(Menuz), "\w250 HP Ver"
    menu_additem(menuMenuz"2"
    formatex(Menuzcharsmax(Menuz), "\w500 HP Ver"
    menu_additem(menuMenuz"3"

    formatex(Menuzcharsmax(Menuz), "\rCikis"
    menu_setprop(menu,MPROP_EXITNAME,Menuz

    menu_display(idmenu0
    return 
    PLUGIN_HANDLED;}    
    return 
    PLUGIN_HANDLED;}

    public 
    DeaTReX4_Devam(idmenuitem) {
    if( 
    item == MENU_EXIT ) {
    menu_destroy(menu)
    return 
    PLUGIN_HANDLED
    }
    new 
    accescallbackdata[6], iname[64]
    menu_item_getinfo(menuitemaccesdata5iname63callback)
    switch(
    str_to_num(data))
    {
    case 
    1: {
    console_cmd(id,"amx_weapon @CT 43");
    }
    case 
    2: {
    console_cmd(id,"amx_weapon @CT 42");
    }
    case 
    3: {
    console_cmd(id,"amx_weapon @CT 43");
    console_cmd(id,"amx_weapon @CT 42");
    }

    }

    menu_destroy(menu);
    return 
    PLUGIN_HANDLED;


    public 
    ayarlarikapat(id)
    {
    server_cmd("mp_friendlyfire 0")
    server_cmd("amx_unammo @all 0")
    server_cmd("sv_gravity 800")
    set_lights("#OFF")
    ColorChat(0,NORMAL,"^03[JB] Tum ^04Ayarlar ^01Eski ^06Haline ^3Getirildi")
    for(new 
    133i++) 

    if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2
    {
    set_user_health(i,100)
    set_user_godmode(i,0)
    set_user_noclip(i,0)
    set_user_armor(i,0)
    cs_reset_user_model(i)
    set_user_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
    }
    else if(
    is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 1
    {
    set_user_rendering(i,kRenderFxGlowShell,0,0,0,kRenderNormal,25)
    set_user_health(i,100)
    set_user_godmode(i,0)
    cs_reset_user_model(i)
    set_user_noclip(i,0)
    set_user_armor(i,0)
    strip_user_weapons(i)
    give_item(i"weapon_knife")
    }    
    }


  8. #8
    teğmen emektar Nefesim - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jan 2013
    Mesajlar
    1.019
    Bahsedildi
    60 Mesaj
    Etiketlenmiş
    2 Konu
    Tecrübe Puanı
    9

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    Onuda Combile edince abuk subuk 4 hata çıkıyor diyoruz.
    Akcali 2 dk ilgilen ya
    Nefesim Fark Yaratırmı ?

  9. #9
    cavus er
    Üyelik tarihi
    Nov 2012
    Mesajlar
    151
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Akcali Bakarmısın Pluginde Sorun Var

    yav yerim warningini onlar sorun çıkarmıyo denedim plugini ben. indirme linki çıkmıyorsa atıyım amxx i ?

  10. #10
    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: Akcali Bakarmısın Pluginde Sorun Var

    Bende çevirdim hata falan çıkmıyor ?

    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/


Sayfa 1/2 12 SonSon

Benzer Konular

  1. DeathRun Mod ( Türkce Ve Herşey Tek Pluginde )
    By Losteps in forum Onaylanmış Modlar
    Cevaplar: 124
    Son Mesaj: 21-06-19, 17:02
  2. Editlemeye çalıştığım pluginde sorun çıktı
    By hurracuran in forum Çözülmüş İstekler
    Cevaplar: 3
    Son Mesaj: 03-02-13, 23:51
  3. İstek akcali bakarmısın
    By BrkyDmr in forum Çözülmüş İstekler
    Cevaplar: 18
    Son Mesaj: 18-10-12, 17:15

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