Kullanıcı Tag Listesi

Sayfa 1/2 12 SonSon
11 sonuçtan 1 ile 10 arası
Like Tree4Likes

Konu: Hata Yardım

  1. #1
    er er ata123456789 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Dec 2013
    Mesajlar
    7
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Standart Hata Yardım

    Bu hata alıyorum çözümü varmı yardım gerek
    "luckshop.amxx") (native "get_pcvar_num") - debug not enabled!
    L 12/28/2013 - 11:46:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).


    Kod:
     L 12/28/2013 - 18:44:43: [AMXX] Displaying debug trace (plugin "luckshop.amxx")
    L 12/28/2013 - 18:44:43: [AMXX] Run time error 4: index out of bounds 
    L 12/28/2013 - 18:44:43: [AMXX]    [0] luckshop.sma::FwdTakeDamage (line 1098)
    L 12/28/2013 - 18:44:44: [AMXX] Displaying debug trace (plugin "luckshop.amxx")
    L 12/28/2013 - 18:44:44: [AMXX] Run time error 4: index out of bounds 
    L 12/28/2013 - 18:44:44: [AMXX]    [0] luckshop.sma::FwdTakeDamage (line 1098)
    L 12/28/2013 - 18:44:44: [AMXX] Displaying debug trace (plugin "luckshop.amxx")
    L 12/28/2013 - 18:44:44: [AMXX] Run time error 4: index out of bounds 
    L 12/28/2013 - 18:44:44: [AMXX]    [0] luckshop.sma::FwdTakeDamage (line 1098)
    
    
    L 12/28/2013 - 18:55:47: [AMXX] Run time error 10: native error (native "get_pcvar_num")
    L 12/28/2013 - 18:55:47: [AMXX]    [0] luckshop.sma::client_putinserver (line 898)
    Kod:
     #include <amxmodx>
    #include <amxmisc>
    #include <hamsandwich>
    #include <cstrike>
    #include <fakemeta>
    #include <fakemeta_util>
    #include <fun>
    #include <nvault>
    #include <jail>
    #include <engine>
    #include <colorchat>
    #include <xs>
    
    
    
    
    #define charsmax(%1) (sizeof(%1)-1)
    #define is_valid_player(%1) (1 <= %1 <= 32)
    
    
    /*============================================================
    Variables
    ============================================================*/
    
    
    new 	
    OnOff, 
    OnOff2, 
    precio1,
    precio2, 
    precio3,
    precio4, 
    precio5, 
    precio6,
    precioC1, 
    precioC2, 
    precioC3,
    precioC4,
    CTDefaultDano, 
    TDefaultDano, 
    PaloDano, 
    HachaDano, 
    MacheteDano, 
    MotocierraDano,
    hTDefaultDano, 
    hCTDefaultDano, 
    hPaloDano, 
    hHachaDano, 
    hMacheteDano,
    hMotocierraDano,
    Vida,
    Armor,
    g_killjp, 
    g_killhsjp, 
    g_startjp,
    g_maxjp,
    syncObj,
    Ronda[33],
    Speed[33],
    Speed2[33],
    TCuchillo[33],
    CTCuchillo[33],
    Destapador[33],
    Hacha[33],
    Machete[33],
    Motocierra[33],
    g_jbpacks[33],
    quitar[33],
    regalar[33],
    gidPlayer[33],
    mainvault;
    new engel1[33];
    new AcKapa;
    new zombihp[33];
    new insanhp[33];
    
    
    new tshop;
    new isyanmenu;
    new destekmenuu;
    new isyanbitis;
    new bool:kumar_oynadi[33];
    new map[32];
    /*============================================================
    Weapon Model's
    ============================================================*/
    
    
    
    
    new VIEW_MODELT[]    	= "models/[Shop]JailBreak/Punos/Punos.mdl" 
    new PLAYER_MODELT[] 	= "models/[Shop]JailBreak/Punos/Punos2.mdl" 
    
    
    new VIEW_MODELCT[]    	= "models/[Shop]JailBreak/Electro/Electro.mdl" 
    new PLAYER_MODELCT[]   	= "models/[Shop]JailBreak/Electro/Electro2.mdl" 
    
    
    new VIEW_Hacha[]    	= "models/[Shop]JailBreak/Hacha/Hacha.mdl" 
    new PLAYER_Hacha[]   	= "models/[Shop]JailBreak/Hacha/Hacha2.mdl" 
    
    
    new VIEW_Machete[]    	= "models/[Shop]JailBreak/Machete/Machete.mdl" 
    new PLAYER_Machete[]    = "models/[Shop]JailBreak/Machete/Machete2.mdl"
    
    
    new VIEW_Palo[]    	= "models/[Shop]JailBreak/Palo/Palo.mdl" 
    new PLAYER_Palo[]    	= "models/[Shop]JailBreak/Palo/Palo2.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" }
    new const No[] 		= { "[Shop]JailBreak/No.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 "TruVa Gaming"
    #define VERSION "1.5"
    #define AUTHOR "TruVa Gaming"
    #define task 672
    ////////////////////////////////////////////////
    #define SERVER "TruVa Gaming # JailBreak" 				//// Server adini Yaz mutlaka yaz !
    #define FACEBOOK "facebook.com/TruvaJailBreak"           	//// Facebook Adresini Yaz ornekdeki gibi
    #define SKYPE "xTroN7 ve PirateKenzy7"                     	//// Skype Adresini Yaz ornekdeki gibi
    #define TELNO "05376282559 - 05548377473"                         	//// Telefon Numarani Yaz
    #define WEBS "www.JailServer.org"                             //// Site adini yaz.
    //////////////////Server//Kurallari/////////////
    /*===================================*/////////
    #define KURAL1 "Oyunda admin dahi olsa kimsenin ayricaligi yoktur!"
    #define KURAL2 "Oyucnularin hile acmasi - spam yapmasi yasaktir!"
    #define KURAL3 "Kufur etmek ban sebebidir!"
    #define KURAL4 "Komut verme onceligi adminlerdedir. Slotlar ondan sonra gelir!"
    #define KURAL5 "Oyunda adminlerin ve oyuncularin reklam yapmasi yasaktir! "
    #define KURAL6 "Slotlarin adminlerden habersiz kendini CT atmasi yasaktir!"
    #define KURAL7 "CT Koruma'nin 12 playerden assa alinmasi yasaktir!"
    #define KURAL8 "Serverin huzurunu bozan kisiler serverden uzaklastirilacaktir!"
    /*===================================*///////////
    //////////////////Adminlik//Kurallari/////////////
    /*===================================*///////////
    #define KKURAL1 "Adminlerin T'deyken mic basmasi yasaktir!"
    #define KKURAL2 "Kafasina gore serverde komuta gecen adminler uzaklastirilacaktir!"
    #define KKURAL3 "Komut vermeyi bilmeyen adminlerin CT gecmesi yasaktir!"
    #define KKURAL4 "Eger serverde komutcu admin yoksa, Adminlerin servere komutcu almasi zorunludur!"
    #define KKURAL5 "Oyuncularin sorularina duzgun bir uslupla cevap vermek, admnilerin gorevidir!"
    #define KKURAL6 "Adminlerin kafasina gore kisi banlama ozgurlugu yoktur, Gunluk log kaydi tutulmaktadir!"
    #define KKURAL7 "Bir admin, serverde hiçbir zaman kendi cikarlarini dusunmemelidir!"
    #define KKURAL8 "Eger bir admin kurallara uymuyorsa 1.kez uyarilir. 2.cide adminlikten atilir!"
    /*===================================*//////////
    //////////////////Slotluk//Kurallari/////////////
    /*===================================*//////////
    #define KKKURAL1 "JB vermek yasaktir!"
    #define KKKURAL2 "Admin varken Team degistirmek yasaktir!"
    #define KKKURAL3 "Kufur etmek serverin huzurunu bozmak yasaktir!"
    #define KKKURAL4 "Reklam yapmak yasaktir!"
    #define KKKURAL5 "Slotlarin temel gorevi serverde adminler yokken, servere goz kulak olmaktir!"
    #define KKKURAL6 "Slotlarin oyunlarda herhangi bir ayricaligi yoktur."
    #define KKKURAL7 "Slotlarin yetkisi serverde kalma suresine gore arttirilacak ve adminlige kadar yukselecektir!"
    #define KKKURAL8 "Slotlar serverde asla kendi cikarlarini dusunemez!"
    /*===================================*//////////
    /////////////////////////////////////////////////
    /*===================================*//////////
    #define BILGI1 "Server Sahibi xTroN7 ve Pirate'dir"
    #define BILGI2 "Normal Adminlik : 15 TL - Full Yetki Adminlik 20 TL"
    #define BILGI3 "Slotluk ucretsizdir. Skype ekleyiniz."
    #define BILGI4 "[Skype : xTroN7] [Skype : PirateKenzy7]"
    #define BILGI5 "Web Sitemiz : www.JailServer.org"
    #define BILGI6 "Adminleri, Slotlari ve Guncel haberleri sitemizden takip edebilirsiniz. www.JailServer.org"
    #define BILGI7 "Kurala uymayan adminlerin adminliklerini alinacaktir!"
    #define BILGI8 "ip Adresimiz : 95.173.173.139"
    /*===================================*//////////
    /////////////////////////////////////////////////
    /*===================================*//////////
    #define FIYAT1 "Baslangic Adminlik : 10 TL"
    #define FIYAT2 "Normal Adminlik : 15 TL"
    #define FIYAT3 "Full Yetki Adminlik : 20 TL"
    #define FIYAT4 "Slotluk Ucretsizdir"
    #define FIYAT5 "Admnilikler Aylik Olarak Hesaplanmistir"
    #define FIYAT6 "Detayli Bilgi : www.JailServer.org"
    /////////////////////////////////////////
    
    
    const MENU_TUSLARI = MENU_KEY_1|MENU_KEY_2|MENU_KEY_3|MENU_KEY_4|MENU_KEY_5|MENU_KEY_0
    
    
    new takim[36];
    
    
    new yapimci[] = "[^3TruVa Gaming^4]"
    
    
    /*===========================================================
    SLOT VARS
    ===========================================================*/
    const WEAPONS_BITSUM = (1<<CSW_KNIFE|1<<CSW_HEGRENADE|1<<CSW_FLASHBANG|1<<CSW_SMOKEGRENADE|1<<CSW_C4);
    
    
    #if cellbits == 32 
    const OFFSET_CLIPAMMO = 51 ;
    #else 
    const OFFSET_CLIPAMMO = 65 ;
    #endif 
    const OFFSET_LINUX_WEAPONS = 4;
    
    
    new const PREFIX[] = { 
    	"!g[ TruVa Gamign ]:!n" 
    };
    new Float:cok_hizli = 500.0;
    new Float:normal_hizli = 250.0;
    new Float: cl_pushangle[33][3];
    new
    menukullanim[33],
    hizver[33],
    mermisekmeme[33];
    
    
    
    
    #define ADMIN_SLOTMENU ADMIN_LEVEL_H // [ "T" Yetkisi Olarak Ayarlanmistir,Ice ]
    /*============================================================
    Config
    ============================================================*/
    
    
    new bool:katledici[33];
    new bool:sarsiliyor = false
    new bool:Bindle = false
    new facebilgi,
    bool:g_gom[33],
    telefonbilgi,
    skypebilgi,
    kusayfasi,
    ts3sayfasi,
    iletisimsayfasi,
    serverhakkindabilgi,
    website,
    fiyatmenu;
    
    
    new
    GorunmezJB,
    GodmodeJB,
    ElektrikJB,
    DepremJB,
    YuksekJB,
    KalkanJB,
    HpMiktari,
    ElemanRevle,
    BombaJB,
    SessizJB,
    secimyapildi[33],
    Tag[] = "[ TruVa Gaming ]";
    
    
    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)) return 
    	register_plugin(PLUGIN, VERSION, AUTHOR);
    	register_clcmd("say /meslekmenu","ShowMenu")
    	register_clcmd("say !meslekmenu","ShowMenu")
    	register_clcmd("say_team /meslekmenu","ShowMenu")
    	register_clcmd("say_team !meslekmenu","ShowMenu")
    	register_clcmd("drop","Yasak");
    	register_clcmd("say /destekmenu","destekmenu")
    	
    	register_logevent("eRS",2,"1=Round_Start")
    	register_event("DeathMsg","eDeath2","a")
    	register_event("CurWeapon", "HookCurWeapon2", "be", "1=1");
    	register_forward(FM_EmitSound,  "fw_EmitSound2")
    	RegisterHam(Ham_Spawn,"player","OyuncuDogunca2", 1)
    	//register_menu("Menu 1", MENU_TUSLARI, "Oyun_Menusu");
    	register_clcmd("say /jbmenu","kontrol")
    	register_clcmd("say !jbmenu","kontrol")
    	register_clcmd("say_team /jbmenu","kontrol")
    	register_clcmd("say_team !jbmenu","kontrol")
    	register_clcmd("say /isyan","isyan_menu")
    	set_task(100.0, "yazicik", 0, _, _, "b")
    	set_task(50.0, "destekbilgi", 0, _, _, "b")
    	/*============================================================
    	Cvar Ayarlari.
    	============================================================*/
    	facebilgi 		= register_cvar("destek_facebilgi", 		"1");
    	skypebilgi 		= register_cvar("destek_skypebilgi", 		"1");
    	telefonbilgi 		= register_cvar("destek_telbilgi", 		"1");
    	kusayfasi        	= register_cvar("destek_kurallarmenu",		"1");
    	ts3sayfasi       	= register_cvar("destek_ts3menu",		"1");
    	iletisimsayfasi      	= register_cvar("destek_iletisimmenu",		"1");
    	serverhakkindabilgi	= register_cvar("destek_serverbilgi",		"1");
    	fiyatmenu		= register_cvar("destek_fiyatsayfasi",		"1");
    	website			= register_cvar("destek_website",		"1");
    	
    	RegisterHam(Ham_Spawn, 		"player", "Fwd_PlayerSpawn_Post",	1)
    	RegisterHam(Ham_TakeDamage, 	"player", "FwdTakeDamage", 		0)
    	RegisterHam(Ham_Killed,		"player", "fw_player_killed")
    	
    	register_event("CurWeapon", 	"Event_Change_Weapon", "be", "1=1")
    	register_clcmd("GetVaultData", "fw_GetVaultData")
    	register_forward(FM_SetModel, 	"fw_SetModel")
    	register_forward(FM_EmitSound,	"Fwd_EmitSound")
    	
    	register_clcmd("jointeam","engel")
    	register_clcmd("jointeam 02","engel")
    	register_clcmd("jointeam 02 ct","engel")
    	
    	// 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",		"8");  
    	g_maxjp 	= register_cvar("jb_maxgiveJP",		"100"); 
    	
    	OnOff 		= register_cvar("jb_Shop", 		"1")//1(ON) 0(OFF) 
    	OnOff2 		= register_cvar("jb_ShopKnifes",	"1")//1(ON) 0(OFF) 
    	
    	precio1 	= register_cvar("jb_pFlash", 		"3")
    	precio2		= register_cvar("jb_pHe", 		"5")
    	precio3		= register_cvar("jb_pHEFL", 		"7")
    	precio4		= register_cvar("jb_pWalk", 		"10")
    	precio5		= register_cvar("jb_pFast", 		"20")
    	precio6		= register_cvar("jb_pDrugs", 		"25")
    	
    	precioC1	= register_cvar("jb_pKnife1", 		"-1")
    	precioC2 	= register_cvar("jb_pKnife2", 		"5")
    	precioC3 	= register_cvar("jb_pKnife3", 		"10")
    	precioC4 	= register_cvar("jb_pKnife4", 		"23")
    	
    	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", 		"35")
    	MacheteDano 	= register_cvar("jb_dKnife3", 		"50")
    	MotocierraDano 	= register_cvar("jb_dKnife4", 		"80")
    	
    	hTDefaultDano 	= register_cvar("jb_dHsKnifeT", 	"20")
    	hCTDefaultDano 	= register_cvar("jb_dHsKnifeCT",	"80")
    	hPaloDano 	= register_cvar("jb_dhsKnife1", 	"30")
    	hHachaDano 	= register_cvar("jb_dhsKnife2", 	"70")
    	hMacheteDano 	= register_cvar("jb_dhsKnife3", 	"95")
    	hMotocierraDano = register_cvar("jb_dhsKnife4",		"200")
    	
    	Vida 		= register_cvar("jb_drLife", 		"200")
    	Armor 		= register_cvar("jb_drArmor", 		"200")
    	
    	
    	
    	tshop = register_cvar("jb_tshop","1")
    	isyanmenu = register_cvar("jb_isyan","1")
    	destekmenuu = register_cvar("destek_ac","1")
    	
    	register_clcmd("say /shop", "Tienda")
    	register_clcmd("say !shop", "Tienda")
    	register_clcmd("say_team /shop", "Tienda")
    	register_clcmd("say_team !shop", "Tienda")
    	register_clcmd("say /mg", "tlveral")
    	register_clcmd("JbPacks", 	"player")
    	register_clcmd("JbPackage","players")
    	
    	
    	GorunmezJB	= register_cvar("jbisyan_gorunmez","35");
    	GodmodeJB	= register_cvar("jbisyan_olumsuz","30");
    	ElektrikJB	= register_cvar("jbisyan_elektrik","35");
    	DepremJB	= register_cvar("jbisyan_deprem","35");
    	YuksekJB	= register_cvar("jbisyan_ziplama","15");
    	KalkanJB	= register_cvar("jbisyan_kalkan","30");
    	HpMiktari	= register_cvar("jbisyan_hpmiktari","100");
    	ElemanRevle	= register_cvar("jbisyan_elemanrev","70");
    	BombaJB		= register_cvar("jbisyan_3hg","15");
    	SessizJB	= register_cvar("jbisyan_sessiz","15");
    	
    	register_event("HLTV", "YeniTurcu", "a", "1=0", "2=0");
    	
    	new silahisim[24];
    	for (new id = 1; id <= 30; id++){
    		if (!(WEAPONS_BITSUM & 1 << id) && get_weaponname(id, silahisim, 23)){
    			RegisterHam(Ham_Weapon_PrimaryAttack, silahisim, "fw_Weapon_PrimaryAttack_Pre");
    			RegisterHam(Ham_Weapon_PrimaryAttack, silahisim, "fw_Weapon_PrimaryAttack_Post", 1);
    		}
    	}
    	
    }
    /*============================================================
    Precaches 
    ============================================================*/
    public plugin_precache() 
    {
    	precache_model("models/rpgrocket.mdl")
    	precache_sound("weapons/headshot2.wav")
    	precache_sound(Si)
    	precache_sound(No)
    	
    	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_Palo)     
    	precache_model(PLAYER_Palo) 
    	precache_model(VIEW_Hacha)     
    	precache_model(PLAYER_Hacha)	
    	precache_model(VIEW_Machete)     
    	precache_model(PLAYER_Machete)	
    	precache_model(VIEW_Moto)     
    	precache_model(PLAYER_Moto)		
    	precache_model(WORLD_MODEL)
    	
    	syncObj 	= CreateHudSyncObj()
    	return PLUGIN_CONTINUE
    }
    /*============================================================
    KNIFE SHOP
    ============================================================*/
    public Tienda1(id)
    {
    	new hostname[64]
    	get_cvar_string("hostname",hostname,63)
    	
    	if(get_pcvar_num(OnOff2))
    	{
    		if (get_user_team(id) == 1 )
    		{
    			static Item[64]
    			
    			formatex(Item, charsmax(Item),"\w[TruVa\r // \wMarket",hostname) 
    			new Menu = menu_create(Item, "CuchilleroHandler")
    			
    			formatex(Item, charsmax(Item),"\w[ \r- \wTuvalet Pompasi\r - \w] \y[ %d TL ]", get_pcvar_num(precioC1))
    			menu_additem(Menu, Item, "1")
    			
    			formatex(Item, charsmax(Item),"\w[ \r- \wKanli Balta\r - \w] \y[ %d TL ]",get_pcvar_num(precioC2))
    			menu_additem(Menu, Item, "2")
    			
    			formatex(Item, charsmax(Item),"\w[ \r- \wSamuray Kilici\r - \w] \y[ %d TL ]",get_pcvar_num(precioC3))
    			menu_additem(Menu, Item, "3")
    			
    			formatex(Item, charsmax(Item),"\w[ \r- \wTestere\r - \w] \y[ %d TL ]",get_pcvar_num(precioC4))
    			menu_additem(Menu, Item, "4")
    			
    			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 key = str_to_num(data);
    	
    	switch(key)
    	{
    		case 1:
    		{
    			if (g_jbpacks[id]>= Obtener1 && vivo)
    			{
    				g_jbpacks[id] -= Obtener1
    				CTCuchillo[id] 	= 0
    				TCuchillo[id] 	= 0
    				Destapador[id] 	= 1
    				Hacha[id] 	= 0
    				Machete[id] 	= 0
    				Motocierra[id] 	= 0
    				
    				
    				ham_strip_weapon(id, "weapon_knife")
    				give_item(id, "weapon_knife")
    				engel1[id] = 1
    				ColorChat(id,GREEN ,"%s Marketten^3 [ Tuvalet Pompasi ]^4 Satin Aldiniz",yapimci)
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    		
    		case 2:
    		{
    			if (g_jbpacks[id] >= Obtener2 && vivo)
    			{
    				
    				g_jbpacks[id] -= Obtener2
    				CTCuchillo[id] 	= 0
    				TCuchillo[id] 	= 0
    				Destapador[id] 	= 0
    				Hacha[id] 	= 1
    				Machete[id] 	= 0
    				Motocierra[id] 	= 0
    				engel1[id] = 1
    				ham_strip_weapon(id, "weapon_knife")
    				give_item(id, "weapon_knife")
    				engel1[id] = 1
    				ColorChat(id,GREEN ,"%s Marketten^3 [ Kanli Balta ]^4 Satin Aldiniz",yapimci)
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    		
    		case 3:
    		{
    			if (g_jbpacks[id] >= Obtener3 && vivo)
    			{
    				
    				g_jbpacks[id] -= Obtener3
    				CTCuchillo[id] 	= 0
    				TCuchillo[id] 	= 0
    				Destapador[id] 	= 0
    				Hacha[id] 	= 0
    				Machete[id] 	= 1
    				Motocierra[id] 	= 0
    				engel1[id] = 1
    				ham_strip_weapon(id, "weapon_knife")
    				give_item(id, "weapon_knife")
    				
    				ColorChat(id,GREEN ,"%s Marketten^3 [ Savuray Kilici ]^4 Satin Aldiniz",yapimci)
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) 
    				
    			}
    			else
    			{
    				ColorChat(id,GREEN, "%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    				
    			}
    		}
    		
    		case 4:
    		{
    			if (g_jbpacks[id] >= Obtener4 && vivo)
    			{
    				
    				g_jbpacks[id] -= Obtener4
    				CTCuchillo[id] 	= 0
    				TCuchillo[id] 	= 0
    				Destapador[id]	= 0
    				Hacha[id] 	= 0
    				Machete[id] 	= 0
    				Motocierra[id] 	= 1
    				
    				
    				ham_strip_weapon(id, "weapon_knife")
    				give_item(id, "weapon_knife")
    				engel1[id] = 1
    				ColorChat(id,GREEN, "%s Marketten^3 [ Testere ]^4 Satin Aldiniz",yapimci)
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM)
    				
    			}
    			else
    			{
    				ColorChat(id,GREEN, "%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    	}
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    }
    
    
    /*============================================================
    ITEM'S MENU
    ============================================================*/
    public Tienda(id)
    {
    	if(get_pcvar_num(OnOff))
    	{
    		if(get_pcvar_num(tshop) && Ronda[id])
    		{
    			if(is_user_alive(id))
    			{
    				if (cs_get_user_team(id) == CS_TEAM_T )
    				{
    					new contador=0;
    					new players[32], num, tempid;
    					
    					get_players(players, num)
    					
    					for (new i=0; i<num; i++)
    					{
    						tempid = players[i]
    						
    						if (get_user_team(tempid)==1 && is_user_alive(tempid))
    						{
    							contador++;
    						}
    					}
    					if ( contador == 1 )
    					{
    					}
    					else if ( contador >= 2 )
    					{
    						static Item[64]
    						
    						formatex(Item, charsmax(Item),"\wTruVa\r // \wT Shop Menusu")
    						new Menu = menu_create(Item, "TiendaHandler")
    						
    						formatex(Item, charsmax(Item),"\wFlash Bombasi \y[ %d TL ]",get_pcvar_num(precio1))
    						menu_additem(Menu, Item, "1")
    						
    						formatex(Item, charsmax(Item),"\wEl Bombasi \y[ %d TL ]",get_pcvar_num(precio2))
    						menu_additem(Menu, Item, "2")
    						
    						formatex(Item, charsmax(Item),"\wEl Bombasi \y+ \wFlash Bombasi \y[ %d TL ]",get_pcvar_num(precio3))
    						menu_additem(Menu, Item, "3")
    						
    						formatex(Item, charsmax(Item),"\wSessiz Yurume \y[ %d TL ]",get_pcvar_num(precio4))
    						menu_additem(Menu, Item, "4")
    						
    						formatex(Item, charsmax(Item),"\wHizli Yurume \y[ %d TL ]",get_pcvar_num(precio5))
    						menu_additem(Menu, Item, "5")
    						
    						formatex(Item, charsmax(Item),"\wUyusturucu \y[ %d TL ]",get_pcvar_num(precio6))
    						menu_additem(Menu, Item, "6")
    						
    						menu_setprop(Menu, MPROP_EXIT, MEXIT_ALL)
    						menu_display(id, Menu,0)
    					}
    				}
    			}
    		}
    	}
    	return PLUGIN_HANDLED
    }
    
    
    
    
    public TiendaHandler(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 gmsg_SetFOV 	= get_user_msgid("SetFOV") 
    	new Obtener1 		= get_pcvar_num(precio1)
    	new Obtener2 		= get_pcvar_num(precio2)
    	new Obtener3 		= get_pcvar_num(precio3)
    	new Obtener4 		= get_pcvar_num(precio4)
    	new Obtener5 		= get_pcvar_num(precio5)
    	new Obtener6 		= get_pcvar_num(precio6)
    	new vida1		= get_user_health(id)
    	new vida2 		= get_pcvar_num(Vida)
    	new armor1		= get_user_armor(id)
    	new armor2 		= get_pcvar_num(Armor)
    	
    	new key = str_to_num(data);
    	switch(key)
    	{
    		case 1:
    		{
    			if (g_jbpacks[id] >= Obtener1 && vivo)
    			{
    				g_jbpacks[id] -= Obtener1
    				ColorChat(id,GREEN,"%s Marketten ^3[ Flash Bombasi ]^4 Aldiniz.",yapimci)
    				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
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    				
    			}
    		}
    		case 2:
    		{
    			
    			if (g_jbpacks[id] >= Obtener2 && vivo)
    			{
    				g_jbpacks[id] -= Obtener2
    				ColorChat(id,GREEN,"%s Marketten ^3[ El Bombasi ]^4 Aldiniz.",yapimci)
    				give_item(id, "weapon_hegrenade")
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) 
    				Ronda[id] = 0
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    		case 3:
    		{
    			
    			if (g_jbpacks[id] >= Obtener3 && vivo)
    			{
    				g_jbpacks[id] -= Obtener3
    				ColorChat(id,GREEN,"%s Marketten ^3[ El Bombasi + Flash Bombasi ]^4 Aldiniz.",yapimci)
    				give_item(id, "weapon_hegrenade")
    				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
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    		case 4:
    		{
    			
    			if (g_jbpacks[id] >= Obtener4 && vivo)
    			{
    				g_jbpacks[id] -= Obtener4
    				ColorChat(id,GREEN,"%s Marketten ^3[ Sessiz Yurume ]^4 Aldiniz.",yapimci)
    				set_user_footsteps(id, 1)
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) 
    				Ronda[id] = 0
    			}
    			else
    			{
    				ColorChat(id,GREEN ,"%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci) 
    			}
    		}
    		case 5:
    		{		
    			if (g_jbpacks[id] >= Obtener5 && vivo)
    			{
    				g_jbpacks[id] -= Obtener5
    				ColorChat(id,GREEN,"%s Marketten ^3[ Hizli Kosma ]^4 Aldiniz.",yapimci)
    				set_pev(id, pev_maxspeed, 500.0)
    				Speed[id] = 1
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) 
    				Ronda[id] = 0
    			}
    			else
    			{
    				ColorChat(id,GREEN, "%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    		case 6:
    		{	
    			if (g_jbpacks[id] >= Obtener6 && vivo)
    			{
    				g_jbpacks[id] -= Obtener6
    				ColorChat(id,GREEN,"%s Marketten ^3[ Uyusturucu ]^4 Aldiniz.",yapimci)
    				set_user_armor(id, armor1 + armor2)
    				set_user_health(id, vida1 + vida2)
    				set_pev(id, pev_maxspeed, 380.0)
    				Speed2[id] = 1
    				message_begin( MSG_ONE, gmsg_SetFOV, { 0, 0, 0 }, id )
    				write_byte( 180 )
    				message_end( )  
    				emit_sound(id, CHAN_AUTO, Si, VOL_NORM, ATTN_NORM , 0, PITCH_NORM) 
    				Ronda[id] = 0
    			}
    			else
    			{
    				ColorChat(id,GREEN, "%s Yeterli^3 [ TL ]^4 ' Niz Yok.",yapimci)
    			}
    		}
    	}
    	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),"\wTruVa \r// \wOyuncuyu 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), "\w[ \r- \w%s\r - \w]\y // \w[ \d%i \w]" ,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
    	console_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 > get_pcvar_num(g_maxjp))
    			{
    				ColorChat(0,RED,"^4[ Dikkat ! ]^3 [ %s ]^4 Nickli Admin^3 [ %d ]^4 TL Den Fazla TL Vermeye Calisti.",adminname,get_pcvar_num(g_maxjp))
    				log_amx("[ TruVa ] %s Nickli Admin 100 TL Den Fazla TL Vermeye Calisti",adminname)
    			}
    			else
    			{
    				if(amount <= 100) {
    					g_jbpacks[victim] = g_jbpacks[victim] + amount
    					ColorChat(0,GREEN,"%s [ %s ]^3 Nickli Admin^4 [ %s ]^3 Adli Kisiye^4 [ %d ] TL Verdi.",yapimci,adminname, vname, amount)
    					log_amx("[ TruVa ] [ %s ] Nickli Admin [ %s ] Adli Kisiye [ %d ] TL Verdi",adminname,vname,amount)
    				}
    				else
    				{
    					ColorChat(0,RED,"^4[ TruVa ]^3 [ %s ]^4 Nickli Admin^3 [ %d ]^4 TL Den Fazla TL Vermeye Calisti.",adminname,get_pcvar_num(g_maxjp))
    				}
    			}
    			
    		}
    		if(quitar[id])
    		{
    			if(amount > g_jbpacks[victim])
    			{
    				g_jbpacks[victim] = 0
    				ColorChat(0,GREEN,"%s [ %s ]^3 Nickli Admin^4 [ %s ]^3 Adli Kisinin^4 TUM^3 TL'Lerini Aldi.",yapimci,adminname, vname)
    				log_amx("[ TruVa ] [ %s ] Nickli Admin [ %s ] Adli Kisinin Tum TL'Lerini Aldi",adminname,vname)
    			}
    			else 
    			{
    				g_jbpacks[victim] = g_jbpacks[victim] - amount
    				ColorChat(0,GREEN,"%s [ %s ]^3 Nickli Admin^4 [ %s ]^3 Adli Kisinin^4 [ %d ] TL sini Aldi",yapimci,adminname, vname, amount)
    				log_amx("[ TruVa ] [ %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
    			Destapador[id] 	= 0
    			Hacha[id] 	= 0
    			Machete[id] 	= 0
    			Motocierra[id] 	= 0
    			//Tienda1(id)
    			if(get_pcvar_num(AcKapa) == 0) {
    				IlkMenu(id)
    			}
    			engel1[id] = 0;
    			
    			set_task(0.2,"revive",id)
    			
    		}
    		if(get_user_team(id) == 2) {
    			give_item(id,"weapon_ak47")
    			give_item(id,"weapon_m4a1")
    			give_item(id,"weapon_deagle")
    			give_item(id,"weapon_awp")
    			give_item(id,"weapon_hegrenade")
    			give_item(id,"weapon_m249")
    			CTCuchillo[id] 	= 1
    			TCuchillo[id] 	= 0
    			Destapador[id] 	= 0
    			Hacha[id] 	= 0
    			Machete[id] 	= 0
    			Motocierra[id] 	= 0
    			cs_set_user_bpammo(id,CSW_AK47,90)
    			cs_set_user_bpammo(id,CSW_AWP,90)
    			cs_set_user_bpammo(id,CSW_M4A1,90)
    			cs_set_user_bpammo(id,CSW_DEAGLE,37)	
    			cs_set_user_bpammo(id,CSW_M249,200)
    			
    		}
    	}
    	console_cmd(id,"bind m ^"say /jbmenu^"")
    	console_cmd(id,"bind b ^"say /meslekmenu^"")
    	
    }
    
    
    public FwdTakeDamage(victim, inflictor, attacker, Float:damage, damage_bits)
    {
    	
    	if(takim[attacker] == takim[victim] && takim[attacker] != 0 && get_cvar_num("mp_friendlyfire")) {
    		ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
    		ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
    		return HAM_SUPERCEDE
    	}
    	
    	if (is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)	
    	{
    		switch(get_user_team(attacker))
    		{
    			case 1:
    			{
    				if(TCuchillo[attacker])
    				{    
    					
    					SetHamParamFloat(4, get_pcvar_float(TDefaultDano))
    					
    					if(get_pdata_int(victim, 75) == HIT_HEAD)
    					{
    						SetHamParamFloat(4, get_pcvar_float(hTDefaultDano))
    					}
    				}
    				
    				if(Destapador[attacker])
    				{ 
    					SetHamParamFloat(4, get_pcvar_float(PaloDano))
    					
    					if(get_pdata_int(victim, 75) == HIT_HEAD)
    					{
    						SetHamParamFloat(4, get_pcvar_float(hPaloDano))
    					}
    				}
    				
    				if(Hacha[attacker])
    				{    	
    					SetHamParamFloat(4, get_pcvar_float(HachaDano))
    					
    					if(get_pdata_int(victim, 75) == HIT_HEAD)
    					{
    						SetHamParamFloat(4, get_pcvar_float(hHachaDano))
    					}
    				}
    				
    				if(Machete[attacker])
    				{    	
    					SetHamParamFloat(4, get_pcvar_float(MacheteDano))
    					
    					if(get_pdata_int(victim, 75) == HIT_HEAD)
    					{
    						SetHamParamFloat(4, get_pcvar_float(hMacheteDano))
    					}
    				}
    				
    				if(Motocierra[attacker])
    				{    
    					SetHamParamFloat(4, get_pcvar_float(MotocierraDano))
    					
    					if(get_pdata_int(victim, 200) == HIT_HEAD)
    					{
    						SetHamParamFloat(4, get_pcvar_float(hMotocierraDano))
    					}
    				}
    			}
    			case 2:
    			{
    				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(Destapador[id]) {
    					set_pev(id, pev_viewmodel2, VIEW_Palo)
    					set_pev(id, pev_weaponmodel2, PLAYER_Palo)
    				}
    				
    				if(Hacha[id]) {
    					set_pev(id, pev_viewmodel2, VIEW_Hacha)
    					set_pev(id, pev_weaponmodel2, PLAYER_Hacha)
    				}
    				
    				if(Machete[id]) {
    					set_pev(id, pev_viewmodel2, VIEW_Machete)
    					set_pev(id, pev_weaponmodel2, PLAYER_Machete)
    				}
    				
    				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 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 players(id, level, cid) { 
    	if(! cmd_access(id, level, cid, 0)) 
    		return PLUGIN_HANDLED; 
    	
    	new string[64]; 
    	get_pcvar_string(isyanbitis, string, charsmax(string)); 
    	
    	ColorChat(id,GREEN , "Gereken kod: %s", string);
    	
    	return PLUGIN_HANDLED;
    	
    }
    
    
    public Fwd_EmitSound(id, channel, const sample[], Float:volume, Float:attn, flags, pitch)
    {
    	
    	if (!is_user_connected(id))
    		return FMRES_IGNORED;
    	
    	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, 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(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(Destapador[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(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;
    }
    
    
    public IlkMenu(id)
    {	
    	
    	if(get_pcvar_num(OnOff2))
    	{
    		
    		if (get_user_team(id) == 1 )
    		{
    			
    			new hostname[64]
    			get_cvar_string("hostname",hostname,63)
    			
    			new menu, Menuz[512]  
    			
    			formatex(Menuz, charsmax(Menuz), "\y[TruVa] \r// \yHiper Market\r'\we Hos Geldiniz.!",hostname)  
    			menu = menu_create(Menuz, "amenu_devam")  
    			
    			
    			if(engel1[id] == 0) {
    				
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wMarket")  
    				menu_additem(menu, Menuz, "1")
    				} else {
    				
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wMarket \r[ Kullandiniz ]")  
    				menu_additem(menu, Menuz, "1")
    			}
    			
    			if(get_pcvar_num(isyanmenu) == 1) { 
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wIsyan Menu")
    				menu_additem(menu, Menuz, "2")
    			}
    			if(get_pcvar_num(tshop) == 1) {
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wT Shop Menusu")		
    				menu_additem(menu, Menuz, "3")
    				if(access(id,ADMIN_LEVEL_H)) {
    					formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wSlot Menusu")		
    					menu_additem(menu, Menuz, "5")
    				}
    				else
    				{
    					formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wSlot Menusu\d [Sadece Slotlara Ozel]")		
    					menu_additem(menu, Menuz, "6")
    				}
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wMeslek Menusu")		
    				menu_additem(menu, Menuz, "7")
    				}
    			if(get_pcvar_num(destekmenuu) == 1) {
    				formatex(Menuz, charsmax(Menuz), "\wTruVa \r// \wDestek Menusu")		
    				menu_additem(menu, Menuz, "8")
    			}
    			
    			formatex(Menuz, charsmax(Menuz), "\yCikis")  
    			
    			menu_setprop(menu,MPROP_EXITNAME,Menuz)  
    			
    			menu_display(id, menu, 0)  
    			
    		}
    	}
    	return PLUGIN_HANDLED
    }
    
    
    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)
    	{
    		if(engel1[id] == 0) {
    			Tienda1(id)
    			} else {
    			IlkMenu(id)
    		}
    	}
    	else if(str_to_num(data) == 2)
    	{
    		isyan_menu(id)
    	}
    	else if(str_to_num(data) == 3)
    	{
    		console_cmd(id,"say /shop")
    	}
    	else if(str_to_num(data) == 5)
    	{
    		SmenuKomut(id)
    		
    	}
    	else if(str_to_num(data) == 7)
    	{
    		ShowMenu(id)
    	}
    	else if(str_to_num(data) == 8)
    	{
    		destekmenu(id)
    	}
    	else if(str_to_num(data) == 6)
    	{
    		ColorChat(id,GREEN,"^3[SlotMenusu] Bu menu sadece SLOTLARA ozeldir.") 
    	}
    	
    	menu_destroy(amenu)
    	return PLUGIN_HANDLED
    }
    
    
    public tlveral(id)
    {	
    	if(!is_user_admin(id)) {
    		return PLUGIN_HANDLED;
    	}
    	static opcion[64]
    	
    	formatex(opcion, charsmax(opcion),"\wTruVa // \r TL Yoneticisi", LANG_PLAYER)
    	new iMenu = menu_create(opcion, "menu")
    	
    	formatex(opcion, charsmax(opcion),"\wTruVa // \r TL Ver", LANG_PLAYER)
    	menu_additem(iMenu, opcion, "1")	
    	
    	formatex(opcion, charsmax(opcion),"\wTruVa // \r 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)
    {
    	if(1<=id<=32) {
    		if(get_user_team(id) == 1){
    			set_hudmessage(242, 149, 10, -1.0, 0.75	, 0, 6.0, 12.0)
    			ShowSyncHudMsg(id, syncObj,"- Cebinizdeki TL : %i -^nMenuye Girmek Icin ^" M ^" Tusuna Basiniz.", g_jbpacks[id])
    		}
    	}
    }
    public kontrol(id) {
    	if(get_pcvar_num(AcKapa) == 0) {
    		
    		IlkMenu(id)
    		} else {
    		
    		ColorChat(id,GREEN,"%s [ 7 ]^3 Kapalidir !",yapimci)
    	}
    	return PLUGIN_HANDLED;
    }
    public kont(id) {
    	if(get_user_team(id) == 2) {
    		if(get_user_flags(id) & ADMIN_KICK) {
    			zombihp[id] = 5000;
    			insanhp[id] = 150;
    			//zm_menu(id)
    		}
    	}
    }
    public isyan_menu(id) {
    	
    	if(get_user_team(id) != 1 || !is_user_alive(id)) {
    		client_print(id,print_chat,"Oluler Giremez!.")
    		return PLUGIN_HANDLED
    	}
    	
    	new hostname[64]
    	get_cvar_string("hostname",hostname,63)
    	
    	new menu, Menuz[512] 
    	formatex(Menuz, charsmax(Menuz), "\w[TruVa Gaming]\r // \wIsyan Menu",hostname) 
    	menu = menu_create(Menuz, "isyan_menu_devam")
    	
    	menu_additem(menu, "\yGODMODE (3 Saniye) \r[ 30 TL ]", "1", 0);
    	menu_additem(menu, "\yGorunmezlik (3 Saniye) \r[ 35 TL ]", "2", 0);
    	menu_additem(menu, "\yElektrikleri Kes \r[ 35 TL ]", "3", 0);
    	menu_additem(menu, "\yDeprem Yarat \r[ 35 TL ]", "4", 0);
    	menu_additem(menu, "\yYuksek Ziplama \r[ 15 TL ]", "5", 0);
    	menu_additem(menu, "\yKalkan (10 Saniye) \r[ 30 TL ]", "6", 0);
    	menu_additem(menu, "\yEl Bombasi (3 Adet) \r[ 15 TL ]", "7", 0);
    	menu_additem(menu, "\ySessiz Adimlarla Hizli Kos \r[ 15 TL ]", "8", 0);
    	menu_additem(menu, "\yHP Satin Al (100 HP) \r[ 6 TL ]", "9", 0);
    	menu_additem(menu, "\yTakim Arkadasini Revle \r[ 70 TL ]", "10", 0);
    	
    	formatex(Menuz, charsmax(Menuz), "\yCikis") 
    	menu_setprop(menu, MPROP_PERPAGE, 0) 
    	
    	menu_display(id, menu, 0) 
    	
    	return PLUGIN_HANDLED;
    }
    
    
    public isyan_menu_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);
    	new adminismi[32]
    	get_user_name(id,adminismi,31)
    	
    	switch(key)
    	{
    		case 1: {
    			if(jb_get_user_packs(id) < get_pcvar_num(GodmodeJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL GODMODE Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(GodmodeJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(GodmodeJB))
    			set_user_godmode(id,1)
    			ColorChat(id,GREEN,"%s 3 Saniyelige GODMODE Satin Aldin.",Tag)
    			Saniye(id)
    			set_task(3.0,"godmodekapat",id)
    		}
    		case 2: {
    			if(jb_get_user_packs(id) < get_pcvar_num(GorunmezJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Gorunmezlik Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(GorunmezJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(GorunmezJB))
    			ColorChat(id,GREEN,"%s 3 Saniye Boyunca Gorunmezsin Sapkan Varsa Isim Degistir.",Tag)
    			Saniye(id)
    			Gorunmezlik(id)
    		}
    		case 3: {
    			if(jb_get_user_packs(id) < get_pcvar_num(ElektrikJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Elektrikleri Kesmek Icin Yetersiz.Gereken: %d TL ",Tag,get_pcvar_num(ElektrikJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs(id) - get_pcvar_num(ElektrikJB))
    			set_lights("a")
    			set_task(8.0,"Elektrik")
    			new name[33]
    			get_user_name(id,name,32)
    			ColorChat(0,GREEN,"[ %s ] Elektrikleri Kesti.",name)
    		}
    		case 4: {
    			if(!is_user_alive(id)) {
    				ColorChat(id,RED,"%s Baba Feryadimiz Yasarken Olenler Icin... [ Narkotik ]",Tag)
    				return PLUGIN_HANDLED
    			}
    			if(jb_get_user_packs(id) < get_pcvar_num(DepremJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL DEPREM Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(DepremJB))
    				return PLUGIN_HANDLED
    			}
    			new name[32]
    			new isim = get_user_name(id,name,31)
    			ColorChat(0,GREEN,"[ %s ] Isimli Oyuncu ^3Deprem Baslatti.",isim)
    			set_task(0.2,"Sarsinti",4701,"",0,"b")
    			set_task(6.0,"DepremiBitir",4702)
    			sarsiliyor = true
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(DepremJB))
    			
    		}
    		
    		case 5: {
    			if(!is_user_alive(id)) {
    				ColorChat(id,RED,"%s Yasiyor Olman Gerekiyor.",Tag)
    				return PLUGIN_HANDLED
    			}
    			if(jb_get_user_packs(id) < get_pcvar_num(YuksekJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Yuksek Ziplama Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(YuksekJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(YuksekJB))
    			set_user_gravity(id,0.5)
    			ColorChat(id,GREEN,"%s Yuksek Atlama Satin Aldin El Sonuna Kadar Kullanabilirsin.",Tag)
    		}
    		case 6: {
    			if(jb_get_user_packs(id) < get_pcvar_num(KalkanJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Kalkan Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(KalkanJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(KalkanJB))
    			give_item(id,"weapon_shield")
    			Bindle = true
    			set_task(10.0,"SilahKapat",id)
    			ColorChat(id,GREEN,"%s Kalkan Satin Aldin 10 Saniye Sonra Gidicek",Tag)
    			return PLUGIN_CONTINUE
    		}
    		case 7: {
    			if(jb_get_user_packs(id) < get_pcvar_num(BombaJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL 3 Adet El Bombasi Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(BombaJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(BombaJB))
    			give_item(id,"weapon_hegrenade")
    			cs_set_user_bpammo(id,CSW_HEGRENADE,3)
    		}
    		case 8: {
    			if(jb_get_user_packs(id) < get_pcvar_num(SessizJB)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Sessiz Kosma Almak Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(SessizJB))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(SessizJB))
    			set_user_footsteps(id,1)
    			set_user_maxspeed(id,500.0)
    			ColorChat(id,GREEN,"Sessiz Adimlarinla Ucuyorsun Haydi Aslanim Goster Kendini.")
    		}
    		case 9: {
    			if(jb_get_user_packs(id) < 6) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Hp Almak Icin Yetersiz.Gereken: 6 TL.",Tag)
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - 6)
    			set_user_health(id,get_user_health(id) + get_pcvar_num(HpMiktari))
    			ColorChat(id,GREEN,"%s %d HP Satin Aldin.",Tag, get_pcvar_num(HpMiktari))
    		}
    		case 10: {
    			if(secimyapildi[id] == 1) {
    				ColorChat(id,RED,"Zorlama 1 Kere Kullandin Daha Ney ?")
    				return PLUGIN_HANDLED
    			}
    			if(jb_get_user_packs(id) < get_pcvar_num(ElemanRevle)) {
    				ColorChat(id,GREEN,"%s Uzgunum TL Eleman Revlemek Icin Yetersiz.Gereken: %d TL.",Tag,get_pcvar_num(ElemanRevle))
    				return PLUGIN_HANDLED
    			}
    			jb_set_user_packs(id,jb_get_user_packs (id) - get_pcvar_num(ElemanRevle))
    			elemanrevle(id)
    		}
    		
    	}
    	
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    } 
    
    
    public elemanrevle(id)
    {
    	
    	new ad[32],sznum[6]
    	new menu = menu_create("\rTruVa \yEleman 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,callback)
    	new name[32];
    	get_user_name(id,name,31)
    	new tid = str_to_num(data)
    	get_user_name(tid,ad,31)
    	ColorChat(0,GREEN,"^3[ %s ] ^4Isimli T , ^3[ %s ] 'yi Revledi.",name,ad)
    	ExecuteHamB(Ham_CS_RoundRespawn,tid)
    	secimyapildi[id] = 1
    	
    	
    	return PLUGIN_HANDLED
    }
    
    
    public GodmodeAc(id)
    {
    	new players[32],inum;
    	static tempid;
    	get_players(players,inum)
    	for(new i;i<inum;i++) {
    		tempid = players[i]
    		if(get_user_team(tempid) ==2) {
    			set_user_godmode(tempid,1)
    		}
    	}
    	set_cvar_num("amx_show_activity", 0)
    	set_cvar_num("amx_show_activity", 2)
    }
    
    
    public AdamDogunca(id)
    {
    	set_task(2.0,"AyarReset",id)
    }
    public AyarReset(id)
    {
    	set_user_godmode(id,0)
    	set_user_gravity(id,1.0)
    	set_user_maxspeed(id,250.0)
    	set_user_footsteps(id,0)
    	secimyapildi[id] = 0
    }
    
    
    public Gorunmezlik(id)
    {
    	set_user_rendering(id, kRenderFxGlowShell, 255, 255, 0, kRenderTransAlpha, 0)
    	set_task(10.0,"Kapat",id)
    }
    
    
    public noclip3(id)
    {
    	set_user_noclip(id,0)
    }
    
    
    public Kapat(id)
    {
    	ColorChat(id,GREEN,"%s 10 Saniye Boyunca Aktif Olan Gorunmezlik Kapatildi.",Tag)
    	set_user_rendering(id, kRenderFxGlowShell, 0, 0, 0, kRenderTransAlpha, 255)
    }
    
    
    public Elektrik(id)
    {
    	set_lights("#OFF")
    }
    
    
    
    
    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 Yasak(id)
    {
    	if(Bindle) {
    		return PLUGIN_HANDLED
    	}
    	return PLUGIN_CONTINUE
    }
    
    
    public godmodekapat(id)
    {
    	set_user_godmode(id,0)
    	ColorChat(id,GREEN,"%s GODMODE Suresi Bitti.",Tag)
    }
    
    
    public Cikar(id)
    {
    	set_cvar_num("amx_show_activity",0)
    	new players[32],inum;
    	static tempid;
    	get_players(players,inum)
    	for(new i;i<inum;i++) {
    		tempid = players[i];
    		if(get_user_team(tempid) == 2) {
    			goumulu_oyuncuyu_cikar(tempid)
    		}
    	}
    	set_cvar_num("amx_show_activity",2)
    }
    
    
    public Saniye(id)
    {
    	set_hudmessage(255, 0, 0, -1.0, 0.29, 1, 6.0, 1.0)
    	show_hudmessage(id, "Satin Aldiginiz Ozelligin Bitmesine 3 Saniye Kaldi !")
    	set_task(1.0,"iki_saniye",id)
    }
    public iki_saniye(id)
    {
    	set_hudmessage(255, 0, 0, -1.0, 0.29, 1, 6.0, 1.0)
    	show_hudmessage(id, "Satin Aldiginiz Ozelligin Bitmesine 2 Saniye Kaldi !")
    	set_task(1.0,"bir_saniye",id)
    }
    
    
    public bir_saniye(id)
    {
    	set_hudmessage(255, 0, 0, -1.0, 0.29, 1, 6.0, 1.0)
    	show_hudmessage(id, "Satin Aldiginiz Ozelligin Bitmesine 1 Saniye Kaldi !")
    }
    
    
    public SilahKapat(id)
    {
    	strip_user_weapons(id)
    	give_item(id,"weapon_knife")
    	Bindle = false
    }
    public PluginShp(id)
    {
    	ColorChat(0,NORMAL,"^04[TruVa] : ^03Jb Menu'ye Giris Yapmak Icin ^04M ^03Tusuna Basiniz ^04")
    	set_task(120.0,"PluginShp",id)
    }
    
    
    
    
    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;
    	}
    	return PLUGIN_CONTINUE
    }
    public revive(id) {
    	strip_user_weapons(id)
    	give_item(id,"weapon_knife")
    }
    
    
    public konts(id) {
    	if(get_user_team(id) == 2) {
    		if(get_user_flags(id) & ADMIN_KICK) {
    			zombihp[id] = 5000;
    			insanhp[id] = 150;
    			//zm_menu(id)
    		}
    	}
    }
    //////////Meslek
    new meslek[33],hizver2[33];
    new bool:timeout[33];
    new healtime2[33];	
    public client_disconnect(id) {
    	if(meslek[id] == 3) remove_task(id+513)
    	if(meslek[id] == 4) remove_task(id+600)
    }
    public eRS() {
    	new players[32],inum;
    	get_players(players,inum)
    	for(new i;i<inum;i++) {
    		timeout[players[i]] = false;
    		healtime2[players[i]] = 2;
    	}
    }
    public HookCurWeapon2(id) {
    	if(hizver2[id]) {
    		set_pev(id, pev_maxspeed, 350.0)
    		fm_give_item(id,"item_longjump")
    	}
    	return PLUGIN_CONTINUE;
    }
    public OyuncuDogunca2(id) {
    	if(meslek[id] == 4) {
    		hizver2[id] = true
    	}
    	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) {
    	give_item(id,"weapon_hegrenade")
    	give_item(id,"weapon_smokegrenade")
    	give_item(id,"weapon_flashbang")
    }
    public ShowMenu(id) {
    	new menu = menu_create("\w[ \r~ \wTruVa Gaming -\yMeslek Menu \r~ \w]","menu_handler222")
    	
    	menu_additem(menu,"(Doktor) - \dHer El \r2 \dKisiye \yHP \dVerebilirsin.","1")
    	menu_additem(menu,"(Avci) - \dHer \rCT \dOldurdugunde \r10 \dJB Kazanirsin","2")
    	menu_additem(menu,"(TL Hirsizi) - \dHer \r20 \dDakikada 30 \dJB Kazanirsin","3")
    	menu_additem(menu,"(Speedy Gonzales) - \dDaha fazla \rHiz,\dDaha fazla \rZiplarsin \d(\r1 \dEl)","4")
    	menu_additem(menu,"(Bombaci) - \dButun \rBomba \dSetin Olur(Her \r3 \dElde bir) !!","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_handler222(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]) {
    				client_print(id,print_chat,"[TruVa Gaming - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 1) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginiz Zaten Doktor !")
    				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;
    			client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginizi Doktor Olarak Sectiniz !")
    			client_print(id,print_chat,"[TruVa Gaming  - Meslek] Can vermek istediginiz kisiye dogru bakarak E tusuna basin.")
    			
    		}
    		case 2:{
    			if(timeout[id]) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 2) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginiz Zaten Avci !")
    				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;
    			client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginizi Avci Olarak Sectiniz !")
    		}
    		case 3:{
    			if(timeout[id]) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 3) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginiz Zaten TL Hirsizi !")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 4) remove_task(id+513)
    			timeout[id] = true;
    			meslek[id] = 3;
    			client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginizi TL Hirsizi Olarak Sectiniz !")
    			set_task(600.0,"GiveJB2",id+600,_,_,"b")
    		}
    		case 4:{
    			if(timeout[id]) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 4) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginiz Zaten Speedy Gonzales !")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 3) remove_task(id+600)
    			timeout[id] = true;
    			meslek[id] = 4;
    			client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginizi Speedy Gonzales Olarak Sectiniz !")
    			fm_give_item(id,"item_longjump")
    			set_pev(id, pev_maxspeed, 350.0)
    		}
    		case 5: {
    			if(timeout[id]) {
    				client_print(id,print_chat,"[TruVa Gaming - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 5) {
    				client_print(id,print_chat,"[TruVa Gaming - Meslek] Mesleginiz Zaten Bombaci !")
    				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;
    			client_print(id,print_chat,"[TruVa Gaming - Meslek] Mesleginizi Bombaci Olarak Sectiniz !")
    			give_item(id, "weapon_hegrenade")
    			give_item(id, "weapon_flashbang")
    			give_item(id, "weapon_smokegrenade")
    		}
    		case 6: {
    			if(timeout[id]) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] En az bir el dolmadan meslek degistiremezsiniz.")
    				return PLUGIN_HANDLED
    			}
    			if(meslek[id] == 6) {
    				client_print(id,print_chat,"[TruVa Gaming  - Meslek] Mesleginiz Zaten Terminator !")
    				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;
    			client_print(id, print_chat,"[TruVa Gaming  - Meslek] Mesleginizi Terminator Olarak Sectiniz !")
    			set_user_health(id, 150)
    			set_user_armor(id, 150)
    		}
    	}
    	menu_destroy(menu)
    	return PLUGIN_HANDLED
    }
    public GiveJB(taskid) {
    	new id = taskid - 513;
    	jb_set_user_packs(id,jb_get_user_packs(id) + 30)
    	client_print(id,print_chat,"[TruVa Gaming - Meslek] 10 dakikadir oyunda oldugunuz icin. 30 TL kazandiniz !")
    }
    public GiveJB2(taskid) {
    	new id = taskid - 600;
    	jb_set_user_packs(id,jb_get_user_packs(id) + 30)
    	client_print(id,print_chat,"[TruVa Gaming  - Meslek] 10 dakikadir oyunda oldugunuz icin. 30 TL kazandiniz !")
    }
    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)
    		client_print(killer,print_chat,"[TruVa Gaming - Meslek] Bir CT oldurdugunuz icin 10 TL kazandiniz !")
    	}
    }
    goumulu_oyuncuyu_cikar(id) { 
    	new isim[32], origin[3] 
    	get_user_name(id,isim,31) 
    	get_user_origin(id, origin) 
    	origin[2] += 35 
    	fm_set_user_origin(id, origin) 
    	client_print(id, print_chat,"%s Gomulu Oldugun Yerden Cikarildin",isim ); 
    	g_gom[id] = false; 
    } 
    public fw_EmitSound( 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) {
    				client_print(id,print_chat,"[TruVa Gaming - Meslek] Hedef Cok Uzakta !")
    				client_print(id,print_center,"HEALTHKIT = %d/2",healtime2[id])
    			}
    			else {
    				if(!healtime2[id]) {
    					client_print(id,print_chat,"[TruVa Gaming - Meslek] Hakkiniz Doldu Sonraki Eli Bekleyin. !")
    					client_print(id,print_center,"HEALTHKIT = 0/2")
    				}
    				else {
    					--healtime2[id];
    					client_print(id,print_center,"HEALTHKIT = %d/2",healtime2[id])
    					set_user_health(Uid,get_user_health(Uid) + 20)
    					client_print(id,print_chat,"[TruVa Gaming - Meslek] Hedefe 20 HP Verildi !")
    				}
    			}
    		}
    	}
    }
    public yazicik(id)
    {
    	ColorChat(id,GREEN,"^3[Shop]^4 Jb Menuden Esya Almak Icin ^3Say'dan /jbmenu^4 Yaz & [^3M^4] Tusuna Bas")
    }
    public YeniTurcu() {
    	new players[32],inum;
    	static id
    	get_players(players,inum)
    	for(new i;i<inum;i++) {
    		id = players[i]
    		hizver[id] = false;
    		menukullanim[id] = false;
    		set_pev(id, pev_maxspeed, normal_hizli);
    		fm_set_user_rendering( id, _, 0, 0, 0, _, 0 );
    		strip_user_weapons(id);
    		give_item(id, "weapon_knife");
    		set_user_footsteps(id, 0);
    		mermisekmeme[id] = false;
    		katledici[id] = false;
    		kumar_oynadi[id] = false;
    	}
    }
    public SmenuKomut(id) {
    	if(get_user_flags(id) & ADMIN_SLOTMENU && !(menukullanim[id])){
    		SlotMenu(id);
    	}
    	else if(menukullanim[id]){
    		client_printc(id, "%s Zaten !gSlot Shop!nu daha once kullandiniz. Lutfen yeni turu bekleyin...", PREFIX);
    	}
    	else{
    		client_printc(id, "%s !gSlot Shop!nu kullanabilmeniz icin !gSlot!n olmaniz gerekir.", PREFIX);
    		set_task(0.30,"SlotMenu",id)
    		return PLUGIN_HANDLED;
    	}
    	return PLUGIN_HANDLED;
    }
    public SlotMenu(id) {
    	new menu = menu_create("TruVa Gaming\r // \wSlot Menu", "SlotMenu_devam");
    	
    	menu_additem(menu, "\w150 HP ve 150 Armor", "1", 0);
    	menu_additem(menu, "\wYercekimi \r( \d450 Gravity \r)", "2", 0);
    	menu_additem(menu, "\w 2x Hiz ", "3", 0);
    	menu_additem(menu, "\wGorunmezlik \r( \dSaydamlik \r)", "4", 0);
    	menu_additem(menu, "\wMermi Sekmeme","5", 0);
    	
    	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    	menu_display(id, menu, 0);
    }
    public SlotMenu_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_health(id, 150);
    			set_user_armor(id, 150);
    			menukullanim[id] = true;
    			
    			client_printc(id, "%s !tSlot Menu'den:!n !g150 HP!n ve !g150 Armor!n aldiniz", PREFIX);
    		}
    		case 2:{
    			set_user_gravity(id, 0.450);
    			menukullanim[id] = true;
    			
    			client_printc(id, "%s !tSlot Menu'den:!n !gYercekimi!n aldiniz", PREFIX);
    		}
    		case 3:{
    			menukullanim[id] = true;
    			hizver[id] = true;
    			
    			set_pev(id, pev_maxspeed, cok_hizli);
    			client_printc(id, "%s !tSlot Menu'den:!n !gHiz!n aldiniz", PREFIX);
    		}
    		case 4:{
    			fm_set_user_rendering(id, kRenderFxNone, 50, 50, 50, kRenderTransAdd, 50);
    			set_user_footsteps(id, 1);
    			menukullanim[id] = true;
    			
    			client_printc(id, "%s !tSlot Menu'den:!n !gGorunmezlik!n aldiniz", PREFIX);
    		}
    		case 5:{
    			mermisekmeme[id] = true;
    			menukullanim[id] = true;
    			
    			client_printc(id, "%s !tSlot Menu'den:!n !gMermi Sekmeme!n sectiniz.!tMermileriniz artik sekmeyecek!!!n.", PREFIX);
    		}
    	}
    	
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    }
    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;
    }
    stock client_printc(const id, const input[], any:...) {
    	new count = 1, players[32];
    	static msg[191];
    	vformat(msg, 190, input, 3);
    	
    	replace_all(msg, 190, "!n", "^x01"); 
    	replace_all(msg, 190, "!g", "^x04"); 
    	replace_all(msg, 190, "!t", "^x03"); 
    	
    	if (id) players[0] = id; else get_players(players, count, "ch");{
    		for (new i = 0; i < count; i++){
    			if (is_user_connected(players[i])){
    				message_begin(MSG_ONE_UNRELIABLE, get_user_msgid("SayText"), _, players[i]);
    				write_byte(players[i]);
    				write_string(msg);
    				message_end();
    			}
    		}
    	}
    }
    public destekbilgi(){
    	client_printc(0, "!g[%s] !nDestek Menuye Girmek icin !t/Destekmenu !nYaziniz..",SERVER) 
    }
    public bilgimenu(id){
    	new menu, Menuz[512]  
    	
    	formatex(Menuz, charsmax(Menuz), "\r[\yServer\r]\d-\r[\ySahibi\r]\d-\r[\yBilgileri\r]")  
    	menu = menu_create(Menuz, "bilmenu")  
    	
    	if(get_pcvar_num(facebilgi) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\y Facebook Adresimiz \r[\w%s\r]",FACEBOOK)  
    		menu_additem(menu, Menuz, "1")  
    	}
    	if(get_pcvar_num(skypebilgi) == 1) { 
    		formatex(Menuz, charsmax(Menuz), "\y Skype Adresim \r[\w%s\r]",SKYPE)
    		menu_additem(menu, Menuz, "2")
    		
    	}
    	if(get_pcvar_num(telefonbilgi) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\y Telefon Numaralarimiz \r[\w%s\r]",TELNO)
    		menu_additem(menu, Menuz, "3")
    		
    	}
    	if(get_pcvar_num(website) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\y Web Sitemiz \r[\w%s\r]",WEBS)
    		menu_additem(menu, Menuz, "4")
    		
    	}
    	formatex(Menuz, charsmax(Menuz), "\yCikis")  
    	menu_setprop(menu,MPROP_EXITNAME,Menuz)  
    	
    	menu_display(id, menu, 0)  
    	
    	
    	
    }
    public bilmenu(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: {
    			destekmenu(id)
    		}
    		case 2: { 
    			destekmenu(id)
    		}
    		case 3: {
    			destekmenu(id)
    		}
    		case 4: {
    			destekmenu(id)
    		}
    		
    	}
    	
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    }  
    public Ts3menu(id){
    	new menu = menu_create("\r[\yTeamSpeak\w3\r]\w-\r[\yMenu\r]", "tmenu")
    	menu_additem(menu, "\y TeamSpeak3 Adresimize \r[\wBaglan\r]", "1", 0);
    	menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d32bit\r]", "2", 0);
    	menu_additem(menu, "\y TeamSpeak3 \r[\windir\r] \r[\d64bit\r]", "3", 0);
    	
    	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    	menu_display(id, menu, 0);
    }
    public tmenu(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: {
    			console_cmd(id,"say /ts3")
    			Ts3menu(id)
    		}
    		case 2: {
    			////////TS3 Indir////////32Bit////////
    			Ts3menu(id)
    			show_motd(id,"https://dl.4players.de/ts/releases/3.0.13.1/TeamSpeak3-Client-win32-3.0.13.1.exe","Hosgeldiniz") 
    		}
    		case 3: {
    			Ts3menu(id)
    			////////TS3 Indir////////64Bit////////
    			show_motd(id,"https://dl.4players.de/ts/releases/3.0.13.1/TeamSpeak3-Client-win64-3.0.13.1.exe","Hosgeldiniz")
    		}
    	}
    	
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    }  
    //////////////KurallarPenceresi////////////////////
    public kuraltanimaz(id){
    	new menu = menu_create("\r[\yKurallar\r]\w-\r[\yMenu\r]", "amenu")
    	menu_additem(menu, "\yKurallar Penceresi \r[\wServer\r]", "1", 0);
    	menu_additem(menu, "\yKurallar Penceresi \r[\wAdminlik\r]", "2", 0);
    	menu_additem(menu, "\yKurallar Penceresi \r[\wSlotluk\r]", "3", 0);
    	
    	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL);
    	menu_display(id, menu, 0);
    }
    
    
    public amenu(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: {
    			////////Server//Kurallari/////////////
    			static motd[99991], len;
    			kuraltanimaz(id)
    			len = format(motd, 99990,"<body bgcolor=#000000><font color=#9999cefa><pre>");	
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^"> Serverin huzurunu bozan kisiler serverden uzaklastirilacaktir!</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">r Oyunda admin dahi olsa kimsenin ayricaligi yoktur!</font></h4></center>^n^n^n",KURAL1);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Oyucnularin hile acmasi - spam yapmasi yasaktir!</font></h4></center>^n^n^n",KURAL2);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Kufur etmek ban sebebidir!</font></h4></center>^n^n^n",KURAL3);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Komut verme onceligi adminlerdedir. Slotlar ondan sonra gelir!</font></h4></center>^n^n^n",KURAL4);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Oyunda adminlerin ve oyuncularin reklam yapmasi yasaktir!</font></h4></center>^n^n^n",KURAL5);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotlarin adminlerden habersiz kendini CT atmasi yasaktir</font></h4></center>^n^n^n",KURAL6);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">CT Koruma'nin 12 playerden assa alinmasi yasaktir! </font></h4></center>^n^n^n",KURAL7);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">TruVa Gaming JailBreak</font></h4></center>^n^n^n",KURAL8);
    			
    			show_motd(id, motd, "Server Kurallari");
    			
    			return 0;
    		}
    		case 2: { 
    			////////Adminlik//Kurallari/////////////
    			static motd[99991], len;
    			kuraltanimaz(id)
    			len = format(motd, 99990,"<body bgcolor=#000000><font color=#9999cefa><pre>");	
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Adminlerin T'deyken mic basmasi yasaktir!</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Kafasina gore serverde komuta gecen adminler uzaklastirilacaktir!</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Komut vermeyi bilmeyen adminlerin CT gecmesi yasaktir!</font></h4></center>^n^n^n",KKURAL1);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Eger serverde komutcu admin yoksa, Adminlerin servere komutcu almasi zorunludur</font></h4></center>^n^n^n",KKURAL2);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Oyuncularin sorularina duzgun bir uslupla cevap vermek, admnilerin gorevidir!</font></h4></center>^n^n^n",KKURAL3);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Adminlerin kafasina gore kisi banlama ozgurlugu yoktur, Gunluk log kaydi tutulmaktadir!</font></h4></center>^n^n^n",KKURAL4);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Bir admin, serverde hiçbir zaman kendi cikarlarini dusunmemelidir!</font></h4></center>^n^n^n",KKURAL5);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Eger bir admin kurallara uymuyorsa 1.kez uyarilir. 2.cide adminlikten atilir!</font></h4></center>^n^n^n",KKURAL6);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Dagdan kestim kereste</font></h4></center>^n^n^n",KKURAL7);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">TruVa Gaming JailBreak</font></h4></center>^n^n^n",KKURAL8);
    			
    			show_motd(id, motd, "Adminlik Kurallari");
    			
    			return 0;	
    		}
    		case 3: {
    			////////Slotluk//Kurallari/////////////
    			static motd[99991], len;
    			kuraltanimaz(id)
    			len = format(motd, 99990,"<body bgcolor=#000000><font color=#9999cefa><pre>");	
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^"> JB vermek yasaktir!</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Admin varken Team degistirmek yasaktir!</font></h4></center>^n^n^n",KKURAL1);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Kufur etmek serverin huzurunu bozmak yasaktir!</font></h4></center>^n^n^n",KKKURAL2);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Reklam yapmak yasaktir!</font></h4></center>^n^n^n",KKKURAL3);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotlarin temel gorevi serverde adminler yokken, servere goz kulak olmaktir!</font></h4></center>^n^n^n",KKKURAL4);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotlarin oyunlarda herhangi bir ayricaligi yoktur.</font></h4></center>^n^n^n",KKKURAL5);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotlarin yetkisi serverde kalma suresine gore arttirilacak ve adminlige kadar yukselecektir</font></h4></center>^n^n^n",KKKURAL6);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotlar serverde asla kendi cikarlarini dusunemez!</font></h4></center>^n^n^n",KKKURAL7);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">TruVa Gaming JailBreak</font></h4></center>^n^n^n",KKKURAL8);
    			
    			show_motd(id, motd, "Slotluk Kurallari");
    			
    			return 0;	
    		}
    	}
    	
    	menu_destroy(menu);
    	return PLUGIN_HANDLED;
    }  
    ////////////Destekmenu/////////////////
    public destekmenu(id){
    	new menu, Menuz[512]  
    	
    	formatex(Menuz, charsmax(Menuz), "\w[\rDestek\w]\d-\w[\rMenu\w]")  
    	menu = menu_create(Menuz, "menu_handler")  
    	
    	if(get_pcvar_num(iletisimsayfasi) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\yIletisim Bilgileri \r[\dFacebook,Skype\r]")  
    		menu_additem(menu, Menuz, "1")  
    	}
    	
    	if(get_pcvar_num(ts3sayfasi) == 1) { 
    		formatex(Menuz, charsmax(Menuz), "\yTeamspeak3 Menu \r[\dIndir,Baglan\r]")
    		menu_additem(menu, Menuz, "2")
    		
    	}
    	if(get_pcvar_num(serverhakkindabilgi) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\yServer Hakkinda Bilgi")
    		menu_additem(menu, Menuz, "3")
    		
    	}
    	if(get_pcvar_num(kusayfasi) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\yKurallar Menusu")
    		menu_additem(menu, Menuz, "4")
    	}
    	if(get_pcvar_num(fiyatmenu) == 1) {
    		formatex(Menuz, charsmax(Menuz), "\yFiyatlar")
    		menu_additem(menu, Menuz, "5")
    		
    	}
    	formatex(Menuz, charsmax(Menuz), "\yCikis")  
    	menu_setprop(menu,MPROP_EXITNAME,Menuz)  
    	
    	menu_display(id, menu, 0)
    }
    public menu_handler(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]
    	new adnm[64]
    	get_user_name(id, adnm, 63)
    	get_user_name(id,adminismi,31)
    	
    	
    	
    	switch(key){
    		case 1: {
    			bilgimenu(id)
    		}
    		case 2: {
    			Ts3menu(id) 
    		}
    		case 3: {
    			static motd[99991], len;
    			destekmenu(id)
    			len = format(motd, 99990,"<body bgcolor=#000000><font color=#9999cefa><pre>");	
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Server Hakkinda Bilgi</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Kurucular : xTroN7 ve Pirate dir</font></h4></center>^n^n^n",BILGI1);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">TruVa Gaming Jail Server</font></h4></center>^n^n^n",BILGI2);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Kurucular Skype : xTroN7 ve PirateKenzy7</font></h4></center>^n^n^n",BILGI3);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Web Sitemiz : www.JailServer.org</font></h4></center>^n^n^n",BILGI4);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotluk ucretsizdir. Skype ekleyiniz</font></h4></center>^n^n^n",BILGI5);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Normal Adminlik : 15 TL - Full Yetki Adminlik 20 TL</font></h4></center>^n^n^n",BILGI6);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Recebin Tavigi :) </font></h4></center>^n^n^n",BILGI7);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">TruVa Gaming JailBreak</font></h4></center>^n^n^n",BILGI8);
    			
    			show_motd(id, motd, "Server Hakkinda Bilgi");
    			
    			return 0;	
    		} 
    		case 4: {
    			kuraltanimaz(id)
    		} 
    		case 5: {
    			static motd[99991], len;
    			destekmenu(id)
    			len = format(motd, 99990,"<body bgcolor=#000000><font color=#9999cefa><pre>");	
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Baslangic Adminlik : 10 TL</font></h4></center>^n^n^n");
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Normal Adminlik : 15 TL</font></h4></center>^n^n^n",FIYAT1);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Full Yetki Adminlik : 20 TL</font></h4></center>^n^n^n",FIYAT2);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Slotluk Ucretsizdir</font></h4></center>^n^n^n",FIYAT3);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Admnilikler Aylik Olarak Hesaplanmistir</font></h4></center>^n^n^n",FIYAT4);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">www.JailServer.org</font></h4></center>^n^n^n",FIYAT5);
    			len += format(motd[len], 99990-len,"<center><h4><font color=^"pink^">Ata </font></h4></center>^n^n^n",FIYAT6);
    			
    			
    			show_motd(id, motd, "Fiyatlar.");
    			
    			return 0;
    			
    		} 
    	}
    	
    	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 }
    */
    Konu ata123456789 tarafından (28-12-13 Saat 21:04 ) değiştirilmiştir.

  2. #2
    binbaşı banned
    Üyelik tarihi
    Aug 2012
    Yer
    Bursa
    Mesajlar
    513
    Bahsedildi
    11 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    0

    Standart Cevap: Hata Yardım

    Resmi tam okuyamıyorum SMA dosyanızı eke alabilir misiniz?
    ata123456789 likes this.

  3. #3
    cavus er skc0011 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Feb 2013
    Mesajlar
    285
    Bahsedildi
    9 Mesaj
    Etiketlenmiş
    4 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Hata Yardım

    Alıntı ata123456789 Nickli Üyeden Alıntı Mesajı göster
    Bu hata alıyorum çözümü varmı yardım gerek
    "luckshop.amxx") (native "get_pcvar_num") - debug not enabled!
    L 12/28/2013 - 11:46:33: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

    plugins.ini de luckshop.amxx'in yanına debug yaz ver.

    böyle düzeltemeyiz.

    ata123456789 likes this.

  4. #4
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: Hata Yardım

    Sabit başlıkları kontrol edin.
    ata123456789 likes this.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


  5. #5
    er er ata123456789 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Dec 2013
    Mesajlar
    7
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Standart Cevap: Hata Yardım

    Alıntı akcaliberkk Nickli Üyeden Alıntı Mesajı göster
    Sabit başlıkları kontrol edin.
    kontrol eddim
    ​ATA ARSLAN

  6. #6
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: Hata Yardım

    PHP- Kodu:
    public FwdTakeDamage(victiminflictorattackerFloat:damagedamage_bits)
    {
        
        if(
    takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            return 
    HAM_SUPERCEDE
        
    }
        
        if (
    is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)    
        {
            switch(
    get_user_team(attacker))
            {
                case 
    1:
                {
                    if(
    TCuchillo[attacker])
                    {    
                        
                        
    SetHamParamFloat(4get_pcvar_float(TDefaultDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hTDefaultDano))
                        }
                    }
                    
                    if(
    Destapador[attacker])
                    { 
                        
    SetHamParamFloat(4get_pcvar_float(PaloDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hPaloDano))
                        }
                    }
                    
                    if(
    Hacha[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(HachaDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hHachaDano))
                        }
                    }
                    
                    if(
    Machete[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(MacheteDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMacheteDano))
                        }
                    }
                    
                    if(
    Motocierra[attacker])
                    {    
                        
    SetHamParamFloat(4get_pcvar_float(MotocierraDano))
                        
                        if(
    get_pdata_int(victim200) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMotocierraDano))
                        }
                    }
                }
                case 
    2:
                {
                    
    SetHamParamFloat(4get_pcvar_float(CTDefaultDano))
                    
                    if(
    get_pdata_int(victim75) == HIT_HEAD)
                    {
                        
    SetHamParamFloat(4get_pcvar_float(hCTDefaultDano))
                    }
                }
            }
        }
        if(
    is_user_connected(attacker) && initaliazed[attacker] && get_user_weapon(attacker) != CSW_KNIFE)
        {
            
    SetHamParamFloat(4damage random_float(1.6,1.8));
        }
        return 
    HAM_HANDLED

    ->

    PHP- Kodu:
    public FwdTakeDamage(victiminflictorattackerFloat:damagedamage_bits)
    {
        if(!
    is_valid_player(attacker) || !is_valid_player(victim)) return HAM_IGNORED
        
        
        
    if(takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            return 
    HAM_SUPERCEDE
        
    }
        
        if (
    is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)    
        {
            switch(
    get_user_team(attacker))
            {
                case 
    1:
                {
                    if(
    TCuchillo[attacker])
                    {    
                        
                        
    SetHamParamFloat(4get_pcvar_float(TDefaultDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hTDefaultDano))
                        }
                    }
                    
                    if(
    Destapador[attacker])
                    { 
                        
    SetHamParamFloat(4get_pcvar_float(PaloDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hPaloDano))
                        }
                    }
                    
                    if(
    Hacha[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(HachaDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hHachaDano))
                        }
                    }
                    
                    if(
    Machete[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(MacheteDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMacheteDano))
                        }
                    }
                    
                    if(
    Motocierra[attacker])
                    {    
                        
    SetHamParamFloat(4get_pcvar_float(MotocierraDano))
                        
                        if(
    get_pdata_int(victim200) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMotocierraDano))
                        }
                    }
                }
                case 
    2:
                {
                    
    SetHamParamFloat(4get_pcvar_float(CTDefaultDano))
                    
                    if(
    get_pdata_int(victim75) == HIT_HEAD)
                    {
                        
    SetHamParamFloat(4get_pcvar_float(hCTDefaultDano))
                    }
                }
            }
        }
        if(
    is_user_connected(attacker) && initaliazed[attacker] && get_user_weapon(attacker) != CSW_KNIFE)
        {
            
    SetHamParamFloat(4damage random_float(1.6,1.8));
        }
        return 
    HAM_HANDLED


    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


  7. #7
    er er ata123456789 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Dec 2013
    Mesajlar
    7
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Standart Cevap: Hata Yardım

    Değişiklik nedir anlıyamadım da
    Alıntı akcaliberkk Nickli Üyeden Alıntı Mesajı göster
    PHP- Kodu:
    public FwdTakeDamage(victiminflictorattackerFloat:damagedamage_bits)
    {
        
        if(
    takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            return 
    HAM_SUPERCEDE
        
    }
        
        if (
    is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)    
        {
            switch(
    get_user_team(attacker))
            {
                case 
    1:
                {
                    if(
    TCuchillo[attacker])
                    {    
                        
                        
    SetHamParamFloat(4get_pcvar_float(TDefaultDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hTDefaultDano))
                        }
                    }
                    
                    if(
    Destapador[attacker])
                    { 
                        
    SetHamParamFloat(4get_pcvar_float(PaloDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hPaloDano))
                        }
                    }
                    
                    if(
    Hacha[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(HachaDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hHachaDano))
                        }
                    }
                    
                    if(
    Machete[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(MacheteDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMacheteDano))
                        }
                    }
                    
                    if(
    Motocierra[attacker])
                    {    
                        
    SetHamParamFloat(4get_pcvar_float(MotocierraDano))
                        
                        if(
    get_pdata_int(victim200) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMotocierraDano))
                        }
                    }
                }
                case 
    2:
                {
                    
    SetHamParamFloat(4get_pcvar_float(CTDefaultDano))
                    
                    if(
    get_pdata_int(victim75) == HIT_HEAD)
                    {
                        
    SetHamParamFloat(4get_pcvar_float(hCTDefaultDano))
                    }
                }
            }
        }
        if(
    is_user_connected(attacker) && initaliazed[attacker] && get_user_weapon(attacker) != CSW_KNIFE)
        {
            
    SetHamParamFloat(4damage random_float(1.6,1.8));
        }
        return 
    HAM_HANDLED

    ->

    PHP- Kodu:
    public FwdTakeDamage(victiminflictorattackerFloat:damagedamage_bits)
    {
        if(!
    is_valid_player(attacker) || !is_valid_player(victim)) return HAM_IGNORED
        
        
        
    if(takim[attacker] == takim[victim] && takim[attacker] != && get_cvar_num("mp_friendlyfire")) {
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            
    ColorChat(attacker,RED,"%s Ayni Takimdasiniz Siddete Gerek Yok.")
            return 
    HAM_SUPERCEDE
        
    }
        
        if (
    is_valid_player(attacker) && get_user_weapon(attacker) == CSW_KNIFE)    
        {
            switch(
    get_user_team(attacker))
            {
                case 
    1:
                {
                    if(
    TCuchillo[attacker])
                    {    
                        
                        
    SetHamParamFloat(4get_pcvar_float(TDefaultDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hTDefaultDano))
                        }
                    }
                    
                    if(
    Destapador[attacker])
                    { 
                        
    SetHamParamFloat(4get_pcvar_float(PaloDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hPaloDano))
                        }
                    }
                    
                    if(
    Hacha[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(HachaDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hHachaDano))
                        }
                    }
                    
                    if(
    Machete[attacker])
                    {        
                        
    SetHamParamFloat(4get_pcvar_float(MacheteDano))
                        
                        if(
    get_pdata_int(victim75) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMacheteDano))
                        }
                    }
                    
                    if(
    Motocierra[attacker])
                    {    
                        
    SetHamParamFloat(4get_pcvar_float(MotocierraDano))
                        
                        if(
    get_pdata_int(victim200) == HIT_HEAD)
                        {
                            
    SetHamParamFloat(4get_pcvar_float(hMotocierraDano))
                        }
                    }
                }
                case 
    2:
                {
                    
    SetHamParamFloat(4get_pcvar_float(CTDefaultDano))
                    
                    if(
    get_pdata_int(victim75) == HIT_HEAD)
                    {
                        
    SetHamParamFloat(4get_pcvar_float(hCTDefaultDano))
                    }
                }
            }
        }
        if(
    is_user_connected(attacker) && initaliazed[attacker] && get_user_weapon(attacker) != CSW_KNIFE)
        {
            
    SetHamParamFloat(4damage random_float(1.6,1.8));
        }
        return 
    HAM_HANDLED

    Konu ata123456789 tarafından (29-12-13 Saat 01:45 ) değiştirilmiştir.
    ​ATA ARSLAN

  8. #8
    Nemesis* coadmin akcaliberkk - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Jun 2012
    Yer
    İstanbul
    Mesajlar
    2.027
    Bahsedildi
    105 Mesaj
    Etiketlenmiş
    10 Konu
    Tecrübe Puanı
    10

    Standart Cevap: Hata Yardım

    Sadece en başa bir satır ekledim

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.



    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.


    CS:GO ve CS 1.6 için ücretli eklenti yapılır.
    Plugin yazmak isteyenlere yardımcı olabilirim.
    Skype adresimden ulaşabilirsiniz:
    destek_596
    Steam: http://steamcommunity.com/id/ca-nemesis/


  9. #9
    JDM
    JDM çevrimdışı
    teğmen mod JDM - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Feb 2013
    Yer
    İstanbul/Bahçelievler
    Mesajlar
    841
    Bahsedildi
    5 Mesaj
    Etiketlenmiş
    9 Konu
    Tecrübe Puanı
    12

    Standart Cevap: Hata Yardım

    PHP- Kodu:
    if(!is_valid_player(attacker) || !is_valid_player(victim)) return HAM_IGNORED 
    ata123456789 likes this.
    Steam ID: STEAM_1:0:70428872
    Steam Name: Seps!s
    Skype: jdm.csplague

    Takdir ediliyorsan değil, Taklit ediliyorsan başarmışsın demektir.
    Albert Einstein

  10. #10
    er er ata123456789 - ait Kullanıcı Resmi (Avatar)
    Üyelik tarihi
    Dec 2013
    Mesajlar
    7
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    11

    Standart Cevap: Hata Yardım

    Sorun çözülmüştür teşekkür ederim
    ​ATA ARSLAN

Sayfa 1/2 12 SonSon

Benzer Konular

  1. Steam hata yardım edin
    By murderteam in forum CS Soru - Cevap
    Cevaplar: 0
    Son Mesaj: 31-03-13, 14:37

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