Kullanıcı Tag Listesi

2 sonuçtan 1 ile 2 arası
  1. #1
    onbasi er
    Üyelik tarihi
    Feb 2014
    Mesajlar
    77
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Question istek shop anlayanlar baksın lütfen

    #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)
    #define ADMIN_TLVIP ADMIN_RCON
    /*================================================= ===========
    Variables
    ================================================== ==========*/


    new
    OnOff2,
    precioC1,
    precioC2,
    precioC3,
    precioC4,
    precioC5,
    ElektrikTL,
    DepremTL,
    CTDefaultDano,
    TDefaultDano,
    PaloDano,
    HachaDano,
    MacheteDano,
    MotocierraDano,
    SamuraiDano,
    hSamuraiDano,
    hTDefaultDano,
    hCTDefaultDano,
    hPaloDano,
    hHachaDano,
    hMacheteDano,
    g_killjp,
    g_killhsjp,
    g_startjp,
    syncObj,
    Ronda[33],
    Speed[33],
    Speed2[33],
    TCuchillo[33],
    CTCuchillo[33],
    Cekic[33],
    Hacha[33],
    Machete[33],
    Motocierra[33],
    Samurai[33],
    g_jbpacks[33],
    menukullanimvip[33],
    quitar[33],
    GorunmezTL,
    Kanverdim[33],
    regalar[33],
    gidPlayer[33],
    mainvault;
    new engel1[33];
    new AcKapa;
    new ananzaaxd[33];


    // GOREVLER
    new gorev1[33];
    new gorev2[33];
    new gorev3[33];
    new gorev4[33];
    new gorev5[33];
    new oldurmesayi[33];
    new oldurme2sayi[33];


    new bool:g_kullandim[33]
    new mermisekmeme[33];
    new Float: cl_pushangle[33][3];




    new transfer;
    new envantermenu;
    new ts3gir;
    new meslekmenu;
    new map[32];
    /*================================================= ===========
    Weapon Model's
    ================================================== ==========*/




    new VIEW_MODELT[] = "models/[Shop]JailBreak/DLYumruk/dl_yumruk.mdl"
    new PLAYER_MODELT[] = "models/[Shop]JailBreak/Punos/Punos2.mdl"


    new VIEW_MODELCT[] = "models/[Shop]JailBreak/jopoy/Jop.mdl"
    new PLAYER_MODELCT[] = "models/[Shop]JailBreak/jopoy/Jop2.mdl"


    new VIEW_Star[] = "models/[Shop]JailBreak/Pala/v_pala.mdl"
    new PLAYER_Star[] = "models/[Shop]JailBreak/Pala/p_pala.mdl"


    new VIEW_Balyoz[] = "models/[Shop]JailBreak/SavasBaltasi/v_savasbaltasi.mdl"
    new PLAYER_Balyoz[] = "models/[Shop]JailBreak/SavasBaltasi/p_savasbaltasi.mdl"


    new VIEW_Cekic[] = "models/[Shop]JailBreak/Cekic/v_cekic.mdl"
    new PLAYER_Cekic[] = "models/[Shop]JailBreak/Cekic/p_cekic.mdl"


    new VIEW_Katana[] = "models/[Shop]JailBreak/katanaoy/v_katanad.mdl"
    new PLAYER_Katana[] = "models/[Shop]JailBreak/katanaoy/p_katanad.mdl"


    new VIEW_Moto[] = "models/[Shop]JailBreak/Moto/Moto.mdl"
    new PLAYER_Moto[] = "models/[Shop]JailBreak/Moto/Moto2.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.3"
    #define AUTHOR "JellyB0N"


    //////////Meslek
    new 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(PLUGIN, VERSION, AUTHOR);
    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_event("DeathMsg", "event_msg", "a")
    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", "4")
    precioC3 = register_cvar("jb_pKnife3", "8")
    precioC4 = register_cvar("jb_pKnife4", "12")
    precioC5 = register_cvar("jb_pKnife5", "20")

    AcKapa = register_cvar("jb_engel","0")

    TDefaultDano = register_cvar("jb_dKnifeT", "10")
    CTDefaultDano = register_cvar("jb_dKnifeCT", "50")
    PaloDano = register_cvar("jb_dKnife1", "15")
    HachaDano = register_cvar("jb_dKnife2", "25")
    MacheteDano = register_cvar("jb_dKnife3", "35")
    SamuraiDano = register_cvar("jb_dKnife4", "65")
    MotocierraDano = register_cvar("jb_dKnife5", "80")


    GorunmezTL = register_cvar("jb_gorunmez", "20");
    ElektrikTL = register_cvar("jb_elektrik", "35");

    DepremTL = register_cvar("jb_deprem", "30")
    hTDefaultDano = register_cvar("jb_dHsKnifeT", "10")
    hCTDefaultDano = register_cvar("jb_dHsKnifeCT", "80")
    hPaloDano = register_cvar("jb_dhsKnife1", "20")
    hHachaDano = register_cvar("jb_dhsKnife2", "40")
    hMacheteDano = register_cvar("jb_dhsKnife3", "50")
    hSamuraiDano = register_cvar("jb_dhsKnife4", "80")

    syncObj = CreateHudSyncObj()


    transfer = register_cvar("jb_transfer","1")
    envantermenu = register_cvar("jb_envanter","1")
    meslekmenu = register_cvar("jb_meslek","1")
    ts3gir = register_cvar("jb_ts3","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_Cekic)
    precache_model(PLAYER_Cekic)
    precache_model(VIEW_Star)
    precache_model(PLAYER_Star)
    precache_model(VIEW_Balyoz)
    precache_model(PLAYER_Balyoz)
    precache_model(VIEW_Katana)
    precache_model(PLAYER_Katana)
    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) == 1 )
    {
    static Item[64]

    formatex(Item, charsmax(Item),"\w @JeanGaming.NET \r# \wMarket")
    new Menu = menu_create(Item, "CuchilleroHandler")

    formatex(Item, charsmax(Item),"\[email protected] \r# \wCekic \y[ %d TL ]", get_pcvar_num(precioC1))
    menu_additem(Menu, Item, "1")

    formatex(Item, charsmax(Item),"\[email protected] \r# \wPala \y[ %d TL ]",get_pcvar_num(precioC2))
    menu_additem(Menu, Item, "2")

    formatex(Item, charsmax(Item),"\[email protected] \r# \wSavas Baltasi \y[ %d TL ]",get_pcvar_num(precioC3))
    menu_additem(Menu, Item, "3")

    formatex(Item, charsmax(Item),"\[email protected] \r# \wBaci Sikerten \y[ %d TL ]",get_pcvar_num(precioC4))
    menu_additem(Menu, Item, "4")

    formatex(Item, charsmax(Item),"\[email protected] \r# \wTestere \y[ %d TL ]",get_pcvar_num(precioC5))
    menu_additem(Menu, Item, "5")


    menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
    menu_display(id, Menu,0)
    }
    }
    return PLUGIN_HANDLED
    }


    public CuchilleroHandler(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }
    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    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 Obtener5 = get_pcvar_num(precioC5)

    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
    Cekic[id] = 1
    Hacha[id] = 0
    Machete[id] = 0
    Samurai[id] = 0
    Motocierra[id] = 0


    ham_strip_weapon(id, "weapon_knife")
    give_item(id, "weapon_knife")
    engel1[id] = 1

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Marketten ^3[ ^4Cekic ^3] ^1Caldin Seni Pislik Herif.")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id);
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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
    Cekic[id] = 0
    Hacha[id] = 1
    Machete[id] = 0
    Samurai[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[^[email protected]^3] ^1Marketten ^3[ ^4Pala ^3] ^1Satin Aldin.")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id);
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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
    Cekic[id] = 0
    Hacha[id] = 0
    Machete[id] = 1
    Samurai[id] = 0
    Motocierra[id] = 0
    engel1[id] = 1
    ham_strip_weapon(id, "weapon_knife")
    give_item(id, "weapon_knife")

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Marketten ^3[ ^4Savas Baltasi ^3] ^1Satin Aldin.")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id);
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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
    Cekic[id] = 0
    Hacha[id] = 0
    Machete[id] = 0
    Samurai[id] = 1
    Motocierra[id] = 0
    engel1[id] = 1
    ham_strip_weapon(id, "weapon_knife")
    give_item(id, "weapon_knife")
    engel1[id] = 1
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Marketten ^3[ ^4Katana ^3] ^1Satin Aldin.")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id);
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1'niz Yok.")

    IlkMenu(id);
    }
    }
    case 5:
    {
    if (g_jbpacks[id] >= Obtener5 && vivo)
    {

    g_jbpacks[id] -= Obtener5
    CTCuchillo[id] = 0
    TCuchillo[id] = 0
    Cekic[id] = 0
    Hacha[id] = 0
    Machete[id] = 0
    Samurai[id] = 0
    Motocierra[id] = 1
    engel1[id] = 1
    gorev1[id] = 1
    ham_strip_weapon(id, "weapon_knife")
    give_item(id, "weapon_knife")
    engel1[id] = 1
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Marketten ^3[ ^4Testere ^3] ^1Satin Aldin.")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id);
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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(opcion, charsmax(opcion),"\yOyuncu Secin")
    new iMenu = menu_create(opcion, "choose")

    new players[32], pnum, tempid
    new szName[32], szTempid[10]

    get_players(players, pnum, "a")

    for( new i; i<pnum; i++ )
    {
    tempid = players[i]

    get_user_name(tempid, szName, 31)
    num_to_str(tempid, szTempid, 9)

    formatex(opcion, charsmax(opcion), "\y[ %s ] \r[ %i ]" ,szName, g_jbpacks[tempid])
    menu_additem(iMenu, opcion, szTempid, 0)
    }

    menu_display(id, iMenu,0)
    return PLUGIN_HANDLED
    }


    public choose(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu)
    return PLUGIN_HANDLED
    }

    new Data[6], Name[64]
    new Access, Callback
    menu_item_getinfo(menu, item, Access, Data,5, Name, 63, Callback)

    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(say, charsmax(say))

    remove_quotes(say)

    if(!is_str_num(say) || equal(say, ""))
    return PLUGIN_HANDLED

    jbpacks(id, say)

    return PLUGIN_CONTINUE
    }


    public fw_GetVaultData(id)
    {
    //initaliazed[id] = get_vaultdata(read_data(1));
    initaliazed[id] = true;
    }




    jbpacks(id, say[]) {
    new amount = str_to_num(say)
    new victim = gidPlayer[id]

    new vname[32]
    new adminname[32]

    if(victim > 0)
    {
    get_user_name(victim, vname, 31)
    get_user_name(id, adminname, 31)

    if(regalar[id])
    {
    if(amount > 100)
    {
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Sana Diyorum ^3[ ^4 100 TL ^3] ^1'Den Fazla Veremezsin.",adminname)
    log_amx("[@JeanGaming.NET] %s Nickli Yetkili 100 TL Den Fazla Vermeye Calisti",adminname)
    }
    else
    {
    if(amount <= 100) {
    g_jbpacks[victim] = g_jbpacks[victim] + amount
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^4%s ^1Nickli Yetkili ^3[ ^4%s ^3] ^1Isimli Kisiye ^3[ ^4%d ^3] ^1TL Verdi.",adminname, vname, amount)
    log_amx("[@JeanGaming.NET] [ %s ] Nickli Yetkili [ %s ] Isimli Kisiye [ %d ] TL Verdi",adminname,vname,amount)
    }
    else
    {
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^3[ ^4 100 TL ^3] ^1'Den Fazla Veremezsin.",adminname)
    }
    }

    }
    if(quitar[id])
    {
    if(amount > g_jbpacks[victim])
    {
    g_jbpacks[victim] = 0
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^4%s ^1Mahkumun ^4TUM TL ^1'lerini Aldi.",adminname, vname)
    log_amx("[@JeanGaming.NET] [ %s ] Nickli Yetkili [ %s ] Kisinin Tum TL Sini Aldi",adminname,vname)
    }
    else
    {
    g_jbpacks[victim] = g_jbpacks[victim] - amount
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^3[ ^4%s ^3] ^1Kisinin ^3[ ^4%d ^3] ^1TL sini Aldi.",adminname, vname, amount)
    log_amx("[@JeanGaming.NET] [ %s ] Admin [ %s ] Kisiden [ %d ] TL Aldi",adminname,vname,amount)
    }

    }
    }

    return PLUGIN_HANDLED
    }




    public Fwd_PlayerSpawn_Post(id)
    {

    if(takim[id] > 0 ) {
    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(id, 0)
    Speed[id] = 0
    Speed2[id] = 0
    Ronda[id] = 1
    CTCuchillo[id] = 1
    TCuchillo[id] = 1
    Cekic[id] = 0
    Hacha[id] = 0
    Machete[id] = 0
    Samurai[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) {


    }
    }

    }
    public FwdTakeDamage(victim, inflictor, attacker, Float:damage, damage_bits)
    {
    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(Cekic[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(Samurai[attacker])
    {
    SetHamParamFloat(4, get_pcvar_float(SamuraiDano))

    if(get_pdata_int(victim, 75) == HIT_HEAD)
    {
    SetHamParamFloat(4, get_pcvar_float(hSamuraiDano))
    }
    }

    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(victim, attacker, shouldgib)
    {
    if(get_user_team(attacker) == 1)
    {
    g_jbpacks[attacker] += get_pcvar_num(g_killjp)

    if(get_pdata_int(victim, 75) == 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(id, 500.0)
    }

    if(Speed2[id])
    {
    set_user_maxspeed(id, 380.0)
    }

    if(weaponID == CSW_KNIFE && get_pcvar_num(OnOff2))
    {
    if(TCuchillo[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_MODELT)
    set_pev(id, pev_weaponmodel2, PLAYER_MODELT)
    }

    if(Cekic[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_Cekic)
    set_pev(id, pev_weaponmodel2, PLAYER_Cekic)
    }

    if(Hacha[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_Star)
    set_pev(id, pev_weaponmodel2, PLAYER_Star)
    }

    if(Machete[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_Balyoz)
    set_pev(id, pev_weaponmodel2, PLAYER_Balyoz)
    }

    if(Samurai[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_Katana)
    set_pev(id, pev_weaponmodel2, PLAYER_Katana)
    }

    if(Motocierra[id])
    {
    set_pev(id, pev_viewmodel2, VIEW_Moto)
    set_pev(id, pev_weaponmodel2, PLAYER_Moto)
    }


    }
    }
    case 2:
    {
    if(CTCuchillo[id] && weaponID == CSW_KNIFE)
    {
    set_pev(id, pev_viewmodel2, VIEW_MODELCT)
    set_pev(id, pev_weaponmodel2, PLAYER_MODELCT)
    }
    }
    }
    return PLUGIN_CONTINUE
    }


    public eRoundStart() {
    new players[32], inum, id
    get_players(players, inum)
    for(new i;i<inum;i++) {
    id = players[i]
    g_kullandim[id] = true
    timeout[players[i]] = false;
    healtime2[players[i]] = 2;
    menukullanimvip[id] = false
    }
    }


    public eRoundRestart() {
    new players[32], inum, id
    get_players(players, inum)
    for(new i;i<inum;i++) {
    id = players[i]
    g_kullandim[id] = true
    menukullanimvip[id] = false
    }
    }


    public eRoundEnd() {
    new players[32], inum, id
    get_players(players, inum)
    for(new i;i<inum;i++) {
    id = players[i]
    g_kullandim[id] = true
    menukullanimvip[id] = false
    }
    }


    public client_connect(id)
    {
    initaliazed[id] = false;
    g_kullandim[id] = true
    gorev1[id] = 0
    gorev2[id] = 0
    gorev3[id] = 0
    gorev4[id] = 0
    gorev5[id] = 0
    menukullanimvip[id] = false

    }
    public client_disconnect(id)
    {
    initaliazed[id] = false;
    g_kullandim[id] = true
    menukullanimvip[id] = false

    }


    /*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(entity, model[])
    {
    if(!pev_valid(entity))
    return FMRES_IGNORED


    if(!equali(model, OLDWORLD_MODEL))
    return FMRES_IGNORED

    new className[33];
    pev(entity, pev_classname, className, 32)

    if(equal(className, "weaponbox") || equal(className, "armoury_entity") || equal(className, "grenade"))
    {
    engfunc(EngFunc_SetModel, entity, WORLD_MODEL)
    return FMRES_SUPERCEDE
    }
    return FMRES_IGNORED
    }


    public Fwd_EmitSound(id, channel, const sample[], Float:volume, Float:attn, flags, pitch)
    {

    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(1, 2))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, ct_slash1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, ct_slash2, volume, attn, flags, pitch)
    }
    return FMRES_SUPERCEDE;
    }
    if(equal(sample,"weapons/knife_deploy1.wav"))
    {
    engfunc(EngFunc_EmitSound, id, channel, ct_deploy, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if (equal(sample[14], "hit", 3))
    {
    if (sample[17] == 'w')
    {
    engfunc(EngFunc_EmitSound, id, channel, ct_wall, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    else
    {
    switch (random_num(1, 4))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, ct_hit1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, ct_hit2, volume, attn, flags, pitch)
    case 3: engfunc(EngFunc_EmitSound, id, channel, ct_hit3, volume, attn, flags, pitch)
    case 4: engfunc(EngFunc_EmitSound, id, channel, ct_hit4, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    }
    if (equal(sample[14], "sta", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, ct_stab, volume, attn, flags, pitch)
    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(1, 2))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, t_slash1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, t_slash2, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    if(equal(sample,"weapons/knife_deploy1.wav"))
    {
    engfunc(EngFunc_EmitSound, id, channel, t_deploy, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if (equal(sample[14], "hit", 3))
    {
    if (sample[17] == 'w')
    {
    engfunc(EngFunc_EmitSound, id, channel, t_wall, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    else
    {
    switch (random_num(1, 4))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, t_hit1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, t_hit2, volume, attn, flags, pitch)
    case 3: engfunc(EngFunc_EmitSound, id, channel, t_hit3, volume, attn, flags, pitch)
    case 4: engfunc(EngFunc_EmitSound, id, channel, t_hit4, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    }
    if (equal(sample[14], "sta", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, t_stab, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    }
    }
    }

    if(Cekic[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, palo_slash1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, palo_slash2, volume, attn, flags, pitch)

    }

    return FMRES_SUPERCEDE;
    }
    if(equal(sample,"weapons/knife_deploy1.wav"))
    {
    engfunc(EngFunc_EmitSound, id, channel, palo_deploy, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if (equal(sample[14], "hit", 3))
    {
    if (sample[17] == 'w')
    {
    engfunc(EngFunc_EmitSound, id, channel, palo_wall, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    else
    {
    switch (random_num(1, 4))
    {
    case 1:engfunc(EngFunc_EmitSound, id, channel, palo_hit1, volume, attn, flags, pitch)
    case 2:engfunc(EngFunc_EmitSound, id, channel, palo_hit2, volume, attn, flags, pitch)
    case 3:engfunc(EngFunc_EmitSound, id, channel, palo_hit3, volume, attn, flags, pitch)
    case 4:engfunc(EngFunc_EmitSound, id, channel, palo_hit4, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    }
    if (equal(sample[14], "sta", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, palo_stab, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    }
    }

    if(Hacha[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, hacha_slash1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, hacha_slash2, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    if(equal(sample,"weapons/knife_deploy1.wav"))
    {
    engfunc(EngFunc_EmitSound, id, channel, hacha_deploy, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if (equal(sample[14], "hit", 3))
    {
    if (sample[17] == 'w')
    {
    engfunc(EngFunc_EmitSound, id, channel, hacha_wall, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    else
    {
    switch (random_num(1, 3))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, hacha_hit1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, hacha_hit2, volume, attn, flags, pitch)
    case 3: engfunc(EngFunc_EmitSound, id, channel, hacha_hit3, volume, attn, flags, pitch)
    }

    return FMRES_SUPERCEDE;
    }
    }
    if (equal(sample[14], "sta", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, hacha_stab, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    }
    }

    if(Machete[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;
    }
    }
    }

    if(Samurai[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;
    }
    }
    }

    if(Motocierra[id])
    {

    if (equal(sample[8], "kni", 3))
    {
    if (equal(sample[14], "sla", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, motocierra_slash, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if(equal(sample,"weapons/knife_deploy1.wav"))
    {
    engfunc(EngFunc_EmitSound, id, channel, motocierra_deploy, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    if (equal(sample[14], "hit", 3))
    {
    if (sample[17] == 'w')
    {
    engfunc(EngFunc_EmitSound, id, channel, motocierra_wall, volume, attn, flags, pitch)
    return FMRES_SUPERCEDE;
    }
    else
    {
    switch (random_num(1, 2))
    {
    case 1: engfunc(EngFunc_EmitSound, id, channel, motocierra_hit1, volume, attn, flags, pitch)
    case 2: engfunc(EngFunc_EmitSound, id, channel, motocierra_hit2, volume, attn, flags, pitch)

    }
    return FMRES_SUPERCEDE;
    }
    }
    if (equal(sample[14], "sta", 3))
    {
    engfunc(EngFunc_EmitSound, id, channel, motocierra_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) == wId) ExecuteHamB(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(id, ammount)
    {
    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(id, ammount)
    {
    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(Item, charsmax(Item),"\[email protected] \r# \yShop Menu")
    new Menu = menu_create(Item, "TiendaHandler111")

    formatex(Item, charsmax(Item),"\wFlash Bombasi \y[\r6 TL\y]")
    menu_additem(Menu, Item, "1")

    formatex(Item, charsmax(Item),"\wEl Bombasi \y[\r10 TL\y]")
    menu_additem(Menu, Item, "2")

    formatex(Item, charsmax(Item),"\w3 Adet El Bombasi \y[\r20 TL\y]")
    menu_additem(Menu, Item, "3")

    formatex(Item, charsmax(Item),"\wKalkan \y[\r25 TL\y] \d(10 Saniye)")
    menu_additem(Menu, Item, "4")

    formatex(Item, charsmax(Item),"\wGlock \y[\rTL TL\y] \d(20 Mermili)")
    menu_additem(Menu, Item, "5")

    formatex(Item, charsmax(Item),"\wUsp \y[\rTL TL\y] \d(12 Mermili)")
    menu_additem(Menu, Item, "6")

    formatex(Item, charsmax(Item),"\wM4A1 \y[\r100 TL\y] \d(30 Mermili)")
    menu_additem(Menu, Item, "7")

    menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
    menu_display(id, Menu,0)
    }
    }




    public TiendaHandler111(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }
    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    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[^[email protected]^3] ^1Marketten ^3[ ^4Flash Bombasi ^3] ^1Satin Aldin")
    give_item(id, "weapon_flashbang")
    give_item(id, "weapon_flashbang")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    Ronda[id] = 0
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^4El BomBasi ^3] ^1Satin Aldin")
    give_item(id, "weapon_hegrenade")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    Ronda[id] = 0
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^43 Adet El BomBasi ^3] ^1Satin Aldin")
    give_item(id,"weapon_hegrenade")
    cs_set_user_bpammo(id, CSW_HEGRENADE, 3)
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    Ronda[id] = 0
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^410 Saniyelik Kalkan ^3] ^1Satin Aldin")
    give_item(id,"weapon_shield")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id)
    set_task(10.0,"SilahKapat",id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^4Glock ^3] ^1Satin Aldin")
    give_item(id, "weapon_glock18")
    cs_set_user_bpammo(id, CSW_GLOCK18, 1)
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^4USP ^3] ^1Satin Aldin")
    give_item(id, "weapon_usp")
    cs_set_user_bpammo(id, CSW_USP, 1)
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Marketten ^3[ ^4COLT ^3] ^1Satin Aldin")
    give_item(id,"weapon_m4a1")
    emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    IlkMenu(id)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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) == 1 )
    {

    new menu, Menuz[512]

    formatex(Menuz, charsmax(Menuz), "\r @JeanGaming.NET GaminG \w` \yJaiLBreaK \r# \ySince \w` \y2009")
    menu = menu_create(Menuz, "amenu_devam")



    if(engel1[id] == 0) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yMarket")
    menu_additem(menu, Menuz, "2")
    } else {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yMarket \r[ Kullandiniz ]")
    menu_additem(menu, Menuz, "2")
    }
    if(get_pcvar_num(envantermenu) == 1) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yEnvanter Menu")
    menu_additem(menu, Menuz, "5")
    }
    if(get_pcvar_num(meslekmenu) == 1) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yMeslek Menu")
    menu_additem(menu, Menuz, "8")
    }
    if(access(id,ADMIN_RESERVATION)) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \ySlot Menu")
    menu_additem(menu, Menuz, "4")
    } else {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \ySlot Menu \w[ Sadece Slotlara Ozel ]")
    menu_additem(menu, Menuz, "7")
    }
    if(access(id,ADMIN_TLVIP)) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yVip - Elit Menu")
    menu_additem(menu, Menuz, "10")
    } else {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yVip - Elit Menu \w[ Sadece Vip - Elit Ozel ]")
    menu_additem(menu, Menuz, "11")
    }
    if(get_pcvar_num(transfer) == 1) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yTL Transfer")
    menu_additem(menu, Menuz, "9")
    }
    if(get_pcvar_num(ts3gir) == 1) {
    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yGorev Menu")
    menu_additem(menu, Menuz, "6")
    }



    formatex(Menuz, charsmax(Menuz), "\[email protected]\r# \yCikis")

    menu_setprop(menu,MPROP_EXITNAME,Menuz)

    menu_display(id, menu, 0)
    }


    }
    }




    public amenu_devam(id,amenu,item)
    {
    if(item == MENU_EXIT)
    {
    menu_destroy(amenu)
    return PLUGIN_HANDLED
    }
    new acces, callback, data[6], iname[64]
    menu_item_getinfo(amenu, item, acces, data, 5, iname, 63,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)
    {
    gorev_menu(id)
    }
    else if(str_to_num(data) == 7)
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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)
    {
    VmenuKomut(id)
    }
    else if(str_to_num(data) == 9)
    {
    transfer_anamenu(id)
    }
    else if(str_to_num(data) == 11)
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Menu Vip - Elit Yetkililere Ozeldir Viplik Almak Icin say'a ^3[^4 /ts3 ^3] ^1Yaziniz.")
    IlkMenu(id)
    }
    else if(str_to_num(data) == 8)
    {
    ShowMenu(id)

    }
    menu_destroy(amenu)
    return PLUGIN_HANDLED
    }
    public VmenuKomut(id){
    if(get_user_flags(id) & ADMIN_TLVIP && !(menukullanimvip[id])){
    VipMenu(id);
    }
    else if(menukullanimvip[id]){
    ColorChat(id,GREEN, "^3[^[email protected]^3] ^1Vip - Elit Menu'ye Girmek Icin ^3[ ^4Diger Gunu ^3] ^1Beklemeniz Gerek.");
    }
    else{
    ColorChat(id,NORMAL, "^4VIP Menu^1yu kullanabilmeniz icin ^4VIP^1 olmaniz gerekir.");
    return PLUGIN_HANDLED;
    }
    return PLUGIN_HANDLED;
    }
    public VipMenu(id)
    {
    if(is_user_alive(id) && !(menukullanimvip[id])){
    new menu = menu_create("\yJailBreak: \wVIP Menu:", "VipMenu_devam");

    menu_additem(menu, "\wUcretsiz Redbull \y[\r30 Saniye\y] ", "1", 0);
    menu_additem(menu, "\w+ 200 ARMOR AL","2", 0);
    menu_additem(menu, "\wYercekimi Azalt -\r(300) \y[\r1 Dk\y]", "3", 0);
    menu_additem(menu, "\w1 Adet Bomba \y[\rRastgele\y]", "5", 0);
    menu_additem(menu, "\wTekrar Dogma Sansi\y[\r15 TL\y] ", "6", 0);

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    }
    }


    public VipMenu_devam(id, menu, item) {
    if(item == MENU_EXIT){
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    new key = str_to_num(data);

    switch(key){
    case 1:{
    set_user_gravity(id,0.5)
    set_task(1.0,"plus_hp",id,"",0,"b")
    set_task(30.0,"redbull_over",id)
    set_user_maxspeed(id,650.0)
    menukullanimvip[id] = true;

    ColorChat(id,RED,"^3[^[email protected]^3] ^1Vip Menu 'den ^3[ ^4 Ucretsiz Redbull ^3] ^4Aldiniz^1.")
    }
    case 2:{
    set_user_armor(id,get_user_armor(id) + 200);
    menukullanimvip[id] = true;

    ColorChat(id,RED,"^3[^[email protected]^3] ^1Vip Menu 'den ^3[ ^4 +200 ARMOR ^3] ^4Aldiniz^1.")
    }
    case 3:{
    set_user_gravity(id,0.300)
    set_task(60.0,"gravity_off",id)

    menukullanimvip[id] = true;

    ColorChat(id,RED,"^3[^[email protected]^3] ^1Vip Menu 'den ^3[ ^4 Yercekimi ^3] ^4Aldiniz^1.")
    }
    case 5: {

    bombaver(id)
    menukullanimvip[id] = true;
    ColorChat(id,RED,"^3[^[email protected]^3] ^1Vip Menu 'den ^3[ ^4 Rastgele Bomba ^3] ^4Aldiniz^1.")

    }
    case 6: {
    new para = jb_get_user_packs(id)
    new ucret = 15
    if(para >= ucret) {
    jb_set_user_packs(id,(para-ucret))
    yenidendog(id);
    menukullanimvip[id] = true;
    ColorChat(id,RED,"^3[^[email protected]^3] ^1Vip Menu 'den ^3[ ^4Yeniden Dogma Hakki^3] ^4Aldiniz^1.")
    }
    else
    {
    ColorChat(id,RED,"^1Yeterli^4 TL^3 Tasimiyorsunuz^1!")

    }
    }
    }
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }


    public yenidendog(id)
    {
    if(!is_user_alive(id) && !(menukullanimvip[id])){
    new sans = random_num(1,3)
    switch(sans)
    {
    case 1:
    {
    ExecuteHamB(Ham_CS_RoundRespawn, id)
    ColorChat(id,GREEN,"^3Tebrikler Yeniden ^4Dogdunuz!")
    menukullanimvip[id] = true;
    }
    case 2:
    {
    menukullanimvip[id] = true;

    return PLUGIN_HANDLED
    }
    }

    }
    return PLUGIN_HANDLED

    }


    public bombaver(id)
    {
    if(is_user_alive(id) && !(menukullanimvip[id])){
    new sans = random_num(1,3)
    switch(sans)
    {
    case 1:
    {
    give_item(id,"weapon_hegrenade")
    cs_set_user_bpammo(id,CSW_HEGRENADE,1)
    menukullanimvip[id] = true;

    }
    case 2:
    {
    give_item(id,"weapon_flashbang")
    cs_set_user_bpammo(id,CSW_FLASHBANG,1)
    menukullanimvip[id] = true;

    }
    case 3:
    {
    give_item(id,"weapon_smokegrenade")
    cs_set_user_bpammo(id,CSW_SMOKEGRENADE,1)
    menukullanimvip[id] = true;

    }
    }
    }
    }
    public noclip_off(id)
    {
    set_user_noclip(id,0)
    remove_task(id)

    }
    public gravity_off(id)
    {
    set_user_gravity(id,1.0)
    remove_task(id)

    }
    public plus_hp(id)
    {
    set_user_health(id,get_user_health(id)+1)
    }


    public redbull_over(id)
    {
    if(is_user_connected(id))
    {
    set_user_gravity(id,1.0)
    set_user_maxspeed(id,320.0)
    set_user_gravity(id,1.0)
    remove_task(id)
    }
    }
    public SlotMenu(id) {
    if (g_kullandim[id] && is_user_alive(id)) {

    new menu = menu_create("\[email protected] \r# \ySlot Menusu", "slotmenu_gir")

    menu_additem(menu, "\w150 HP ve 150 Armor", "1", 0);
    menu_additem(menu, "\wYercekimi \r( \d450 Gravity \r)", "3", 0);
    menu_additem(menu, "\wGorunmezlik \r( \dSaydamlik \r)", "2", 0);
    menu_additem(menu, "\w2x Hiz ", "4", 0);
    menu_additem(menu, "\wMermi Sekmeme","5", 0);

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    } else {

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slotmenuyu Tekrar Kullanmak Icin ^4Diger Gunu ^3Beklemen ^1Gerek")
    }
    return PLUGIN_HANDLED
    }


    public slotmenu_gir(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
    new key = str_to_num(data);
    new adminismi[32]
    get_user_name(id,adminismi,31)

    switch(key)
    {
    case 1: {
    set_user_health(id, 150);
    set_user_armor(id, 150);
    g_kullandim[id] = false

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slot Menuden ^3[ ^4Hp Ve Armor ^3] ^1Aldiniz.")
    }
    case 2: {
    fm_set_user_rendering(id, kRenderFxNone, 50, 50, 50, kRenderTransAdd, 50);
    set_user_footsteps(id, 1);
    g_kullandim[id] = false

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slot Menuden ^3[ ^4Saydamlik ^3] ^1Aldiniz.")
    }
    case 3: {
    set_user_gravity(id, 0.450);
    g_kullandim[id] = false

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slot Menuden ^3[ ^4Yercekimi ^3] ^1Aldiniz.")
    }
    case 4: {
    set_user_maxspeed(id,350.0)
    g_kullandim[id] = false

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slot Menuden ^3[ ^4Hizli Yurume ^3] ^1Aldiniz.")
    }
    case 5: {
    mermisekmeme[id] = true;
    g_kullandim[id] = false

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Slot Menuden ^3[ ^4Mermi Sekmeme ^3] ^1Aldiniz.")
    }
    }
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }


    public tlveral(id)
    {
    if(get_user_team(id) == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Sadece gardiyanlar ^1[^4 TL ^3] ^1verip - alma yapabilir.")
    return PLUGIN_HANDLED;
    }
    static opcion[64]

    formatex(opcion, charsmax(opcion),"\y[@JeanGaming.NET] TL Yoneticisi", LANG_PLAYER)
    new iMenu = menu_create(opcion, "menu")

    formatex(opcion, charsmax(opcion),"\w[@JeanGaming.NET] TL Ver", LANG_PLAYER)
    menu_additem(iMenu, opcion, "1")

    formatex(opcion, charsmax(opcion),"\w[@JeanGaming.NET] TL Al", LANG_PLAYER)
    menu_additem(iMenu, opcion, "2")

    menu_setprop(iMenu, MPROP_EXIT, MEXIT_ALL)
    menu_display(id, iMenu, 0)


    return PLUGIN_HANDLED;
    }


    public menu(id, menu, item)
    {

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

    new Data[6], Name[64]
    new Access, Callback

    menu_item_getinfo(menu, item, Access, Data,5, Name, 63, Callback)

    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[^[email protected]^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 menu, Menuz[512]
    formatex(Menuz, charsmax(Menuz), "\[email protected] \r# \yIsyan Menu")
    menu = menu_create(Menuz, "isyan_menu_devam")

    formatex(Menuz, charsmax(Menuz), "\wHp Satin Al \y[\r15 TL\y] \d(+100 HP)")
    menu_additem(menu, Menuz, "1")
    formatex(Menuz, charsmax(Menuz), "\wSaydam Gorunmezlik \y[\r20 TL\y] \d(5 Saniye) ")
    menu_additem(menu, Menuz, "2")
    formatex(Menuz, charsmax(Menuz), "\wArkadasini Revle \y[\r20 TL\y]")
    menu_additem(menu, Menuz, "3")
    formatex(Menuz, charsmax(Menuz), "\wYuksek Ziplama \y[\r25 TL\y] \d(400 Gravity)")
    menu_additem(menu, Menuz, "4")
    formatex(Menuz, charsmax(Menuz), "\wHizli Yurume \y[\r25 TL\y]")
    menu_additem(menu, Menuz, "5")
    formatex(Menuz, charsmax(Menuz), "\wGodmode \y[\r30 TL\y] \d(3 Saniye)")
    menu_additem(menu, Menuz, "6")
    formatex(Menuz, charsmax(Menuz), "\wDeprem Baslat \y[\r30 TL\y]")
    menu_additem(menu, Menuz, "7")
    formatex(Menuz, charsmax(Menuz), "\wUyusturucu \y[\r30 TL\y]")
    menu_additem(menu, Menuz, "8")
    formatex(Menuz, charsmax(Menuz), "\wElektrikleri Kes \y[\r35 TL\y]")
    menu_additem(menu, Menuz, "9")

    formatex(Menuz, charsmax(Menuz), "\yCikis")
    menu_setprop(menu,MPROP_EXITNAME,Menuz)

    menu_display(id, menu, 0)

    return PLUGIN_HANDLED;
    }


    public isyan_menu_devam(id, menu, item)
    {

    if (item == MENU_EXIT)
    {
    menu_destroy(menu)

    return PLUGIN_CONTINUE
    }

    new data[6], iName[64]
    new access, callback
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)

    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(id, get_user_health(id) + 100)
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Isyan Menuden ^3[^4 100 HP ^3] ^3Satin Aldiniz.")
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    }
    }

    case 2: {
    if(jb_get_user_packs(id) < get_pcvar_num(GorunmezTL)) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    return PLUGIN_HANDLED
    }
    jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(GorunmezTL))
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^15 Saniye Boyunca Gorunmezsin ^4Pelerin Varsa Isim Degistir.")
    Gorunmezlik(id)
    }
    case 3: {
    if(jb_get_user_packs(id) < 20) {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Isyan Menuden ^3[ ^4Yuksek Ziplama ^3] ^1Satin Aldiniz.")
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Isyan Menuden ^3[ ^4Hizli Yurume ^3] ^1Satin Aldiniz.")
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    }
    }
    case 7: {
    if(!is_user_alive(id)) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Deprem Yaratmak icin ^4canli ^1olmaniz gerek..")
    return PLUGIN_HANDLED
    }
    if(jb_get_user_packs(id) < get_pcvar_num(DepremTL)) {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^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(DepremTL))

    }
    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(id, get_user_health(id) + 150)
    set_user_maxspeed(id,375.0)
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    }
    }
    case 9: {
    if(jb_get_user_packs(id) < get_pcvar_num(ElektrikTL)) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    return PLUGIN_HANDLED
    }
    jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(ElektrikTL))
    set_lights("a")
    set_task(8.0,"elektrikAc")
    new name[33]
    get_user_name(id,name,32)
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^4Elektrikleri ^1Kesti",name)
    }
    }
    menu_destroy(menu);
    return PLUGIN_HANDLED;

    }


    public Sarsinti(TaskID)
    {
    for(new id = 1; id < 33; id++)
    {
    if(is_user_connected(id) && is_user_alive(id) && sarsiliyor)
    {
    message_begin(MSG_ONE_UNRELIABLE, get_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(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    return PLUGIN_HANDLED
    }


    public menu_handlers(id, menu, item)
    {

    if( item == MENU_EXIT )
    {
    menu_destroy(menu);

    return PLUGIN_HANDLED;
    }


    new data[6], szName[64];
    new access, callback;

    menu_item_getinfo(menu, item, access, data,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[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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,25 5,kRenderNormal,0)
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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,16 2,254,kRenderNormal,0)
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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,0, 150, 255,kRenderNormal,0)
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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,25 5,0,kRenderNormal,0)
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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[^[email protected]^3] ^3%s ^1Nickli Yetkili ^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("\[email protected] \r# \yTL 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(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    return PLUGIN_HANDLED
    }


    public transfer_case(id, menu, item)
    {

    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
    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 i = 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,ca llback)
    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(id, jb_get_user_packs(id) - 10)
    jb_set_user_packs(tid, jb_get_user_packs(tid) + 10)

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisiye ^3[^4 10 ^3] ^1TL Transfer Ettiniz.",ad)
    ColorChat(tid,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisi Size ^3[^4 10 ^3] ^1TL TRANSFER ETTI.",name)
    ananzaaxd[id] = 0
    }
    else {

    ColorChat(id,GREEN ,"^3[^[email protected]^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(id, jb_get_user_packs(id) - 20 )
    jb_set_user_packs(tid, jb_get_user_packs(tid) + 20 )
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisiye ^3[^4 20 ^3] ^1TL Transfer Ettiniz.",ad)
    ColorChat(tid,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisi Size ^3[^4 20 ^3] ^1TL TRANSFER ETTI.",name)
    ananzaaxd[id] = 0
    }
    else {

    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^3%s ^1Isimli Kisiye ^3[^4 30 ^3] ^1TL Transfer Ettiniz.",ad)
    ColorChat(tid,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisi Size ^3[^4 30 ^3] ^1TL TRANSFER ETTI.",name)
    ananzaaxd[id] = 0
    }
    else {

    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^3%s ^1Isimli Kisiye ^3[^4 40 ^3] ^1TL Transfer Ettiniz.",ad)
    ColorChat(tid,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisi Size ^3[^4 40 ^3] ^1TL TRANSFER ETTI.",name)
    ananzaaxd[id] = 0
    }
    else {

    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^3%s ^1Isimli Kisiye ^3[^4 50 ^3] ^1TL Transfer Ettiniz.",ad)
    ColorChat(tid,GREEN ,"^3[^[email protected]^3] ^3%s ^1Isimli Kisi Size ^3[^4 50 ^3] ^1TL TRANSFER ETTI.",name)
    ananzaaxd[id] = 0

    }
    else {

    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Bulunmamaktadir.")
    ananzaaxd[id] = 0

    }
    }

    return PLUGIN_HANDLED
    }


    public Gorunmezlik(id)
    {
    set_user_rendering(id, kRenderFxGlowShell, 255, 255, 0, kRenderTransAlpha, 0)
    set_task(5.0,"Kapat",id)
    }
    public Kapat(id)
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3]^3 5 Saniye ^1Boyunca Aktif Olan ^3Gorunmezlik ^1Kapatildi.")
    set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255)
    }


    public ctucur(id)
    {

    new ad[32],sznum[6]
    new menu = menu_create("\[email protected] \r# \yCT Gom","ctucur_devam")
    for(new i = 1;i<=get_maxplayers();i++)
    if(is_user_connected(i) && get_user_team(i) == 2 && is_user_alive(i))
    {
    num_to_str(i,sznum,5)
    get_user_name(i,ad,31)
    menu_additem(menu,ad,sznum)
    }
    menu_display(id,menu, 0)
    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,ca llback)
    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[^[email protected]^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyani Ucurdu.",name,ad)


    return PLUGIN_HANDLED
    }


    public ShowMenu(id) {
    new menu = menu_create("\[email protected] \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,"[TL Hirsizi] - \dHer \r10 \dDakikada 15 \dTL Kazanirsin","3")
    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[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginiz Zaten ^3[^4Doktor^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] = 1;
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginizi ^3[^4Doktor^3] ^1Olarak Sectiniz !")
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Can vermek istediginiz kisiye dogru bakarak ^3[ ^4E ^3] tusuna basin.")

    }
    case 2:{
    if(timeout[id]) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 2) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginiz Zaten ^3[^4Avci^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] = 2;
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginizi ^3[^4Avci^3] ^1Olarak Sectiniz !")
    }
    case 3:{
    if(timeout[id]) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 3) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginiz Zaten ^3[^4TL Hirsizi^3] !")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 4) remove_task(id+513)
    timeout[id] = true;
    meslek[id] = 3;
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginizi ^3[^4TL Hirsizi^3] ^1Olarak Sectiniz !")
    set_task(600.0,"GiveTL2",id+600,_,_,"b")
    }
    case 4:{
    if(timeout[id]) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 4) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginiz Zaten ^3[^4Speedy Gonzales^3] !")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 3) remove_task(id+600)
    timeout[id] = true;
    meslek[id] = 4;
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginizi ^3[^4Speedy Gonzales^3] ^1Olarak Sectiniz !")
    set_user_maxspeed(id, 350.0)
    }
    case 5: {
    if(timeout[id]) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 5) {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^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[^[email protected]^3] ^1En az bir el dolmadan meslek degistiremezsiniz.")
    return PLUGIN_HANDLED
    }
    if(meslek[id] == 6) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginiz Zaten ^3[^4Terminator^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] = 6;
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Mesleginizi ^3[^4Terminator^3] ^1Olarak Sectiniz !")
    set_user_health(id, 150)
    set_user_armor(id, 150)
    }
    }
    menu_destroy(menu)
    return PLUGIN_HANDLED
    }


    public HookCurWeapon2(id) {
    if(hizver2[id]) {
    set_user_maxspeed(id, 350.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(id, 150);
    set_user_armor(id, 150);
    }
    }


    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 GiveTL(taskid) {
    new id = taskid - 513;
    jb_set_user_packs(id,jb_get_user_packs(id) + 15)
    ColorChat(id,GREEN ,"^3[^[email protected]^3]^3 20 dakikadir ^1oyunda oldugunuz icin. ^3[^415 TL^3] ^1kazandiniz !")
    }
    public GiveTL2(taskid) {
    new id = taskid - 600;
    jb_set_user_packs(id,jb_get_user_packs(id) + 15)
    ColorChat(id,GREEN ,"^3[^[email protected]^3]^3 20 dakikadir ^1oyunda oldugunuz icin. ^3[^415 TL^3] ^1kazandiniz !")
    }
    public eDeath2() {
    new killer = read_data(1);
    new victim = read_data(2);

    if(get_user_team(killer) == 1 && get_user_team(victim) == 2 && meslek[killer] == 2) {
    jb_set_user_packs(killer,jb_get_user_packs(killer) + 10)

    ColorChat(killer,GREEN ,"^3[^[email protected]^3] ^1Bir CT oldurdugunuz icin ^3[^410 TL^3] ^1kazandiniz !")
    }
    }
    public fw_EmitSound2( id, iChannel, szSound[], Float:flVol, Float:flAtt, iFlags, iPitch ) {
    if( equal( szSound, "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[^[email protected]^3] ^1Hedef Cok Uzakta !")
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1HEALTHKIT = %d/2",healtime2[id])
    }
    else {
    if(!healtime2[id]) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Hakkiniz Doldu Sonraki Gunu Bekleyin. !")
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^3] ^1Hedefe ^3[^4 20 HP^3] Verildi !")
    }
    }
    }
    }
    }




    public transfer_anamenu(id) {

    new menu = menu_create("\[email protected] \r# \yTL Menusu", "transfer_menu_gir")

    menu_additem(menu, "\[email protected] \r# \yTL Aktar", "1", 0);
    menu_additem(menu, "\[email protected] \r# \yMaddi Durumlar", "2", 0);

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    }


    public transfer_menu_gir(id, menu, item) {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
    new key = str_to_num(data);
    new adminismi[32]
    get_user_name(id,adminismi,31)

    switch(key)
    {
    case 1: {
    transfer_menu(id)
    }
    case 2: {
    maddi_durum(id)
    }
    }

    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }


    public envanter_shop_menu(id) {

    new menu = menu_create("\[email protected] \r# \yIsyan - Shop Menuleri", "isyan_shop_menu_gir")

    menu_additem(menu, "\[email protected] \r# \yCephane Menu", "1", 0);
    menu_additem(menu, "\[email protected] \r# \yIsyan Menu", "2", 0);
    menu_additem(menu, "\[email protected] \r# \ySaldir Menu", "3", 0);

    menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    menu_display(id, menu, 0);
    }


    public isyan_shop_menu_gir(id, menu, item) {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }

    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);
    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[^[email protected]^3] ^1Godmode Suresi ^3Bitti")
    }


    public saldir_menu(id) {
    if(is_user_alive(id))
    {

    static Item[64]

    formatex(Item, charsmax(Item),"\[email protected] \r# \yCT Saldir Menu")
    new Menu = menu_create(Item, "saldir_menu_gir")

    formatex(Item, charsmax(Item),"\wCT Kor Et \y[\r30 TL\y] \d(Tum CT )")
    menu_additem(Menu, Item, "1")

    formatex(Item, charsmax(Item),"\wCT Godu Kapa \y[\r70 TL\y] \d(Tum CT)")
    menu_additem(Menu, Item, "6")

    formatex(Item, charsmax(Item),"\wCT Disarmla \y[\r35 TL\y] \d(Sadece 1 CT)")
    menu_additem(Menu, Item, "2")

    formatex(Item, charsmax(Item),"\wCT Yere Gom \y[\r65 TL\y] \d(Sadece 1 CT)")
    menu_additem(Menu, Item, "3")

    formatex(Item, charsmax(Item),"\wCT Hp Azaltma \y[\r50 TL\y] \d(Sadece 1 CT)")
    menu_additem(Menu, Item, "4")

    formatex(Item, charsmax(Item),"\wCT UberSlap \y[\r45 TL\y] \d(Sadece 1 CT)")
    menu_additem(Menu, Item, "5")

    menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
    menu_display(id, Menu,0)
    }
    }




    public saldir_menu_gir(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }
    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    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[^[email protected]^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[^[email protected]^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)
    gorev5[id] = 1
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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[^[email protected]^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[^[email protected]^3] ^1Yeterli ^3[ ^4TL ^3] ^1' Niz Yok.")

    IlkMenu(id)
    }
    }
    case 6:
    {

    if (g_jbpacks[id] >= 70)
    {
    jb_set_user_packs(id,jb_get_user_packs (id) - 70)
    server_cmd("amx_godmode @CT 0")
    set_user_health(id,100)
    if(is_user_alive(id) && get_user_team(id) == 2) {
    set_user_health(id, 100)
    }
    ColorChat(0,GREEN ,"^3[^[email protected]^3] ^1Gardiyanlarin GodMode Kapandi.")
    }
    else
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^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("\[email protected] \r# \yArkadasini Revle","devameteleman")
    for(new i = 1;i<=get_maxplayers();i++)
    if(is_user_connected(i) && get_user_team(i) == 1 && !is_user_alive(i))
    {
    num_to_str(i,sznum,5)
    get_user_name(i,ad,31)
    menu_additem(menu,ad,sznum)
    }
    menu_display(id,menu, 0)
    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,ca llback)
    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("\[email protected] \r# \yCT Gom","ctgom_devam")
    for(new i = 1;i<=get_maxplayers();i++)
    if(is_user_connected(i) && get_user_team(i) == 2 && is_user_alive(i))
    {
    num_to_str(i,sznum,5)
    get_user_name(i,ad,31)
    menu_additem(menu,ad,sznum)
    }
    menu_display(id,menu, 0)
    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,ca llback)
    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[^[email protected]^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("\[email protected] \r# \yCT Disarla","ctdisarm_devam")
    for(new i = 1;i<=get_maxplayers();i++)
    if(is_user_connected(i) && get_user_team(i) == 2 && is_user_alive(i))
    {
    num_to_str(i,sznum,5)
    get_user_name(i,ad,31)
    menu_additem(menu,ad,sznum)
    }
    menu_display(id,menu, 0)
    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,ca llback)
    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[^[email protected]^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyani ^3Kor Etti.",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(entity, pev_owner);

    if (mermisekmeme[id]) {
    pev(id, pev_punchangle, cl_pushangle[id]);
    return HAM_IGNORED;
    }
    return HAM_IGNORED;
    }
    public fw_Weapon_PrimaryAttack_Post(entity){
    new id = pev(entity, pev_owner);

    if (mermisekmeme[id]) {
    new Float: push[3];
    pev(id, pev_punchangle, push);
    xs_vec_sub(push, cl_pushangle[id], push);
    xs_vec_mul_scalar(push, 0.0, push);
    xs_vec_add(push, cl_pushangle[id], push);
    set_pev(id, pev_punchangle, push);
    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_rendering( id, _, 0, 0, 0, _, 0 );
    set_user_footsteps(id, 0);
    mermisekmeme[id] = false;
    Kanverdim[ id ] = false;
    menukullanimvip[id] = false;

    }
    }
    public hpdusur(id)
    {

    new ad[32],sznum[6]
    new menu = menu_create("\[email protected] \r# \yHP Dusur","hpdusur_devam")
    for(new i = 1;i<=get_maxplayers();i++)
    if(is_user_connected(i) && get_user_team(i) == 2 && is_user_alive(i))
    {
    num_to_str(i,sznum,5)
    get_user_name(i,ad,31)
    menu_additem(menu,ad,sznum)
    }
    menu_display(id,menu, 0)
    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,ca llback)
    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[^[email protected]^3] ^3%s ^1Nickli Mahkum ^4%s ^1Nickli Gardiyanin ^3[^4 50 HP ^3] ^1'sini Dusurdu.",name,ad)


    return PLUGIN_HANDLED
    }


    public gorev_menu(id) {
    if(is_user_alive(id))
    {

    static Item[64]

    formatex(Item, charsmax(Item),"\[email protected] \r# \yGorev Menu")
    new Menu = menu_create(Item, "gorev_menu_gir")

    if(gorev1[id] == 0) {
    formatex(Item, charsmax(Item),"\wMarketten Testere Satin Al! \y[\r5 TL\y]")
    menu_additem(Menu, Item, "1")
    }
    if(gorev1[id] == 1) {
    formatex(Item, charsmax(Item),"\wOdulunu Almak Icin 1'e Bas \y[\r5 TL\y]")
    menu_additem(Menu, Item, "1")
    }
    if(gorev1[id] == 2) {
    formatex(Item, charsmax(Item),"\wGorev Tamamlandi!")
    menu_additem(Menu, Item, "1")
    }

    if(!access(id,ADMIN_LEVEL_G)) {
    formatex(Item, charsmax(Item),"\wTs3 Adresimize Baglanarak Slotluk Al \y[\r10 TL\y]")
    menu_additem(Menu, Item, "4")
    }
    if(access(id,ADMIN_LEVEL_G) && gorev2[id] == 0) {
    formatex(Item, charsmax(Item),"\wOdulunu Almak Icin 2'ye Bas \y[\r10 TL\y]")
    menu_additem(Menu, Item, "6")
    }
    if(gorev2[id] == 1) {
    formatex(Item, charsmax(Item),"\wGorev Tamamlandi!")
    menu_additem(Menu, Item, "7")
    }

    if(oldurme2sayi[id] < 10) {
    formatex(Item, charsmax(Item),"\wFF'de 10 Arkadasini Oldur [%i/10] \y[\r15 TL\y]",oldurme2sayi[id])
    menu_additem(Menu, Item, "3")
    }
    if(oldurme2sayi[id] == 10 && gorev3[id] == 0) {
    formatex(Item, charsmax(Item),"\wOdulunu Almak Icin 3'e Bas \y[\r15 TL\y]")
    menu_additem(Menu, Item, "3")
    }
    if(gorev3[id] == 1) {
    formatex(Item, charsmax(Item),"\wGorev Tamamlandi!")
    menu_additem(Menu, Item, "3")
    }

    if(oldurmesayi[id] < 5) {
    formatex(Item, charsmax(Item),"\wGardiyani 5 Kez Oldur [%i/5] \y[\r20 TL\y]",oldurmesayi[id])
    menu_additem(Menu, Item, "2")
    }
    if(oldurmesayi[id] == 5 && gorev4[id] == 0) {
    formatex(Item, charsmax(Item),"\wOdulunu Almak Icin 4'e Bas \y[\r20 TL\y]")
    menu_additem(Menu, Item, "2")
    }
    if(gorev4[id] == 1) {
    formatex(Item, charsmax(Item),"\wGorev Tamamlandi!")
    menu_additem(Menu, Item, "2")
    }

    if(gorev5[id] == 0) {
    formatex(Item, charsmax(Item),"\w1 Gardiyani Saldir Menuden Gom \y[\r25 TL\y]")
    menu_additem(Menu, Item, "5")
    }
    if(gorev5[id] == 1) {
    formatex(Item, charsmax(Item),"\wOdulunu Almak Icin 5'e Bas \y[\r25 TL\y]")
    menu_additem(Menu, Item, "5")
    }
    if(gorev5[id] == 2) {
    formatex(Item, charsmax(Item),"\wGorev Tamamlandi!")
    menu_additem(Menu, Item, "5")
    }

    menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
    menu_display(id, Menu,0)
    }
    }




    public gorev_menu_gir(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }
    new data[6], iName[64];
    new access, callback;
    menu_item_getinfo(menu, item, access, data,5, iName, 63, callback);

    new key = str_to_num(data);
    switch(key)
    {
    case 1: {
    if(gorev1[id] == 0) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Odulu Almak Icin Gorevi Tamamlamalisin..")
    }
    if(gorev1[id] == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Gorevi Tamamladigin Icin 5TL Kazandin..")
    jb_set_user_packs(id,jb_get_user_packs (id) + 5)
    gorev1[id] = 2
    }
    if(gorev1[id] == 2) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Gorevi Basariyla Tamamladin Diger Gorevleri Dene..")
    } }

    case 2: {
    if(oldurmesayi[id] <= 5) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Odulu Almak Icin Gorevi Tamamlamalisin..")
    }
    if(oldurmesayi[id] == 5) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Gorevi Tamamladigin Icin 20TL Kazandin..")
    jb_set_user_packs(id,jb_get_user_packs (id) + 20)
    gorev4[id] = 1
    }
    if(gorev4[id] == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Gorevi Basariyla Tamamladin Diger Gorevleri Dene..")
    } }

    case 3: {
    if(oldurme2sayi[id] <= 10) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Odulu Almak Icin Gorevi Tamamlamalisin..")
    }
    if(oldurme2sayi[id] == 10) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Gorevi Tamamladigin Icin 15TL Kazandin..")
    jb_set_user_packs(id,jb_get_user_packs (id) + 15)
    gorev3[id] = 1
    }
    if(gorev3[id] == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Gorevi Basariyla Tamamladin Diger Gorevleri Dene..")
    } }

    case 4: {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Odulu Almak Icin Gorevi Tamamlamalisin..")
    }

    case 5:
    {
    if(gorev5[id] == 0) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Odulu Almak Icin Gorevi Tamamlamalisin..")
    }
    if(gorev5[id] == 1) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Gorevi Tamamladigin Icin 25TL Kazandin..")
    jb_set_user_packs(id,jb_get_user_packs (id) + 25)
    gorev5[id] = 2
    }
    if(gorev5[id] == 2) {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Gorevi Basariyla Tamamladin Diger Gorevleri Dene..")
    } }

    case 6:
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Gorevi Tamamladigin Icin 10TL Kazandin..")
    jb_set_user_packs(id,jb_get_user_packs (id) + 10)
    gorev2[id] = 1
    }

    case 7:
    {
    ColorChat(id,GREEN ,"^3[^[email protected]^3] ^1Bu Gorevi Basariyla Tamamladin Diger Gorevleri Dene..")
    }
    }
    menu_destroy(menu);
    return PLUGIN_HANDLED;
    }


    public event_msg()
    {
    new olduren = read_data(1);
    new olen = read_data(2);

    if(olduren == olen) {
    return PLUGIN_HANDLED
    }

    if(get_user_team(olduren) == 1 && get_user_team(olen) == 1)
    oldurme2sayi[olduren] += 1;
    if(get_user_team(olduren) == 1 && get_user_team(olen) == 2)
    oldurmesayi[olduren] += 1;

    return PLUGIN_CONTINUE;
    }


    public maddi_durum(id)
    {
    static opcion[64]

    formatex(opcion, charsmax(opcion),"\yOyuncu Secin")
    new iMenu = menu_create(opcion, "choose1")

    new players[32], pnum, tempid
    new szName[32], szTempid[10]

    get_players(players, pnum, "a")

    for( new i; i<pnum; i++ )
    {
    tempid = players[i]

    get_user_name(tempid, szName, 31)
    num_to_str(tempid, szTempid, 9)

    formatex(opcion, charsmax(opcion), "\y[ %s ] \r[ %i ] TL" ,szName, g_jbpacks[tempid])
    menu_additem(iMenu, opcion, szTempid, 0)
    }

    menu_display(id, iMenu,0)
    return PLUGIN_HANDLED
    }


    public choose1(id, menu, item)
    {
    if( item == MENU_EXIT )
    {
    menu_destroy(menu)
    return PLUGIN_HANDLED
    }

    new Data[6], Name[64]
    new Access, Callback
    menu_item_getinfo(menu, item, Access, Data,5, Name, 63, Callback)

    new tempid = str_to_num(Data)

    gidPlayer[id] = tempid
    maddi_durum(id)

    menu_destroy(menu)
    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 }
    */






    bu shop pluginine kan bagışı eklermisiniz çok lazım lütfen

  2. #2
    onbasi er
    Üyelik tarihi
    Feb 2014
    Mesajlar
    77
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Standart Cevap: istek shop anlayanlar baksın lütfen

    Konuyu Silebilirsiniz.

Benzer Konular

  1. Lütfen Maper Ler Baksın
    By SeDaTDiLaY in forum Jail
    Cevaplar: 1
    Son Mesaj: 10-08-15, 14:19
  2. Jail T Shop Menü Lütfen Bakın
    By kedusa in forum [İSTEK] Cs 1.6 Plugin İstek Bölümü
    Cevaplar: 10
    Son Mesaj: 13-07-15, 15:12
  3. shop a 2 ufak istek
    By bloody123 in forum [İSTEK] Cs 1.6 Plugin İstek Bölümü
    Cevaplar: 7
    Son Mesaj: 30-04-15, 21:47
  4. TeamSpeak3 İyi Anlayanlar Baksın
    By samettekin59 in forum Team Speak 3 Destek
    Cevaplar: 3
    Son Mesaj: 31-10-13, 19:35
  5. Tsden anlayanlar baksın bi!!!!! Lütfen !!!!!
    By Mehmet4226 in forum Team Speak 3 Destek
    Cevaplar: 3
    Son Mesaj: 31-01-13, 18:39

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

Counter Strike 1.6 Cfg, plugin, eklenti, sxe, config, skin, setup
Counter Strike

Bu Konudaki Etiketler

Yetkileriniz

  • Konu Acma Yetkiniz Yok
  • Cevap Yazma Yetkiniz Yok
  • Eklenti Yükleme Yetkiniz Yok
  • Mesajınızı Değiştirme Yetkiniz Yok
  •  

SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96