Kullanıcı Tag Listesi

7 sonuçtan 1 ile 7 arası
  1. #1
    onbasi er
    Üyelik tarihi
    Aug 2012
    Mesajlar
    95
    Bahsedildi
    1 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Plugindeki hata düzeltme

    Cs 1.6 serverim için shop plugini bu ama oyunyoneticisinde yasaklı komutlar var galiba o yüzden kabul etmiyor forumdaki konuda çalıştığı söyleniyor.
    oyunyoneticisindeki yasaklı komutlar hakkındada bu yazıyor

    sma dosyalarinda "client_cmd" ve "console_cmd" komutu serbest bırakılmıştır
    ancak client_cmd veya console_cmd ile birlikte "motd_write" veya "connect" komutu kullanınırsa hata verecektir.
    sma dosyalarında "CreateFakeClient" komutu tamamen yasaklıdır.Eklentiniz direkt olarak hata verecektir.

    PHP- Kodu:
    #include <amxmodx>#include <amxmisc>#include <hamsandwich>#include <cstrike>#include <fakemeta>#include <fakemeta_util>#include <fun>#include <nvault>#include <jail>#include <engine>#include <xs>#include <colorchat>
    #define charsmax(%1) (sizeof(%1)-1)#define is_valid_player(%1) (1 <= %1 <= 32)
    /*============================================================Variables============================================================*/
    new     OnOff2precioC1precioC2precioC3,precioC4,ElektrikJB,DepremJB,CTDefaultDanoTDefaultDanoPaloDanoHachaDanoMacheteDanoMotocierraDano,hTDefaultDanohCTDefaultDanohPaloDanohHachaDanohMacheteDano,g_killjpg_killhsjpg_startjp,syncObj,Ronda[33],Speed[33],Speed2[33],TCuchillo[33],CTCuchillo[33],Destapador[33],Hacha[33],Machete[33],Motocierra[33],g_jbpacks[33],quitar[33],GorunmezJB,Kanverdim[33],regalar[33],gidPlayer[33],mainvault;new engel1[33];new AcKapa;new ananzaaxd[33];
    new 
    bool:g_kullandim[33]new mermisekmeme[33];new Floatcl_pushangle[33][3];

    new 
    transfer;new isyanmenu;new map[32];/*============================================================Weapon Model's============================================================*/

    new VIEW_MODELT[]        = "models/[Shop]JailBreak/Punos/Punos.mdl" new PLAYER_MODELT[]     = "models/[Shop]JailBreak/Punos/Punos2.mdl" 
    new VIEW_MODELCT[]        = "models/[Shop]JailBreak/Jop/jop.mdl" new PLAYER_MODELCT[]       = "models/[Shop]JailBreak/Jop/jop2.mdl" 
    new VIEW_Star[]        = "models/[Shop]JailBreak/Machete/Machete.mdl" new PLAYER_Star[]       = "models/[Shop]JailBreak/Machete/Machete2.mdl" 
    new VIEW_Balyoz[]        = "models/[Shop]JailBreak/Balyoz/v_balyoz.mdl" new PLAYER_Balyoz[]        = "models/[Shop]JailBreak/Balyoz/p_balyoz.mdl"
    new VIEW_Orak[]        = "models/[Shop]JailBreak/Orak/v_orak.mdl" new PLAYER_Orak[]        = "models/[Shop]JailBreak/Orak/p_orak.mdl" 
    new VIEW_Moto[]        = "models/[Shop]JailBreak/Katana/v_Katanad.mdl" new PLAYER_Moto[]        = "models/[Shop]JailBreak/Katana/p_Katanad.mdl" 
    new WORLD_MODEL[]        = "models/w_knife.mdl"new OLDWORLD_MODEL[]        = "models/w_knife.mdl"
    /*============================================================Shop Sounds!============================================================*/new const Si[]         = { "[Shop]JailBreak/Yes.wav" }

    /*============================================================Weapon Sound's============================================================*/
    new const palo_deploy[]         = { "weapons/knife_deploy1.wav" }new const palo_slash1[]         = { "weapons/knife_slash1.wav" }new const palo_slash2[]         = { "weapons/knife_slash2.wav" }new const palo_wall[]         = { "[Shop]JailBreak/Palo/PHitWall.wav" } new const palo_hit1[]         = { "[Shop]JailBreak/Palo/PHit1.wav" } new const palo_hit2[]         = { "[Shop]JailBreak/Palo/PHit2.wav" } new const palo_hit3[]         = { "[Shop]JailBreak/Palo/PHit3.wav" } new const palo_hit4[]         = { "[Shop]JailBreak/Palo/PHit4.wav" } new const palo_stab[]         = { "[Shop]JailBreak/Palo/PStab.wav" }
    new const 
    hacha_deploy[]     = { "weapons/knife_deploy1.wav" }new const hacha_slash1[]     = { "[Shop]JailBreak/Hacha/HSlash1.wav" }new const hacha_slash2[]     = { "[Shop]JailBreak/Hacha/HSlash2.wav" }new const hacha_wall[]         = { "[Shop]JailBreak/Hacha/HHitWall.wav" }new const hacha_hit1[]         = { "[Shop]JailBreak/Hacha/HHit1.wav" }new const hacha_hit2[]         = { "[Shop]JailBreak/Hacha/HHit2.wav" }new const hacha_hit3[]         = { "[Shop]JailBreak/Hacha/HHit3.wav" }new const hacha_stab[]         = { "[Shop]JailBreak/Hacha/HHit4.wav" }
    new const 
    machete_deploy[]     = { "[Shop]JailBreak/Machete/MConvoca.wav" }new const machete_slash1[]     = { "[Shop]JailBreak/Machete/MSlash1.wav" }new const machete_slash2[]     = { "[Shop]JailBreak/Machete/MSlash2.wav" }new const machete_wall[]     = { "[Shop]JailBreak/Machete/MHitWall.wav" }new const machete_hit1[]     = { "[Shop]JailBreak/Machete/MHit1.wav" }new const machete_hit2[]     = { "[Shop]JailBreak/Machete/MHit2.wav" }new const machete_hit3[]     = { "[Shop]JailBreak/Machete/MHit3.wav" }new const machete_hit4[]     = { "[Shop]JailBreak/Machete/MHit4.wav" }new const machete_stab[]     = { "[Shop]JailBreak/Machete/MStab.wav" }
    new const 
    motocierra_deploy[]     = { "[Shop]JailBreak/Moto/MTConvoca.wav", }new const motocierra_slash[]     = { "[Shop]JailBreak/Moto/MTSlash.wav", }new const motocierra_wall[]     = { "[Shop]JailBreak/Moto/MTHitWall.wav" }new const motocierra_hit1[]     = { "[Shop]JailBreak/Moto/MTHit1.wav",  }new const motocierra_hit2[]     = { "[Shop]JailBreak/Moto/MTHit2.wav",  }new const motocierra_stab[]     = { "[Shop]JailBreak/Moto/MTStab.wav"  }
    new const 
    t_deploy[]         = { "[Shop]JailBreak/T/TConvoca.wav", }new const t_slash1[]         = { "[Shop]JailBreak/T/Slash1.wav", }new const t_slash2[]         = { "[Shop]JailBreak/T/Slash2.wav", }new const t_wall[]         = { "[Shop]JailBreak/T/THitWall.wav" }new const t_hit1[]         = { "[Shop]JailBreak/T/THit1.wav",  }new const t_hit2[]         = { "[Shop]JailBreak/T/THit2.wav",  }new const t_hit3[]         = { "[Shop]JailBreak/T/THit3.wav",  }new const t_hit4[]         = { "[Shop]JailBreak/T/THit4.wav",  }new const t_stab[]         = { "[Shop]JailBreak/T/TStab.wav"  }new bool:initaliazed[33];new const ct_deploy[]         = { "[Shop]JailBreak/CT/CTConvoca.wav", }new const ct_slash1[]         = { "[Shop]JailBreak/CT/Slash1.wav", }new const ct_slash2[]         = { "[Shop]JailBreak/CT/Slash2.wav", }new const ct_wall[]         = { "[Shop]JailBreak/CT/CTHitWall.wav" }new const ct_hit1[]         = { "[Shop]JailBreak/CT/CTHit1.wav",  }new const ct_hit2[]         = { "[Shop]JailBreak/CT/CTHit2.wav",  }new const ct_hit3[]         = { "[Shop]JailBreak/CT/CTHit3.wav",  }new const ct_hit4[]         = { "[Shop]JailBreak/CT/CTHit4.wav",  }new const ct_stab[]         = { "[Shop]JailBreak/CT/CTStab.wav"  }
    #define PLUGIN "JailBreak Shop"#define VERSION "v1.2"#define AUTHOR "JellyB0N"
    //////////Mesleknew meslek[33],hizver2[33];new bool:timeout[33];new healtime2[33];

    #define task 672

    new takim[36];new bool:sarsiliyor false

    /*============================================================Config============================================================*/
    public plugin_natives(){        register_native("jb_get_user_packs","native_jb_get_user_packs"1)    register_native("jb_set_user_packs","native_jb_set_user_packs")    }public plugin_init() {    get_mapname(map,31);    if((containi(map,"jail") == -1) && (containi(map,"jb_") == -1) && (containi(map,"some1s_") == -1)) return     register_plugin(PLUGINVERSIONAUTHOR);    register_clcmd("say /jbmenu","kontrol")    register_clcmd("say !jbmenu","kontrol")    register_clcmd("say_team /jbmenu","kontrol")    register_clcmd("say_team !jbmenu","kontrol")            RegisterHam(Ham_Spawn,         "player""Fwd_PlayerSpawn_Post",    1)    RegisterHam(Ham_TakeDamage,     "player""FwdTakeDamage",         0)    RegisterHam(Ham_Killed,        "player""fw_player_killed")        register_event("HLTV""YeniTurcu""a""1=0""2=0");    register_event("CurWeapon",     "Event_Change_Weapon""be""1=1")    register_event("TextMsg""eRoundRestart""a""2&#Game_C""2&#Game_w");    register_event("CurWeapon""HookCurWeapon2""be""1=1")    RegisterHam(Ham_Spawn,"player","OyuncuDogunca2"1)    register_logevent("eRoundEnd",2,"1=Round_End");    register_logevent("eRoundStart"2"1=Round_Start");    register_clcmd("GetVaultData""fw_GetVaultData")    register_forward(FM_SetModel,     "fw_SetModel")    register_forward(FM_EmitSound,    "Fwd_EmitSound")                // 3.1 Native        /*============================================================    Cvar's     ============================================================*/    g_killjp     = register_cvar("jb_killJP",         "3");     g_killhsjp     = register_cvar("jb_bonushsJP",     "3");    g_startjp     = register_cvar("jb_startJP",        "5");         OnOff2         = register_cvar("jb_ShopKnifes",    "1")//1(ON) 0(OFF)         precioC1    = register_cvar("jb_pKnife1",         "-1")    precioC2     = register_cvar("jb_pKnife2",         "8")    precioC3     = register_cvar("jb_pKnife3",         "16")    precioC4     = register_cvar("jb_pKnife4",         "22")        AcKapa        = register_cvar("jb_engel","0")        TDefaultDano     = register_cvar("jb_dKnifeT",         "20")    PaloDano     = register_cvar("jb_dKnife1",         "25")    HachaDano     = register_cvar("jb_dKnife2",         "45")    MacheteDano     = register_cvar("jb_dKnife3",         "70")    MotocierraDano     = register_cvar("jb_dKnife4",         "200")        GorunmezJB    = register_cvar("jb_gorunmez",        "20");    ElektrikJB    = register_cvar("jb_elektrik",        "35");        DepremJB    = register_cvar("jb_deprem",         "30")    hTDefaultDano     = register_cvar("jb_dHsKnifeT",     "40")    hPaloDano     = register_cvar("jb_dhsKnife1",     "55")    hHachaDano     = register_cvar("jb_dhsKnife2",     "65")    hMacheteDano     = register_cvar("jb_dhsKnife3",     "75")            syncObj     = CreateHudSyncObj()            transfer = register_cvar("jb_transfer","1")    isyanmenu = register_cvar("jb_isyan","1")        register_clcmd("say /mg", "tlveral")    register_clcmd("say /glowmenu","glowmenu")    register_clcmd("JbPacks",     "player")    }/*============================================================Precaches ============================================================*/public plugin_precache() {    precache_sound(Si)            precache_sound("weapons/knife_hitwall1.wav")    precache_sound("weapons/knife_hit4.wav")    precache_sound("weapons/knife_deploy1.wav")    precache_model("models/w_knifepack.mdl")    precache_model("models/w_throwingknife.mdl")            //precache_sound(elbasi)        precache_sound(t_deploy)    precache_sound(t_slash1)    precache_sound(t_slash2)    precache_sound(t_stab)    precache_sound(t_wall)    precache_sound(t_hit1)    precache_sound(t_hit2)    precache_sound(t_hit3)    precache_sound(t_hit4)        precache_sound(ct_deploy)    precache_sound(ct_slash1)    precache_sound(ct_slash2)    precache_sound(ct_stab)    precache_sound(ct_wall)    precache_sound(ct_hit1)    precache_sound(ct_hit2)    precache_sound(ct_hit3)    precache_sound(ct_hit4)        precache_sound(palo_deploy)    precache_sound(palo_slash1)    precache_sound(palo_slash2)    precache_sound(palo_stab)    precache_sound(palo_wall)    precache_sound(palo_hit1)    precache_sound(palo_hit2)    precache_sound(palo_hit3)    precache_sound(palo_hit4)        precache_sound(machete_deploy)    precache_sound(machete_slash1)    precache_sound(machete_slash2)    precache_sound(machete_stab)    precache_sound(machete_wall)    precache_sound(machete_hit1)    precache_sound(machete_hit2)    precache_sound(machete_hit3)    precache_sound(machete_hit4)        precache_sound(hacha_deploy)    precache_sound(hacha_slash1)    precache_sound(hacha_slash2)    precache_sound(hacha_stab)    precache_sound(hacha_wall)    precache_sound(hacha_hit1)    precache_sound(hacha_hit2)    precache_sound(hacha_hit3)        precache_sound(motocierra_deploy)    precache_sound(motocierra_slash)    precache_sound(motocierra_stab)    precache_sound(motocierra_wall)    precache_sound(motocierra_hit1)    precache_sound(motocierra_hit2)            precache_model(VIEW_MODELT)         precache_model(PLAYER_MODELT)    precache_model(VIEW_MODELCT)         precache_model(PLAYER_MODELCT)    precache_model(VIEW_Orak)         precache_model(PLAYER_Orak)     precache_model(VIEW_Star)         precache_model(PLAYER_Star)        precache_model(VIEW_Balyoz)         precache_model(PLAYER_Balyoz)        precache_model(VIEW_Moto)         precache_model(PLAYER_Moto)            precache_model(WORLD_MODEL)            return PLUGIN_CONTINUE}
    /*============================================================KNIFE SHOP============================================================*/
    public Tienda1(id){        if(get_pcvar_num(OnOff2))    {        if (get_user_team(id) == )        {            static Item[64]                        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \wMarket")             new Menu menu_create(Item"CuchilleroHandler")                        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \wOrak \y[ %d TL ]"get_pcvar_num(precioC1))            menu_additem(MenuItem"1")                        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \wDoner Bicagi \y[ %d TL ]",get_pcvar_num(precioC2))            menu_additem(MenuItem"2")                        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \wBalyoz \y[ %d TL ]",get_pcvar_num(precioC3))            menu_additem(MenuItem"3")                        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \wKatana \y[ %d TL ]",get_pcvar_num(precioC4))            menu_additem(MenuItem"4")                        menu_setprop(MenuMPROP_EXITMEXIT_ALL)            menu_display(idMenu,0)        }    }    return PLUGIN_HANDLED}
    public 
    CuchilleroHandler(idmenuitem){    if( item == MENU_EXIT )    {        menu_destroy(menu);        return PLUGIN_HANDLED;    }    new data[6], iName[64];    new accesscallback;    menu_item_getinfo(menuitemaccessdata,5iName63callback);        new vivo     is_user_alive(id)    new Obtener1     get_pcvar_num(precioC1)    new Obtener2     get_pcvar_num(precioC2)    new Obtener3     get_pcvar_num(precioC3)    new Obtener4     get_pcvar_num(precioC4)            new key str_to_num(data);        switch(key)    {        case 1:        {            if (g_jbpacks[id]>= Obtener1 && vivo)            {                g_jbpacks[id] -= Obtener1                CTCuchillo[id]     = 0                TCuchillo[id]     = 0                Destapador[id]     = 1                Hacha[id]     = 0                Machete[id]     = 0                Motocierra[id]     = 0                                                ham_strip_weapon(id"weapon_knife")                give_item(id"weapon_knife")                engel1[id] = 1
                    ColorChat
    (id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Orak ^3] ^1Caldin Seni Pislik Herif.")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                IlkMenu(id);            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1'niz Yok.")                                IlkMenu(id);            }        }                case 2:        {            if (g_jbpacks[id] >= Obtener2 && vivo)            {                                g_jbpacks[id] -= Obtener2                CTCuchillo[id]     = 0                TCuchillo[id]     = 0                Destapador[id]     = 0                Hacha[id]     = 1                Machete[id]     = 0                Motocierra[id]     = 0                engel1[id] = 1                ham_strip_weapon(id"weapon_knife")                give_item(id"weapon_knife")                engel1[id] = 1                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Doner Bicagi ^3] ^1Satin Aldin.")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                IlkMenu(id);            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1'niz Yok.")                                IlkMenu(id);            }        }                case 3:        {            if (g_jbpacks[id] >= Obtener3 && vivo)            {                                g_jbpacks[id] -= Obtener3                CTCuchillo[id]     = 0                TCuchillo[id]     = 0                Destapador[id]     = 0                Hacha[id]     = 0                Machete[id]     = 1                Motocierra[id]     = 0                engel1[id] = 1                ham_strip_weapon(id"weapon_knife")                give_item(id"weapon_knife")                                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Balyoz ^3] ^1Satin Aldin.")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 IlkMenu(id);            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1'niz Yok.")                                IlkMenu(id);            }        }                case 4:        {            if (g_jbpacks[id] >= Obtener4 && vivo)            {                                g_jbpacks[id] -= Obtener4                CTCuchillo[id]     = 0                TCuchillo[id]     = 0                Destapador[id]     = 0                Hacha[id]     = 0                Machete[id]     = 0                Motocierra[id]     = 1                engel1[id] = 1                ham_strip_weapon(id"weapon_knife")                give_item(id"weapon_knife")                engel1[id] = 1                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Katana ^3] ^1Satin Aldin.")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                IlkMenu(id);            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1'niz Yok.")                                IlkMenu(id);            }        }    }    menu_destroy(menu);    return PLUGIN_HANDLED;}
    public 
    client_putinserver(id) {    //LoadJbs(id)    g_jbpacks[id] = get_pcvar_num(g_startjp)     set_task(1.0, "JailbreakPacks", id, _, _, "b")}

    public engel(id) {    return PLUGIN_HANDLED;}public escojer(id){    static opcion[64]        formatex(opcioncharsmax(opcion),"\yOyuncu Secin")    new iMenu menu_create(opcion"choose")        new players[32], pnumtempid    new szName[32], szTempid[10]        get_players(playerspnum"a")        for( new ii<pnumi++ )    {        tempid players[i]                get_user_name(tempidszName31)        num_to_str(tempidszTempid9)                formatex(opcioncharsmax(opcion), "\y[ %s ] \r[ %i ]" ,szNameg_jbpacks[tempid])        menu_additem(iMenuopcionszTempid0)    }        menu_display(idiMenu,0)    return PLUGIN_HANDLED}
    public 
    choose(idmenuitem){    if( item == MENU_EXIT )    {        menu_destroy(menu)        return PLUGIN_HANDLED    }        new Data[6], Name[64]    new AccessCallback    menu_item_getinfo(menuitemAccessData,5Name63Callback)        new tempid str_to_num(Data)        gidPlayer[id] = tempid    client_cmd(id"messagemode JbPacks")        menu_destroy(menu)    return PLUGIN_HANDLED}
    public 
    playerhandle(id){    // on death    g_jbpacks[id] += 4;}
    public player(id){    new say[300]    read_args(saycharsmax(say))        remove_quotes(say)        if(!is_str_num(say) || equal(say""))        return PLUGIN_HANDLED        jbpacks(idsay)            return PLUGIN_CONTINUE}
    public 
    fw_GetVaultData(id){    //initaliazed[id] = get_vaultdata(read_data(1));    initaliazed[id] = true;}

    jbpacks(idsay[]) {    new amount str_to_num(say)    new victim gidPlayer[id]        new vname[32]    new adminname[32]        if(victim 0)    {        get_user_name(victimvname31)        get_user_name(idadminname31)                if(regalar[id])        {            if(amount 100)            {                ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Sana Deyom ^3[ ^4100 TL ^3] ^1'Den Fazla Veremezsin.",adminname)                log_amx("[TheZeytech] %s Nickli Admin 100 JB Den Fazla Vermeye Calisti",adminname)            }            else            {                if(amount <= 100) {                    g_jbpacks[victim] = g_jbpacks[victim] + amount                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^4%s ^1Nickli Admin ^3[ ^4%s ^3] ^1Kisiye ^3[ ^4%d ^3] ^1TL Verdi.",adminnamevnameamount)                    log_amx("[TheZeytech] [ %s ] Nickli Admin [ %s ] Kisiye [ %d ] TL Verdi",adminname,vname,amount)                }                else                {                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^3[ ^4100 TL ^3] ^1'Den Fazla Veremezsin.",adminname)                }            }                    }        if(quitar[id])        {            if(amount g_jbpacks[victim])            {                g_jbpacks[victim] = 0                ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s ^1Mahkumun ^4TUM TL ^1'lerini Aldi.",adminnamevname)                log_amx("[TheZeytech] [ %s ] Nickli Admin [ %s ] Kisinin Tum TL Sini Aldi",adminname,vname)            }            else             {                g_jbpacks[victim] = g_jbpacks[victim] - amount                ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^3[ ^4%s ^3] ^1Kisinin ^3[ ^4%d ^3] ^1TL sini Aldi.",adminnamevnameamount)                log_amx("[TheZeytech] [ %s ] Admin [ %s ] Kisiden [ %d ] TL Aldi",adminname,vname,amount)            }                    }            }        return PLUGIN_HANDLED}  

    public 
    Fwd_PlayerSpawn_Post(id){        if(takim[id] > ) {        takim[id] = 0;        cs_reset_user_model(id);            }    if (is_user_alive(id))    {        if(get_user_team(id) == 1) {            strip_user_weapons(id); give_item(id"weapon_knife")                            set_user_footsteps(id0)            Speed[id]     = 0            Speed2[id]     = 0            Ronda[id]     = 1            CTCuchillo[id]     = 1            TCuchillo[id]     = 1            Destapador[id]     = 0            Hacha[id]     = 0            Machete[id]     = 0            Motocierra[id]     = 0            //Tienda1(id)            if(get_pcvar_num(AcKapa) == 0) {                IlkMenu(id)            }            engel1[id] = 0;                        set_task(0.2,"revive",id)                    }        if(get_user_team(id) == 2) {                                }    }    client_cmd(id,"bind m ^"say /jbmenu^"")    }
    public FwdTakeDamage(victiminflictorattackerFloat:damagedamage_bits){        if(takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {        //        return HAM_SUPERCEDE    }        if (is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)        {        switch(get_user_team(attacker))        {            case 1:            {                if(TCuchillo[attacker])                {                                            SetHamParamFloat(4, get_pcvar_float(TDefaultDano))                                        if(get_pdata_int(victim, 75) == HIT_HEAD)                    {                        SetHamParamFloat(4, get_pcvar_float(hTDefaultDano))                    }                }                                if(Destapador[attacker])                {                     SetHamParamFloat(4, get_pcvar_float(PaloDano))                                        if(get_pdata_int(victim, 75) == HIT_HEAD)                    {                        SetHamParamFloat(4, get_pcvar_float(hPaloDano))                    }                }                                if(Hacha[attacker])                {                            SetHamParamFloat(4, get_pcvar_float(HachaDano))                                        if(get_pdata_int(victim, 75) == HIT_HEAD)                    {                        SetHamParamFloat(4, get_pcvar_float(hHachaDano))                    }                }                                if(Machete[attacker])                {                            SetHamParamFloat(4, get_pcvar_float(MacheteDano))                                        if(get_pdata_int(victim, 75) == HIT_HEAD)                    {                        SetHamParamFloat(4, get_pcvar_float(hMacheteDano))                    }                }                                if(Motocierra[attacker])                {                        SetHamParamFloat(4, get_pcvar_float(MotocierraDano))                }            }            case 2:            {                if(CTCuchillo[attacker])                {                        SetHamParamFloat(4, get_pcvar_float(CTDefaultDano))                                        if(get_pdata_int(victim, 75) == HIT_HEAD)                    {                        SetHamParamFloat(4, get_pcvar_float(hCTDefaultDano))                    }                }            }        }    }    if(is_user_connected(attacker) && initaliazed[attacker] && get_user_weapon(attacker) != CSW_KNIFE)    {        SetHamParamFloat(4, damage * random_float(1.6,1.8));    }    return HAM_HANDLED}  
    public fw_player_killed(victimattackershouldgib){    if(get_user_team(attacker) == 1)    {        g_jbpacks[attacker] += get_pcvar_num(g_killjp)                 if(get_pdata_int(victim75) == HIT_HEAD)        {            g_jbpacks[attacker] += get_pcvar_num(g_killhsjp)        }    }}

    public 
    Event_Change_Weapon(id){    new weaponID read_data(2)         switch (get_user_team(id))    {        case 1:        {            if(Speed[id])            {                set_user_maxspeed(id500.0)            }                        if(Speed2[id])            {                set_user_maxspeed(id380.0)            }                        if(weaponID == CSW_KNIFE && get_pcvar_num(OnOff2))            {                if(TCuchillo[id])                {                    set_pev(idpev_viewmodel2VIEW_MODELT)                    set_pev(idpev_weaponmodel2PLAYER_MODELT)                }                                if(Destapador[id])                {                    set_pev(idpev_viewmodel2VIEW_Orak)                    set_pev(idpev_weaponmodel2PLAYER_Orak)                }                                if(Hacha[id])                {                    set_pev(idpev_viewmodel2VIEW_Star)                    set_pev(idpev_weaponmodel2PLAYER_Star)                }                                if(Machete[id])                {                    set_pev(idpev_viewmodel2VIEW_Balyoz)                    set_pev(idpev_weaponmodel2PLAYER_Balyoz)                }                                if(Motocierra[id])                {                    set_pev(idpev_viewmodel2VIEW_Moto)                    set_pev(idpev_weaponmodel2PLAYER_Moto)                }                                            }        }        case 2:        {            if(CTCuchillo[id] && weaponID == CSW_KNIFE)            {                set_pev(idpev_viewmodel2VIEW_MODELCT)                set_pev(idpev_weaponmodel2PLAYER_MODELCT)            }        }    }    return PLUGIN_CONTINUE }
    public 
    eRoundStart() {    new players[32], inumid    get_players(playersinum)    for(new i;i<inum;i++) {        id players[i]        g_kullandim[id] = true        Kanverdim[id] = false;        timeout[players[i]] = false;        healtime2[players[i]] = 2;    }}
    public 
    eRoundRestart() {    new players[32], inumid    get_players(playersinum)    for(new i;i<inum;i++) {        id players[i]        Kanverdim[id] = false;        g_kullandim[id] = true    }}
    public 
    eRoundEnd() {    new players[32], inumid    get_players(playersinum)    for(new i;i<inum;i++) {        id players[i]        g_kullandim[id] = true    }}
    public 
    client_connect(id){    initaliazed[id] = false;    g_kullandim[id] = true    }public client_disconnect(id){    initaliazed[id] = false;    g_kullandim[id] = true    }
    /*stock LoadJbs(id){new authid[64]; get_user_name(id,authid,63)replace_all(authid,63," ","&#-$")
    new vaultkey[64], vaultdata[64]format(vaultkey,63,"SAVEJP-%s",authid); if(fvaultdata_exists(vaultkey)){    nvault_get(mainvault,vaultkey,vaultdata,63);     if(str_to_num(vaultdata) < get_pcvar_num(g_startjp))    {        g_jbpacks[id] = get_pcvar_num(g_startjp)    }    else    {        g_jbpacks[id] = str_to_num(vaultdata);    }}else{    g_jbpacks[id] = get_pcvar_num(g_startjp)} }
    stock SaveJbs(id){new authid[64]; get_user_name(id,authid,63)replace_all(authid,63," ","&#-$")new vaultkey[64], vaultdata[64]; 

    format(vaultkey,63,"SAVEJP-%s",authid); format(vaultdata,63,"%d",g_jbpacks[id]); nvault_set(mainvault,vaultkey,vaultdata); }*/
    /*public client_infochanged(id) { new newname[32],oldname[32] get_user_info(id, "name", newname,31) get_user_name(id,oldname,31) if(!is_user_connected(id) || is_user_bot(id)) return PLUGIN_CONTINUE;if(!equali(newname, oldname)){set_user_info(id,"name",oldname)client_print(id , print_console , "Isim degisikligi engellenmistir! [OyunYoneticisi]");return PLUGIN_HANDLED;}return PLUGIN_CONTINUE;} 
    */ 


    public fw_SetModel(entitymodel[]){if(!pev_valid(entity))return FMRES_IGNORED
    if(!equali(modelOLDWORLD_MODEL))     return FMRES_IGNORED        new className[33];    pev(entitypev_classnameclassName32)        if(equal(className"weaponbox") || equal(className"armoury_entity") || equal(className"grenade"))    {        engfunc(EngFunc_SetModelentityWORLD_MODEL)        return FMRES_SUPERCEDE    }    return FMRES_IGNORED}
    public 
    Fwd_EmitSound(idchannel, const sample[], Float:volumeFloat:attnflagspitch){        if (!is_user_connected(id))        return FMRES_IGNORED;        if(CTCuchillo[id])    {        if(get_user_team(id) == 2)        {            if (equal(sample[8], "kni"3))            {                if (equal(sample[14], "sla"3))                 {                    switch (random_num(12))                    {                        case 1engfunc(EngFunc_EmitSoundidchannelct_slash1volumeattnflagspitch)                            case 2engfunc(EngFunc_EmitSoundidchannelct_slash2volumeattnflagspitch)                        }                    return FMRES_SUPERCEDE;                }                if(equal(sample,"weapons/knife_deploy1.wav"))                {                    engfunc(EngFunc_EmitSoundidchannelct_deployvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }                if (equal(sample[14], "hit"3))                {                    if (sample[17] == 'w')                    {                        engfunc(EngFunc_EmitSoundidchannelct_wallvolumeattnflagspitch)                        return FMRES_SUPERCEDE;                    }                    else                     {                        switch (random_num(14))                        {                            case 1engfunc(EngFunc_EmitSoundidchannelct_hit1volumeattnflagspitch)                                case 2engfunc(EngFunc_EmitSoundidchannelct_hit2volumeattnflagspitch)                                case 3engfunc(EngFunc_EmitSoundidchannelct_hit3volumeattnflagspitch)                                case 4engfunc(EngFunc_EmitSoundidchannelct_hit4volumeattnflagspitch)                            }                                                return FMRES_SUPERCEDE;                    }                }                if (equal(sample[14], "sta"3))                 {                    engfunc(EngFunc_EmitSoundidchannelct_stabvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }            }        }        }        if(TCuchillo[id])    {        if(get_user_team(id) == 1)        {            if (equal(sample[8], "kni"3))            {                if (equal(sample[14], "sla"3))                 {                    switch (random_num(12))                    {                        case 1engfunc(EngFunc_EmitSoundidchannelt_slash1volumeattnflagspitch)                            case 2engfunc(EngFunc_EmitSoundidchannelt_slash2volumeattnflagspitch)                        }                                        return FMRES_SUPERCEDE;                }                if(equal(sample,"weapons/knife_deploy1.wav"))                {                    engfunc(EngFunc_EmitSoundidchannelt_deployvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }                if (equal(sample[14], "hit"3))                {                    if (sample[17] == 'w')                     {                        engfunc(EngFunc_EmitSoundidchannelt_wallvolumeattnflagspitch)                        return FMRES_SUPERCEDE;                    }                    else                     {                        switch (random_num(14))                        {                            case 1engfunc(EngFunc_EmitSoundidchannelt_hit1volumeattnflagspitch)                                case 2engfunc(EngFunc_EmitSoundidchannelt_hit2volumeattnflagspitch)                                case 3engfunc(EngFunc_EmitSoundidchannelt_hit3volumeattnflagspitch)                                case 4engfunc(EngFunc_EmitSoundidchannelt_hit4volumeattnflagspitch)                            }                                                return FMRES_SUPERCEDE;                    }                }                if (equal(sample[14], "sta"3))                {                    engfunc(EngFunc_EmitSoundidchannelt_stabvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }            }        }    }        if(Destapador[id])    {        if (equal(sample[8], "kni"3))        {            if (equal(sample[14], "sla"3))             {                switch (random_num(12))                {                    case 1engfunc(EngFunc_EmitSoundidchannelpalo_slash1volumeattnflagspitch)                        case 2engfunc(EngFunc_EmitSoundidchannelpalo_slash2volumeattnflagspitch)                                        }                                return FMRES_SUPERCEDE;            }            if(equal(sample,"weapons/knife_deploy1.wav"))            {                engfunc(EngFunc_EmitSoundidchannelpalo_deployvolumeattnflagspitch)                return FMRES_SUPERCEDE;            }            if (equal(sample[14], "hit"3))            {                if (sample[17] == 'w')                 {                    engfunc(EngFunc_EmitSoundidchannelpalo_wallvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }                else                 {                    switch (random_num(14))                    {                        case 1:engfunc(EngFunc_EmitSoundidchannelpalo_hit1volumeattnflagspitch)                            case 2:engfunc(EngFunc_EmitSoundidchannelpalo_hit2volumeattnflagspitch)                            case 3:engfunc(EngFunc_EmitSoundidchannelpalo_hit3volumeattnflagspitch)                            case 4:engfunc(EngFunc_EmitSoundidchannelpalo_hit4volumeattnflagspitch)                        }                                        return FMRES_SUPERCEDE;                }            }            if (equal(sample[14], "sta"3))            {                engfunc(EngFunc_EmitSoundidchannelpalo_stabvolumeattnflagspitch)                return FMRES_SUPERCEDE;            }        }    }        if(Hacha[id])    {                if (equal(sample[8], "kni"3))        {            if (equal(sample[14], "sla"3))            {                switch (random_num(12))                {                    case 1engfunc(EngFunc_EmitSoundidchannelhacha_slash1volumeattnflagspitch)                        case 2engfunc(EngFunc_EmitSoundidchannelhacha_slash2volumeattnflagspitch)                    }                                return FMRES_SUPERCEDE;            }            if(equal(sample,"weapons/knife_deploy1.wav"))            {                engfunc(EngFunc_EmitSoundidchannelhacha_deployvolumeattnflagspitch)                return FMRES_SUPERCEDE;            }            if (equal(sample[14], "hit"3))            {                if (sample[17] == 'w')                {                    engfunc(EngFunc_EmitSoundidchannelhacha_wallvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }                else                 {                    switch (random_num(13))                    {                        case 1engfunc(EngFunc_EmitSoundidchannelhacha_hit1volumeattnflagspitch)                            case 2engfunc(EngFunc_EmitSoundidchannelhacha_hit2volumeattnflagspitch)                            case 3engfunc(EngFunc_EmitSoundidchannelhacha_hit3volumeattnflagspitch)                        }                                        return FMRES_SUPERCEDE;                }            }            if (equal(sample[14], "sta"3))             {                engfunc(EngFunc_EmitSoundidchannelhacha_stabvolumeattnflagspitch)                return FMRES_SUPERCEDE;            }        }    }        if(Machete[id])    {        if (equal(sample[8], "kni"3))        {            if (equal(sample[14], "sla"3))             {                switch (random_num(12))                {                    case 1engfunc(EngFunc_EmitSoundidchannelmachete_slash1volumeattnflagspitch)                        case 2engfunc(EngFunc_EmitSoundidchannelmachete_slash2volumeattnflagspitch)                    }                return FMRES_SUPERCEDE;            }            if(equal(sample,"weapons/knife_deploy1.wav"))            {                engfunc(EngFunc_EmitSoundidchannelmachete_deployvolumeattnflagspitch)                return FMRES_SUPERCEDE;            }            if (equal(sample[14], "hit"3))            {                if (sample[17] == 'w')                 {                    engfunc(EngFunc_EmitSoundidchannelmachete_wallvolumeattnflagspitch)                    return FMRES_SUPERCEDE;                }                else // hit                {                    switch (random_num(1, 4))                    {                        case 1: engfunc(EngFunc_EmitSound, id, channel, machete_hit1, volume, attn, flags, pitch)                            case 2: engfunc(EngFunc_EmitSound, id, channel, machete_hit2, volume, attn, flags, pitch)                            case 3: engfunc(EngFunc_EmitSound, id, channel, machete_hit3, volume, attn, flags, pitch)                            case 4: engfunc(EngFunc_EmitSound, id, channel, machete_hit4, volume, attn, flags, pitch)                        }                    return FMRES_SUPERCEDE;                }            }            if (equal(sample[14], "sta", 3))             {                engfunc(EngFunc_EmitSound, id, channel, machete_stab, volume, attn, flags, pitch)                return FMRES_SUPERCEDE;            }        }    }        if(Motocierra[id])    {        if (equal(sample[8], "kni", 3))        {            if (equal(sample[14], "sla", 3))             {                switch (random_num(1, 2))                {                    case 1: engfunc(EngFunc_EmitSound, id, channel, machete_slash1, volume, attn, flags, pitch)                        case 2: engfunc(EngFunc_EmitSound, id, channel, machete_slash2, volume, attn, flags, pitch)                    }                return FMRES_SUPERCEDE;            }            if(equal(sample,"weapons/knife_deploy1.wav"))            {                engfunc(EngFunc_EmitSound, id, channel, machete_deploy, volume, attn, flags, pitch)                return FMRES_SUPERCEDE;            }            if (equal(sample[14], "hit", 3))            {                if (sample[17] == 'w')                 {                    engfunc(EngFunc_EmitSound, id, channel, machete_wall, volume, attn, flags, pitch)                    return FMRES_SUPERCEDE;                }                else // hit                {                    switch (random_num(1, 4))                    {                        case 1: engfunc(EngFunc_EmitSound, id, channel, machete_hit1, volume, attn, flags, pitch)                            case 2: engfunc(EngFunc_EmitSound, id, channel, machete_hit2, volume, attn, flags, pitch)                            case 3: engfunc(EngFunc_EmitSound, id, channel, machete_hit3, volume, attn, flags, pitch)                            case 4: engfunc(EngFunc_EmitSound, id, channel, machete_hit4, volume, attn, flags, pitch)                        }                    return FMRES_SUPERCEDE;                }            }            if (equal(sample[14], "sta", 3))             {                engfunc(EngFunc_EmitSound, id, channel, machete_stab, volume, attn, flags, pitch)                return FMRES_SUPERCEDE;            }        }    }    return FMRES_IGNORED;}
    /*============================================================Stocks!============================================================*/
    stock ham_strip_weapon(id,weapon[]){    if(!equal(weapon,"weapon_",7)) return 0;        new wId get_weaponid(weapon);    if(!wId) return 0;        new wEnt;    while((wEnt engfunc(EngFunc_FindEntityByString,wEnt,"classname",weapon)) && pev(wEnt,pev_owner) != id) {}    if(!wEnt) return 0;        if(get_user_weapon(id) == wIdExecuteHamB(Ham_Weapon_RetireWeapon,wEnt);        if(!ExecuteHamB(Ham_RemovePlayerItem,id,wEnt)) return 0;    ExecuteHamB(Ham_Item_Kill,wEnt);        set_pev(id,pev_weapons,pev(id,pev_weapons) & ~(1<<wId));        return 1;}  




    stock fvaultdata_exists(const key[]){    if(nvault_get(mainvault,key) != -1)    {        return 1;    }    else    {        return 0;        }    return -1;}

    public 
    native_jb_get_user_packs(id){    return g_jbpacks[id];}
    public 
    native_jb_set_user_packs(idammount){    new id get_param(1);    new ammount get_param(2);    g_jbpacks[id] = ammount    return 1;}
    public 
    native_bank_get_user_packs(id){    return g_jbpacks[id];}
    public 
    native_bank_set_user_packs(idammount){    new id get_param(1);    new ammount get_param(2);    g_jbpacks[id] = ammount    return 1;}
    /*============================================================ITEM'S MENU============================================================*/public item_menu(id) {    if(is_user_alive(id))    {                static Item[64]                formatex(Itemcharsmax(Item),"\wTheZeytech \r# \yShop Menu")        new Menu menu_create(Item"TiendaHandler111")                formatex(Itemcharsmax(Item),"\wFlash Bombasi \y[\r6 TL\y]")        menu_additem(MenuItem"1")                formatex(Itemcharsmax(Item),"\wEl Bombasi \y[\r10 TL\y]")        menu_additem(MenuItem"2")                formatex(Itemcharsmax(Item),"\w3 Adet El Bombasi \y[\r20 TL\y]")        menu_additem(MenuItem"3")                formatex(Itemcharsmax(Item),"\wKalkan \y[\r25 TL\y] \d(10 Saniye)")        menu_additem(MenuItem"4")                formatex(Itemcharsmax(Item),"\wGlock \y[\r50 TL\y] \d(20 Mermili)")        menu_additem(MenuItem"5")                formatex(Itemcharsmax(Item),"\wUsp \y[\r55 TL\y] \d(12 Mermili)")        menu_additem(MenuItem"6")                formatex(Itemcharsmax(Item),"\wM4A1 \y[\r100 TL\y] \d(30 Mermili)")        menu_additem(MenuItem"7")                menu_setprop(MenuMPROP_EXITMEXIT_ALL)        menu_display(idMenu,0)    }}

    public 
    TiendaHandler111(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:        {            if (g_jbpacks[id] > 6)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 6)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Flash Bombasi ^3] ^1Satin Aldin")                give_item(id"weapon_flashbang")                give_item(id"weapon_flashbang")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 Ronda[id] = 0                IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                                IlkMenu(id)                            }        }        case 2:        {                        if (g_jbpacks[id] > 10)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 10)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4El BomBasi ^3] ^1Satin Aldin")                give_item(id"weapon_hegrenade")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 Ronda[id] = 0                IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                                IlkMenu(id)            }        }        case 3:        {                        if (g_jbpacks[id] > 20)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 20)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^43 Adet El BomBasi ^3] ^1Satin Aldin")                give_item(id,"weapon_hegrenade")                cs_set_user_bpammo(idCSW_HEGRENADE3)                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 Ronda[id] = 0                IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                                IlkMenu(id)            }        }        case 4:        {                        if (g_jbpacks[id] > 25)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 25)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^410 Saniyelik Kalkan ^3] ^1Satin Aldin")                give_item(id,"weapon_shield")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                IlkMenu(id)                set_task(10.0,"SilahKapat",id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                                IlkMenu(id)            }        }        case 5:        {                    if (g_jbpacks[id] > 50)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 50)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4Glock ^3] ^1Satin Aldin")                give_item(id"weapon_glock18")                cs_set_user_bpammo(idCSW_GLOCK181)                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                    IlkMenu(id)            }        }        case 6:        {                if (g_jbpacks[id] > 55)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 55)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4USP ^3] ^1Satin Aldin")                give_item(id"weapon_usp")                cs_set_user_bpammo(idCSW_USP1)                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                                IlkMenu(id)            }        }        case 7:        {            if (g_jbpacks[id] > 75)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 75)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Marketten ^3[ ^4COLT ^3] ^1Satin Aldin")                    give_item(id,"weapon_m4a1")                emit_sound(idCHAN_AUTOSiVOL_NORMATTN_NORM 0PITCH_NORM)                 IlkMenu(id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")
                    
    IlkMenu(id)            }        }    }    menu_destroy(menu);    return PLUGIN_HANDLED;}
    /*****************************************ANAMENU******************************************/
    public IlkMenu(id){        if(get_pcvar_num(OnOff2))    {        if (get_user_team(id) == )        {                        new menuMenuz[512]                          formatex(Menuzcharsmax(Menuz), "\rZeytech \w` \yJaiLBreaK \r# \ySince \w` \y2009")              menu menu_create(Menuz"amenu_devam")                                                  if(engel1[id] == 0) {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yMarket")                  menu_additem(menuMenuz"2")                } else {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yMarket \r[ Kullandiniz ]")                  menu_additem(menuMenuz"2")            }                    if(get_pcvar_num(isyanmenu) == 1) {                 formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yEnvanter Menu")                menu_additem(menuMenuz"5")            }            if(get_pcvar_num(transfer) == 1) {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yMeslek Menu")                menu_additem(menuMenuz"9")                    }            if(access(id,ADMIN_LEVEL_G)) {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \ySlot Menu")                        menu_additem(menuMenuz"4")                }  else {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \ySlot Menu \w[ Sadece Slotlara Ozel ]")                        menu_additem(menuMenuz"7")            }            if(get_pcvar_num(transfer) == 1) {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yTL Transfer")                menu_additem(menuMenuz"10")            }            if(get_pcvar_num(isyanmenu) == 1) {                 formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yTS3 Hizli Giris")                menu_additem(menuMenuz"6")            }            if(get_pcvar_num(transfer) == 1) {                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yKan Bagisla \w[\r99 HP \yVer \r5 TL \yKazan\w]")                menu_additem(menuMenuz"8")            }                                                formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yCikis")                          menu_setprop(menu,MPROP_EXITNAME,Menuz)                          menu_display(idmenu0)                      }                    }}

    public 
    amenu_devam(id,amenu,item){    if(item == MENU_EXIT)    {        menu_destroy(amenu)        return PLUGIN_HANDLED        }    new accescallbackdata[6], iname[64]    menu_item_getinfo(amenuitemaccesdata5iname63,callback)    if(str_to_num(data) == 1)    {        //    }    else if(str_to_num(data) == 2)    {        if(engel1[id] == 0) {            Tienda1(id)            } else {            IlkMenu(id)        }    }    else if(str_to_num(data) == 5)    {        envanter_shop_menu(id)    }    else if(str_to_num(data) == 6)    {        client_cmd(id,"say /ts3")    }    else if(str_to_num(data) == 7)    {        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Bu Menu Slotlara Ozeldir Slotluk Almak Icin say'a ^3[^4 /ts3 ^3] ^1Yaziniz.")        IlkMenu(id)    }    else if(str_to_num(data) == 4)    {        SlotMenu(id)    }    else if(str_to_num(data) == 10)    {        transfer_anamenu(id)    }    else if(str_to_num(data) == 8) {        kanbagis(id)    }    else if(str_to_num(data) == 9)    {        ShowMenu(id)    }    menu_destroy(amenu)    return PLUGIN_HANDLED}

    public SlotMenu(id) {    if (g_kullandim[id] && is_user_alive(id)) {                 new menu menu_create("\wTheZeytech \r# \ySlot Menusu""slotmenu_gir")                menu_additem(menu"\wSaatte 310 Km Hiz""1"0);        menu_additem(menu"\wSilahlarda Mermi Sekmeme""2"0);        menu_additem(menu"\wYuksek Ziplama ( Gravity 600 ) ""3"0);        menu_additem(menu"\wUcretsiz Healt ( +25 HP )""4"0);                menu_setprop(menuMPROP_EXITMEXIT_ALL);        menu_display(idmenu0);        } else {
            
    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Slotmenuyu Tekrar Kullanmak Icin ^4Diger Gunu ^3Beklemen ^1Gerek")    }    return PLUGIN_HANDLED}
    public 
    slotmenu_gir(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);    new adminismi[32]    get_user_name(id,adminismi,31)        switch(key)    {        case 1: {            set_user_maxspeed(id,350.0)            g_kullandim[id] = false        }        case 2: {            mermisekmeme[id] = true;            g_kullandim[id] = false        }        case 3: {            set_user_gravity(id,0.6)            g_kullandim[id] = false        }        case 4: {            set_user_health(idget_user_health(id) + 25)             g_kullandim[id] = false        }            }        menu_destroy(menu);    return PLUGIN_HANDLED;} 
    public 
    tlveral(id){        if(!is_user_admin(id)) {        return PLUGIN_HANDLED;    }    static opcion[64]        formatex(opcioncharsmax(opcion),"\y[TheZeytech] TL Yoneticisi"LANG_PLAYER)    new iMenu menu_create(opcion"menu")        formatex(opcioncharsmax(opcion),"\w[TheZeytech] TL Ver"LANG_PLAYER)    menu_additem(iMenuopcion"1")            formatex(opcioncharsmax(opcion),"\w[TheZeytech] TL Al"LANG_PLAYER)    menu_additem(iMenuopcion"2")            menu_setprop(iMenuMPROP_EXITMEXIT_ALL)    menu_display(idiMenu0)            return PLUGIN_HANDLED;}
    public 
    menu(idmenuitem){        if (item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }        new Data[6], Name[64]    new AccessCallback        menu_item_getinfo(menuitemAccessData,5Name63Callback)        new Key str_to_num(Data)        switch (Key)    {        case 1:        {                regalar[id] = 1            quitar[id] = 0                escojer(id)        }        case 2:         {                quitar[id] = 1            regalar[id] = 0            escojer(id)        }    }        menu_destroy(menu)        return PLUGIN_HANDLED// public JailbreakPacks(id){        set_hudmessage(0, 255, 255, 10.9, 0.75, 0, 6.0, 2.5)    ShowSyncHudMsg(id, syncObj,"         Cebinizdeki TL: [ %i ]", g_jbpacks[id]) }public kontrol(id) {    if(get_pcvar_num(AcKapa) == 0) {        IlkMenu(id)        } else {        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] TLSHOP MENU Kapalidir !")    }    return PLUGIN_HANDLED;}public fw_touch_weapon(id) {     for(new i = 1; i < 33; i++)  {         if(is_user_connected(i) && is_user_alive(i) && get_user_team(i) == 2)  {             strip_user_weapons(i)             give_item(i, "weapon_knife")         }     } }public fw_HamSpawn(id) {    takim[id] = 0;    cs_reset_user_model(id);}
    public isyan_menu(id) {        new menuMenuz[512]     formatex(Menuzcharsmax(Menuz), "\wTheZeytech \r# \yIsyan Menu")     menu menu_create(Menuz"isyan_menu_devam")        formatex(Menuzcharsmax(Menuz), "\wHp Satin Al \y[\r15 TL\y] \d(+100 HP)")     menu_additem(menuMenuz"1")     formatex(Menuzcharsmax(Menuz), "\wSaydam Gorunmezlik \y[\r20 TL\y] \d(5 Saniye) ")     menu_additem(menuMenuz"2")     formatex(Menuzcharsmax(Menuz), "\wArkadasini Revle \y[\r20 TL\y]")     menu_additem(menuMenuz"3")    formatex(Menuzcharsmax(Menuz), "\wYuksek Ziplama \y[\r25 TL\y] \d(400 Gravity)")     menu_additem(menuMenuz"4")    formatex(Menuzcharsmax(Menuz), "\wHizli Yurume \y[\r25 TL\y]")     menu_additem(menuMenuz"5")    formatex(Menuzcharsmax(Menuz), "\wGodmode \y[\r30 TL\y] \d(3 Saniye)")     menu_additem(menuMenuz"6")    formatex(Menuzcharsmax(Menuz), "\wDeprem Baslat \y[\r30 TL\y]")     menu_additem(menuMenuz"7")    formatex(Menuzcharsmax(Menuz), "\wUyusturucu \y[\r30 TL\y]")     menu_additem(menuMenuz"8")    formatex(Menuzcharsmax(Menuz), "\wElektrikleri Kes \y[\r35 TL\y]")     menu_additem(menuMenuz"9")        formatex(Menuzcharsmax(Menuz), "\yCikis")     menu_setprop(menu,MPROP_EXITNAME,Menuz)         menu_display(idmenu0)         return PLUGIN_HANDLED;}
    public 
    isyan_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 (g_jbpacks[id] > 15)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 15)                                set_user_health(idget_user_health(id) + 100)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Isyan Menuden ^3[^4 100 HP ^3] ^3Satin Aldiniz.")            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            }        }                case 2: {              if(jb_get_user_packs(id) < get_pcvar_num(GorunmezJB)) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")                return PLUGIN_HANDLED            }            jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(GorunmezJB))                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^15 Saniye Boyunca Gorunmezsin ^4Pelerin Varsa Isim Degistir.")            Gorunmezlik(id)        }        case 3: {              if(jb_get_user_packs(id) < 20) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")                return PLUGIN_HANDLED            }            jb_set_user_packs(id,jb_get_user_packs (id) - 20)            elemanrevle(id)        }        case 4: {             if (g_jbpacks[id] > 25)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 25)                                set_user_gravity(id,0.5)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Isyan Menuden ^3[ ^4Yuksek Ziplama ^3] ^1Satin Aldiniz.")            }             else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            }        }        case 5: {            if (g_jbpacks[id] > 25)            {                jb_set_user_packs(id,jb_get_user_packs (id) - 25)                                set_user_maxspeed(id,400.0)                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Isyan Menuden ^3[ ^4Hizli Yurume ^3] ^1Satin Aldiniz.")            }             else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            }        }        case 6: {            if (g_jbpacks[id] > 30) {                 jb_set_user_packs(id,jb_get_user_packs (id) - 30)                set_user_godmode(id,1)                set_task(3.0,"godmodekapat",id)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            }        }        case 7: {            if(!is_user_alive(id)) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Deprem Yaratmak icin ^4canli ^1olmaniz gerek..")                return PLUGIN_HANDLED            }            if(jb_get_user_packs(id) < get_pcvar_num(DepremJB)) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")                return PLUGIN_HANDLED            }            new name[32]            new isim get_user_name(id,name,31)            ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Isimli Oyuncu ^3[ ^4Deprem ^3] ^1Baslatti.",isim)            set_task(0.2,"Sarsinti",4701,"",0,"b")            set_task(6.0,"DepremiBitir",4702)            sarsiliyor true            jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(DepremJB))                    }        case 8: {            if (g_jbpacks[id] > 30) {                 jb_set_user_packs(id,jb_get_user_packs (id) - 30)                new name[32]                new isim get_user_name(id,name,31)                server_cmd("amx_drug %s",isim)                set_user_health(idget_user_health(id) + 150)                 set_user_maxspeed(id,375.0)            }            else            {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            }        }        case 9: {            if(jb_get_user_packs(id) < get_pcvar_num(ElektrikJB)) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")                return PLUGIN_HANDLED            }            jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(ElektrikJB))            set_lights("a")            set_task(8.0,"elektrikAc")            new name[33]            get_user_name(id,name,32)            ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^4Elektrikleri ^1Kesti",name)        }    }    menu_destroy(menu);    return PLUGIN_HANDLED;    }
    public 
    Sarsinti(TaskID){    for(new id 1id 33id++)    {        if(is_user_connected(id) && is_user_alive(id) && sarsiliyor)        {            message_begin(MSG_ONE_UNRELIABLEget_user_msgid("ScreenShake"), {0,0,0}, id)              write_short(0xFFFF)            write_short(1<<13)            write_short(0xFFFF)             message_end()        }    }}
    public 
    DepremiBitir(TaskID){    if(sarsiliyor)    {        remove_task(4701)        sarsiliyor false        remove_task(TaskID)        }}public elektrikAc(taskid) {    set_lights("#OFF")    remove_task(taskid)    }public glowmenu(id){        if(!is_user_connected(id) || !is_user_alive(id)) {        if(!(get_user_flags(id) == ADMIN_LEVEL_C))            return PLUGIN_HANDLED    }        new menu menu_create("\yGlow Menu""menu_handlers");        menu_additem(menu"\w[ Kirmizi ] Renk""1",ADMIN_KICK);    menu_additem(menu"\w[ Mavi ] Renk""2",ADMIN_KICK                                );    menu_additem(menu"\w[ Yesil ] Renk""3",ADMIN_KICK);    menu_additem(menu"\w[ Pembe ] Renk""4",ADMIN_KICK);    menu_additem(menu"\w[ Aqua ] Renk""5",ADMIN_KICK);    menu_additem(menu"\w[ Sari ] Renk""6",ADMIN_KICK);    menu_additem(menu"\w[ Glowu Sil ]""7",ADMIN_KICK);            menu_setprop(menuMPROP_EXITMEXIT_ALL);    menu_display(idmenu0);    return PLUGIN_HANDLED}
    public 
    menu_handlers(idmenuitem){        if( item == MENU_EXIT )    {        menu_destroy(menu);                return PLUGIN_HANDLED;    }            new data[6], szName[64];    new accesscallback;        menu_item_getinfo(menuitemaccessdata,charsmax(data), szName,charsmax(szName), callback);        new key str_to_num(data);    switch(key)    {        case 1:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,255,0,0,kRenderNormal,0)
                        
    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Kirmizi Glow ^3] ^1Verdi.",name,hedefisim)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }                        case 2:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,0,0,255,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Mavi Glow ^3] ^1Verdi.",name,hedefisim)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }                case 3:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,0,255,0,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Yesil Glow ^3] ^1Verdi.",name,hedefisim)                                    }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }                        case 4:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,255,162,254,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Pembe Glow ^3] ^1Verdi.",name,hedefisim)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }        case 5:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,0150255,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Aqua Glow ^3] ^1Verdi.",name,hedefisim)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }        case 6:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,255,255,0,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s Nickli Oyuncuya ^3[ ^4Sari Glow ^3] ^1Verdi.",name,hedefisim)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }            glowmenu(id)        }                case 7:        {            new name[32],hedefisim[32],hedef,vucut            get_user_name(id,name,31)            get_user_aiming(id,hedef,vucut)            get_user_name(hedef,hedefisim,31)                        if(hedef && is_valid_ent(hedef) && hedef!=id)            {                if(is_user_alive(hedef))                {                    set_user_rendering(hedef,kRenderFxGlowShell,0,0,0,kRenderNormal,0)                    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Admin ^4%s ^1Nickli Oyuncunun Glowunu ^3Kapadi.",name,hedefisim)                    glowmenu(id)                }            }            else if(entity_get_int(hedef,EV_INT_solid)!=4)            {                            }                        glowmenu(id)                    }                    }    menu_destroy(menu);    return PLUGIN_HANDLED;}public revive(id) {    strip_user_weapons(id)    give_item(id,"weapon_knife")}public transfer_menu(id) {    if( !is_user_alive(id) ) return PLUGIN_HANDLED    new menu menu_create("\wTheZeytech \r# \yJB Transfer""transfer_case")        menu_additem(menu"\y10 \rTL""1"0);    menu_additem(menu"\y20 \rTL""2"0);    menu_additem(menu"\y30 \rTL""3"0);    menu_additem(menu"\y40 \rTL""4"0);    menu_additem(menu"\y50 \rTL""5"0);        menu_setprop(menuMPROP_EXITMEXIT_ALL);    menu_display(idmenu0);    return PLUGIN_HANDLED}
    public 
    transfer_case(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);    new adminismi[32]    get_user_name(id,adminismi,31)        switch(key)    {        case 1: {            ananzaaxd[id] = 10;            OyuncuSec(id)        }        case 2: {             ananzaaxd[id] = 20;            OyuncuSec(id)        }        case 3: {             ananzaaxd[id] = 30;            OyuncuSec(id)        }        case 4: {            ananzaaxd[id] = 40;            OyuncuSec(id)        }        case 5: {            ananzaaxd[id] = 50;            OyuncuSec(id)        }    }        menu_destroy(menu);    return PLUGIN_HANDLED;}  

    public 
    OyuncuSec(id){    new ad[32],sznum[6]    new menu menu_create("OYUNCU SECIN","OyuncuHand")    for(new 1;i<=get_maxplayers();i++)        if(is_user_connected(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu)    return PLUGIN_HANDLED}public OyuncuHand(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)        if(ananzaaxd[id] == 10)    {        if(jb_get_user_packs(id) >= 10) {            jb_set_user_packs(idjb_get_user_packs(id) - 10)            jb_set_user_packs(tidjb_get_user_packs(tid) + 10)
                
    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisiye ^3[^4 10 ^3] ^1TL Transfer Ettiniz.",ad)            ColorChat(tid,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisi Size ^3[^4 10 ^3] ^1TL TRANSFER ETTI.",name)            ananzaaxd[id] = 0        }        else {
                
    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            ananzaaxd[id] = 0        }    }    if(ananzaaxd[id] ==  20)    {        if(jb_get_user_packs(id) >= 20) {            jb_set_user_packs(idjb_get_user_packs(id) -  20 )            jb_set_user_packs(tidjb_get_user_packs(tid) +  20 )            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisiye ^3[^4 20 ^3] ^1TL Transfer Ettiniz.",ad)            ColorChat(tid,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisi Size ^3[^4 20 ^3] ^1TL TRANSFER ETTI.",name)            ananzaaxd[id] = 0        }        else {                        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            ananzaaxd[id] = 0        }    }    ///    if(ananzaaxd[id] == 30)    {        if(jb_get_user_packs(id) >= 30) {            jb_set_user_packs(id, jb_get_user_packs(id) - 30)            jb_set_user_packs(tid, jb_get_user_packs(tid) + 30)            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisiye ^3[^4 30 ^3] ^1TL Transfer Ettiniz.",ad)            ColorChat(tid,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisi Size ^3[^4 30 ^3] ^1TL TRANSFER ETTI.",name)            ananzaaxd[id] = 0        }        else {                        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            ananzaaxd[id] = 0        }    }    if(ananzaaxd[id] == 40 )    {        if(jb_get_user_packs(id) >= 40) {            jb_set_user_packs(id, jb_get_user_packs(id) - 40)            jb_set_user_packs(tid, jb_get_user_packs(tid) + 40)            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisiye ^3[^4 40 ^3] ^1TL Transfer Ettiniz.",ad)            ColorChat(tid,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisi Size ^3[^4 40 ^3] ^1TL TRANSFER ETTI.",name)            ananzaaxd[id] = 0        }        else {                        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            ananzaaxd[id] = 0        }    }    if(ananzaaxd[id] == 50)    {        if(jb_get_user_packs(id) >= 50) {            jb_set_user_packs(id, jb_get_user_packs(id) - 50)            jb_set_user_packs(tid, jb_get_user_packs(tid) + 50)            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisiye ^3[^4 50 ^3] ^1TL Transfer Ettiniz.",ad)            ColorChat(tid,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Kisi Size ^3[^4 50 ^3] ^1TL TRANSFER ETTI.",name)            ananzaaxd[id] = 0                    }        else {                        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")            ananzaaxd[id] = 0                    }    }        return PLUGIN_HANDLED}
    public Gorunmezlik(id){    set_user_rendering(idkRenderFxGlowShell2552550kRenderTransAlpha0)    set_task(5.0,"Kapat",id)}public Kapat(id){    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3]^3 5 Saniye ^1Boyunca Aktif Olan ^3Gorunmezlik ^1Kapatildi.")    set_user_rendering(idkRenderFxGlowShell000kRenderTransAlpha255)}
    public 
    ctucur(id){
    new 
    ad[32],sznum[6]new menu menu_create("\wTheZeytech \r# \yCT Gom","ctucur_devam")for(new 1;i<=get_maxplayers();i++)    if(is_user_connected(i) && get_user_team(i) == && is_user_alive(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu0)    return PLUGIN_HANDLED}
    public 
    ctucur_devam(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)    server_cmd("amx_uberslap ^"%s^"",ad)    ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyani Ucurdu.",name,ad)     
        return 
    PLUGIN_HANDLED}
    public 
    ShowMenu(id) {    new menu menu_create("\yTheZeytech.Net \r// \yMeslek Menu","menu_handler")        menu_additem(menu,"(Doktor) - \dHer El \r2 \dKisiye \yHP \dVerebilirsin.","1")    menu_additem(menu,"(Avci) - \dHer \rCT \dOldurdugunde \r10 \dTL Kazanirsin","2")    menu_additem(menu,"(Speedy Gonzales) - \dDaha fazla \rHiz \d(\r1 \dEl)","4")    menu_additem(menu,"(Bombaci) - \dRastgele \rBomba \dSahibi Olursun","5")    menu_additem(menu,"(Terminator) - \dHer El \r150 \yHP \y+ \r150 \yArmor  \dile Baslarsin","6")        menu_setprop(menu,MPROP_EXIT,MEXIT_ALL)    menu_display(id,menu,0)    return PLUGIN_HANDLED}public menu_handler(id,menu,item) {    if(item == MENU_EXIT) {        menu_destroy(menu)        return PLUGIN_HANDLED    }        new name[64],data[6];    new access,callback;    menu_item_getinfo(menu,item,access,data,5,name,63,callback)    switch(str_to_num(data)) {        case 1:{            if(timeout[id]) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                return PLUGIN_HANDLED            }            if(meslek[id] == 1) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4Doktor ^3] !")                return PLUGIN_HANDLED            }            if(meslek[id] == 3remove_task(id+513)            if(meslek[id] == 4remove_task(id+600)            timeout[id] = true;            meslek[id] = 1;            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4Doktor ^3] ^1Olarak Sectiniz !")            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Can vermek istediginiz kisiye dogru bakarak ^3[ ^4E ^3] tusuna basin.")                    }        case 2:{            if(timeout[id]) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                return PLUGIN_HANDLED            }            if(meslek[id] == 2) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4Avci ^3] !")                return PLUGIN_HANDLED            }            if(meslek[id] == 3remove_task(id+513)            if(meslek[id] == 4remove_task(id+600)            timeout[id] = true;            meslek[id] = 2;            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4Avci ^3] ^1Olarak Sectiniz !")        }        case 3:{            if(timeout[id]) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                return PLUGIN_HANDLED            }            if(meslek[id] == 3) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4TL Hirsizi ^3] !")                return PLUGIN_HANDLED            }            if(meslek[id] == 4remove_task(id+513)            timeout[id] = true;            meslek[id] = 3;            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4TL Hirsizi ^3] ^1Olarak Sectiniz !")            set_task(1200.0,"GiveJB2",id+600,_,_,"b")        }        case 4:{            if(timeout[id]) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                return PLUGIN_HANDLED            }            if(meslek[id] == 4) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4Speedy Gonzales ^3] !")                return PLUGIN_HANDLED            }            if(meslek[id] == 3remove_task(id+600)            timeout[id] = true;            meslek[id] = 4;             ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4Speedy Gonzales ^3] ^1Olarak Sectiniz !")            set_user_maxspeed(id350.0)        }        case 5: {                       if(timeout[id]) {                        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                    return PLUGIN_HANDLED                      }                     if(meslek[id] == 5) {                       ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4Bombaci ^3] !")                  return PLUGIN_HANDLED                       }                       if(meslek[id] == 3)                 remove_task(id+513)                 if(meslek[id] == 4)                 remove_task(id+600)               timeout[id] = true;                  meslek[id] = 5;                     ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4Bombaci ^3] ^1Olarak Sectiniz !")             switch(random_num(0,2)){                case 0: {                    give_item(id"weapon_hegrenade")                }                case 1: {                    give_item(id"weapon_flashbang")                }                case 2: {                    give_item(id"weapon_smokegrenade")                 }            }        }          case 6: {            if(timeout[id]) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")                return PLUGIN_HANDLED            }            if(meslek[id] == 6) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginiz Zaten ^3[ ^4Terminator ^3] !")                return PLUGIN_HANDLED            }            if(meslek[id] == 3remove_task(id+513)            if(meslek[id] == 4remove_task(id+600)            timeout[id] = true;            meslek[id] = 6;            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Mesleginizi ^3[ ^4Terminator ^3] ^1Olarak Sectiniz !")            set_user_health(id150)            set_user_armor(id150)        }    }    menu_destroy(menu)    return PLUGIN_HANDLED}
    public 
    HookCurWeapon2(id) {    if(hizver2[id]) {        set_user_maxspeed(id250.0)    }    return PLUGIN_CONTINUE;}public OyuncuDogunca2(id) {    if(meslek[id] == 4) {        hizver2[id] = false;    }    if(meslek[id] == 5) {        set_task(0.30,"GiveMeGrenade",id)    }    if(meslek[id] == 6) {        set_user_health(id150);        set_user_armor(id150);       }}
    public 
    GiveMeGrenade(id) {    switch(random_num(0,2)){        case 0: {            give_item(id"weapon_hegrenade")        }        case 1: {            give_item(id"weapon_flashbang")        }        case 2: {            give_item(id"weapon_smokegrenade")         }    }}
    public 
    GiveJB(taskid) {    new id taskid 513;    jb_set_user_packs(id,jb_get_user_packs(id) + 15)    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3]^3 20 dakikadir ^1oyunda oldugunuz icin. ^3[^4 15 TL ^3] ^1kazandiniz !")}public GiveJB2(taskid) {    new id taskid 600;    jb_set_user_packs(id,jb_get_user_packs(id) + 15)    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3]^3 20 dakikadir ^1oyunda oldugunuz icin. ^3[^4 15 TL ^3] ^1kazandiniz !")}public eDeath2() {    new killer read_data(1);    new victim read_data(2);        if(get_user_team(killer) == && get_user_team(victim) == && meslek[killer] == 2) {        jb_set_user_packs(killer,jb_get_user_packs(killer) + 10)
            
    ColorChat(killer,GREEN ,"^3[^4TheZeytech.Net^3] ^1Bir CT oldurdugunuz icin ^3[^4 10 TL ^3] ^1kazandiniz !")    }}public fw_EmitSound2idiChannelszSound[], Float:flVolFloat:flAttiFlagsiPitch ) {    if( equalszSound"common/wpn_denyselect.wav" ) && meslek[id] == 1){                new Uid,body,Float:dist;        dist get_user_aiming(id,Uid,body)        if(Uid) {                        if(dist 70.0) {                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Hedef Cok Uzakta !")                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1HEALTHKIT = %d/2",healtime2[id])            }            else {                if(!healtime2[id]) {                    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Hakkiniz Doldu Sonraki Eli Bekleyin. !")                    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1HEALTHKIT = 0/2")                }                else {                    --healtime2[id];                    client_print(id,print_center,"HEALTHKIT = %d/2",healtime2[id])                    set_user_health(Uid,get_user_health(Uid) + 20)                    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Hedefe ^3[^4 20 HP ^3] Verildi !")                }            }        }    }}  

    public 
    transfer_anamenu(id) {        new menu menu_create("\wTheZeytech \r# \ySlot Menusu""transfer_menu_gir")        menu_additem(menu"\wTheZeytech \r# \yJB Transfer""1"0);    menu_additem(menu"\wTheZeytech \r# \yMaddi Durumlar""2"0);        menu_setprop(menuMPROP_EXITMEXIT_ALL);    menu_display(idmenu0);}
    public 
    transfer_menu_gir(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);    new adminismi[32]    get_user_name(id,adminismi,31)        switch(key)    {        case 1: {            transfer_menu(id)        }        case 2: {            new message[899],len;              len formatex(message,898,"<body bgcolor=black><b>");              for(new 133i++)            {                if(is_user_connected(i))                {                    new iName[64]                    get_user_name(i,iName,63)                {                    len += formatex(message[len],898-len,"<font color=red>[ %s ]</font><font color=white> Nickli Oyuncumuzun [ %d ] JB'Si Var.<br></font>",iName,jb_get_user_packs(i))                 }            }        }        show_motd(id,message," - TheZeytech Maddi Durumlar - ");     }}
    menu_destroy(menu);return PLUGIN_HANDLED;}
    public 
    envanter_shop_menu(id) {
    new 
    menu menu_create("\wTheZeytech \r# \yIsyan - Shop Menuleri""isyan_shop_menu_gir")
    menu_additem(menu"\wTheZeytech \r# \yCephane Menu""1"0);menu_additem(menu"\wTheZeytech \r# \yIsyan Menu""2"0);menu_additem(menu"\wTheZeytech \r# \ySaldir Menu""3"0);
    menu_setprop(menuMPROP_EXITMEXIT_ALL);menu_display(idmenu0);}
    public 
    isyan_shop_menu_gir(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);new adminismi[32]get_user_name(id,adminismi,31)
    switch(
    key){    case 1: {        item_menu(id)    }    case 2: {        isyan_menu(id)    }    case 3: {        saldir_menu(id)    }}
    menu_destroy(menu);return PLUGIN_HANDLED;}
    public 
    godmodekapat(id){set_user_godmode(id,0)ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Godmode Suresi ^3Bitti")}
    public 
    saldir_menu(id) {if(is_user_alive(id)){        static Item[64]        formatex(Itemcharsmax(Item),"\wTheZeytech \r# \ySaldir Menu")    new Menu menu_create(Item"saldir_menu_gir")        formatex(Itemcharsmax(Item),"\wCT Flashla \y[\r30 TL\y] \d(Tum CT )")    menu_additem(MenuItem"1")        formatex(Itemcharsmax(Item),"\wCT Disarm Et \y[\r35 TL\y] \d(Sadece 1 CT)")    menu_additem(MenuItem"2")        formatex(Itemcharsmax(Item),"\wCT Yere Gom \y[\r65 TL\y] \d(Sadece 1 CT)")    menu_additem(MenuItem"3")        formatex(Itemcharsmax(Item),"\wCT Hp Dusur \y[\r50 TL\y] \d(Sadece 1 CT)")    menu_additem(MenuItem"4")
        
    formatex(Itemcharsmax(Item),"\wCT Uber Ucur \y[\r45 TL\y] \d(Sadece 1 CT)")    menu_additem(MenuItem"5")        menu_setprop(MenuMPROP_EXITMEXIT_ALL)    menu_display(idMenu,0)}}

    public 
    saldir_menu_gir(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:    {        if (g_jbpacks[id] > 30)        {            jb_set_user_packs(id,jb_get_user_packs (id) - 30)            server_cmd("amx_flash @CT")            IlkMenu(id)        }        else        {            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                        IlkMenu(id)                    }    }    case 2:    {                if (g_jbpacks[id] > 35)        {            jb_set_user_packs(id,jb_get_user_packs (id) - 35)            ctdisarm(id)        }        else        {            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                        IlkMenu(id)        }    }    case 3:    {                if (g_jbpacks[id] > 65)        {            jb_set_user_packs(id,jb_get_user_packs (id) - 65)            ctgom(id)        }        else        {            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                        IlkMenu(id)        }    }    case 4:    {                if (g_jbpacks[id] > 50)        {            jb_set_user_packs(id,jb_get_user_packs (id) - 50)            hpdusur(id)        }        else        {            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                        IlkMenu(id)        }    }    case 5:    {                if (g_jbpacks[id] > 45)        {            jb_set_user_packs(id,jb_get_user_packs (id) - 45)            ctucur(id)        }        else        {            ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")                        IlkMenu(id)        }    }}menu_destroy(menu);return PLUGIN_HANDLED;}
    public 
    elemanrevle(id){
    new 
    ad[32],sznum[6]new menu menu_create("\wTheZeytech \r# \yArkadasini Revle","devameteleman")for(new 1;i<=get_maxplayers();i++)    if(is_user_connected(i) && get_user_team(i) == && !is_user_alive(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu0)    return PLUGIN_HANDLED}
    public 
    devameteleman(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)    ExecuteHamB(Ham_CS_RoundRespawn,tid)            return PLUGIN_HANDLED}
    public 
    ctgom(id){
    new 
    ad[32],sznum[6]new menu menu_create("\wTheZeytech \r# \yCT Gom","ctgom_devam")for(new 1;i<=get_maxplayers();i++)    if(is_user_connected(i) && get_user_team(i) == && is_user_alive(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu0)    return PLUGIN_HANDLED}
    public 
    ctgom_devam(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)    server_cmd("amx_bury ^"%s^"",ad)    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyani ^3Gomdu.",name,ad)            return PLUGIN_HANDLED}
    public 
    ctdisarm(id){
    new 
    ad[32],sznum[6]new menu menu_create("\wTheZeytech \r# \yCT Gom","ctdisarm_devam")for(new 1;i<=get_maxplayers();i++)    if(is_user_connected(i) && get_user_team(i) == && is_user_alive(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu0)    return PLUGIN_HANDLED}
    public 
    ctdisarm_devam(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)    server_cmd("amx_disarm ^"%s^"",ad)    ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyani ^3Disarmladi.",name,ad)            return PLUGIN_HANDLED}

    public 
    SilahKapat(id){    strip_user_weapons(id)    give_item(id,"weapon_knife")}
    public 
    fw_Weapon_PrimaryAttack_Pre(entity){    new id pev(entitypev_owner);        if (mermisekmeme[id]) {        pev(idpev_punchanglecl_pushangle[id]);        return HAM_IGNORED;    }    return HAM_IGNORED;}public fw_Weapon_PrimaryAttack_Post(entity){    new id pev(entitypev_owner);        if (mermisekmeme[id]) {        new Floatpush[3];        pev(idpev_punchanglepush);        xs_vec_sub(pushcl_pushangle[id], push);        xs_vec_mul_scalar(push0.0push);        xs_vec_add(pushcl_pushangle[id], push);        set_pev(idpev_punchanglepush);        return HAM_IGNORED;    }    return HAM_IGNORED;}
    public 
    YeniTurcu() {    new players[32],inum;    static id    get_players(players,inum)    for(new i;i<inum;i++) {        fm_set_user_renderingid_000_);        set_user_footsteps(id0);        mermisekmeme[id] = false;        Kanverdimid ] = false;    }}
    public 
    kanbagis(id) {    if( !is_user_connectedid ) || !is_user_aliveid ) ) {        return PLUGIN_HANDLED;    }    if(Kanverdimid ] )    {        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Sadece ^3[ ^4Taze Kan ^3] ^1Verebilirsiniz !" );        return PLUGIN_HANDLED;    }        if( get_user_healthid ) < 100 )    {        ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Yeteri Kadar ^3[ ^4Kaniniz ^3] ^1Yok !" );        return PLUGIN_HANDLED;    }    else    {        set_user_healthidget_user_healthid ) - 99 );        jb_set_user_packsidjb_get_user_packsid ) + );        set_user_maxspeedid160.0 );                Kanverdimid ] = true;                ColorChat(id,GREEN ,"^3[^4TheZeytech.Net^3] ^1Kan Bagisladin ^3[^4 5 TL ^3] ^1Kazandin !" );    }    }
    public 
    hpdusur(id){
    new 
    ad[32],sznum[6]new menu menu_create("\wTheZeytech \r# \yCT Gom","hpdusur_devam")for(new 1;i<=get_maxplayers();i++)    if(is_user_connected(i) && get_user_team(i) == && is_user_alive(i))    {        num_to_str(i,sznum,5)        get_user_name(i,ad,31)        menu_additem(menu,ad,sznum)    }    menu_display(id,menu0)    return PLUGIN_HANDLED}
    public 
    hpdusur_devam(id,menu,item){    if(item == MENU_EXIT)    {        menu_destroy(menu)        return PLUGIN_HANDLED    }    new ad[32],callback,access,data[6]    menu_item_getinfo(menu,item,access,data,5,ad,31,callback)    new name[32];    get_user_name(id,name,31)    new tid str_to_num(data)    get_user_name(tid,ad,31)    server_cmd("amx_slap ^"%s^" 50",ad)        ColorChat(0,GREEN ,"^3[^4TheZeytech.Net^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyanin ^3[^4 50 HP ^3] ^1'sini Dusurdu.",name,ad)             return PLUGIN_HANDLED}/* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }*/
    /* AMXX-Studio Notes - DO NOT MODIFY BELOW HERE*{\\ rtf1\\ ansi\\ deff0{\\ fonttbl{\\ f0\\ fnil Tahoma;}}\n\\ viewkind4\\ uc1\\ pard\\ lang1055\\ f0\\ fs16 \n\\ par }*/ 
    Ekli Dosyalar Ekli Dosyalar
    • Dosya tipi: sma Shop.sma (79,6 KB (Kilobyte), 87 views)

  2. #2
    onbasi er
    Üyelik tarihi
    Aug 2014
    Mesajlar
    55
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    6

    Standart Cevap: Plugindeki hata düzeltme

    Tskler

  3. #3
    onbasi er
    Üyelik tarihi
    Aug 2012
    Mesajlar
    95
    Bahsedildi
    1 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Plugindeki hata düzeltme

    tskler??

  4. #4
    cavus emektar bihterr - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jul 2012
    Mesajlar
    186
    Bahsedildi
    5 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    8

    Standart Cevap: Plugindeki hata düzeltme

    bind komutlarıda yasaklıdır sma nın içindeki bind komutunu kaldırın ve console_cmd yada client_cmd yi server_cmd yapın sma hata vermicektir ek olarak ticket atarak bind komutunu eklettirebilirsiniz
    ~> 95.173.173.112 JBT GAMİNG
    Skype:ahmet.berk.gulbahce
    Call
    Send SMS
    Add to Skype
    You'll need Skype CreditFree via Skype

  5. #5
    er banned
    Üyelik tarihi
    Feb 2013
    Mesajlar
    31
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    0

    Standart Cevap: Plugindeki hata düzeltme

    eyv abicim

  6. #6
    onbasi er
    Üyelik tarihi
    Jun 2014
    Mesajlar
    89
    Bahsedildi
    1 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    6

    Standart Cevap: Plugindeki hata düzeltme

    buyur
    Ekli Dosyalar Ekli Dosyalar

  7. #7
    er er
    Üyelik tarihi
    Jan 2012
    Mesajlar
    30
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    9

    Standart Cevap: Plugindeki hata düzeltme

    Abicim zp oynuyorum su konuyu sadece jaıl ıcınde butun hepsı ıcın soylesen 50 tane eklentı var hangı bırınden oldugunu nerden bılıcem ben CFG;motd_write hatası verıyor auotconfıg, autoexec banned joystıck language lıstenserver server userconfıg vıolence bu hataları verıyor serverımda lutfen su konuyu acıklık getırın servere gırıste bugta kalıyor ...

Benzer Konular

  1. Plugindeki hata düzeltme
    By caglarinhesap in forum Çözülmüş İstekler
    Cevaplar: 5
    Son Mesaj: 21-08-14, 00:35

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