Kullanıcı Tag Listesi

4 sonuçtan 1 ile 4 arası
  1. #1
    cavus er
    Üyelik tarihi
    Jan 2012
    Mesajlar
    205
    Bahsedildi
    0 Mesaj
    Etiketlenmiş
    0 Konu
    Tecrübe Puanı
    9

    Standart Mac Botuna İstek Kod

    Kod:
    /*
                 _____                  
                /     \ 
               /  \ /  \
              /    Y    \
              \____|__  /
                      \/         
      
    
    	© 
    
    Iletisim :
    	 
    	* Matém
    		
    		
    
    		
    */
    
    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>
    #include <fakemeta>
    #include <fun>
    
    
    #define PLUGIN "Mac Botu"
    #define VERSION "4.1"
    #define AUTHOR "SG"
    
    
    #define TASK_LISTA 001
    #define TASK_CHE 002
    #define TASK_MENSAJE 003
    #define TASK_CAMBIO 004
    #define TASK_PRINT 005
    #define TASK_MSG 006
    #define TASK_RESTART 007
    #define TASK_RESTART5 008
    
    
    #define DECREASE_FRAG; 
    #if defined DECREASE_FRAG
    #define KILL_FLAG 0
    #else
    #define KILL_FLAG 1
    #endif
    
    
    #define PlugActivo (get_pcvar_num(g_RESULTADO))
    #define HudGris set_hudmessage(64, 64, 64, -1.0, 0.20, 2, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudVrd set_hudmessage(64, 255, 64, -1.0, -1.0, 1)
    #define HudRed set_hudmessage(255, 64, 64, -1.0, -1.0, 1)
    #define HudBlu set_hudmessage(64, 64, 255, -1.0, -1.0, 1)
    #define HudBlu2 set_hudmessage(64, 64, 255, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudVrd2 set_hudmessage(64, 255, 64, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudRed2 set_hudmessage(255, 64, 64, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)
    
    
    new const g_cmds[][]= {
        "!kick",
        ".kick",
        "/kick",
        "!map",
        ".map",
        "/map",
        "!ban",
        "/ban",
        ".ban",
        "!slay",
        "/slay",
        ".slay",
        "!slap",
        "/slap",
        ".slap",
        "!tm",
        ".tm",
        "/tm",
        "!km",
        ".km",
        "/km",
        "!bm",
        ".bm",
        "/bm",
        "!sm",
        ".sm",
        "/sm",
        "!teammenu",
        ".teammenu",
        "/teammenu",
        "!kickmenu",
        ".kickmenu",
        "/kickmenu",
        "!banmenu",
        ".banmenu",
        "/banmenu",
        "!slapmenu",
        ".slapmenu",
        "/slapmenu",
        "!d2",
        ".d2",
        "/d2",
        "!inf",
        ".inf",
        "/inf",
        "!nuke",
        ".nuke",
        "/nuke",
        "!cbble",
        ".cbble",
        "/cbble",
        "!tuscan",
        ".tuscan",
        "/tuscan",
        "!train",
        "/train",
        ".train",
        "!cplf",
        "/cplf",
        ".cplf",
        "!cplm",
        "/cplm",
        ".cplm",
        "!cplo",
        "/cplo",
        ".cplo",
        "!cpls",
        "/cpls",
        ".cpls",
        "!cvar",
        "/cvar",
        ".cvar",
        "!rcon",
        "/rcon",
        ".rcon"
    }
    
    
    /* pCvars */
    new g_RESULTADO, g_SiteTag, g_READY, g_SAY, g_soniditos , g_SRVTAG, g_welcomemsg, g_pwDEF, g_pPasswordPointer
    new tt_win, ct_win, total, totalCT, totalTT, globalCT, globalTT, ReadyCont, FraMitad, FraFinal, MasFraguer1, MasFraguer2
    new Pauses, cfgPub, cfgWarm, cfgClosed, cfgRates
    new OyunIsmi
    
    
    /* Strings */
    new szStag[32]
    new szSite[32]
    new szCpub[32]
    new szCwarm[32]
    new szCclosed[32]
    new szCrates[32]
    new szPwdef[32]
    new szOyunIsmi[32]
    
    
    /* Unban Menu*/
    new g_menuPosition[33]
    new g_menuSelect[33][64]
    new g_menuUnBanType[33]
    new g_menuUnBanLine[33][2]
    new g_menuUnBanText[33][8][32]
    new g_bannedCfgFile[2][] = {"banned.cfg","listip.cfg"}
    new g_coloredMenus
    
    
    /* Arrays */
    new bool:OnOff[33] = false
    new bool:EstoyReady[33]
    new bool:BorraLista
    new bool:mitad = false
    new bool:end = false
    new bool:pasarse = false
    new bool:ready = false
    new bool:ready2 = false
    
    
    /* Duck */
    new bool:g_bFakeDuck[33];
    new g_iFakeEnt;
    new const g_ciEntityName[] = "anti_doubleducker";
    new const g_ciCustomInvisibleModel[] = "models/w_awp.mdl";
    new g_duck;
    
    /* Cpt Say */
    new g_cptsay
    
    /* Team Ban */
    enum TeamData {
        CsTeams:TD_iTeam,
        TD_szInput[ 20 ]
    };
    
    new const g_iTeamData[ ][ TeamData ] = {
        { CS_TEAM_UNASSIGNED, "U" },
        { CS_TEAM_UNASSIGNED, "UNASSIGNED" },
        { CS_TEAM_T, "T" },
        { CS_TEAM_T, "TS" },
        { CS_TEAM_T, "TER" },
        { CS_TEAM_T, "TERR" },
        { CS_TEAM_T, "TERROR" },
        { CS_TEAM_T, "TERRORIST" },
        { CS_TEAM_T, "TERRORISTS" },
        { CS_TEAM_CT, "CT" },
        { CS_TEAM_CT, "CTS" },
        { CS_TEAM_CT, "COUNTERTERRORIST" },
        { CS_TEAM_CT, "COUNTERTERRORISTS" },
        { CS_TEAM_CT, "COUNTER-TERRORIST" },
        { CS_TEAM_CT, "COUNTER-TERRORISTS" },
        { CS_TEAM_SPECTATOR, "S" },
        { CS_TEAM_SPECTATOR, "SPEC" },
        { CS_TEAM_SPECTATOR, "SPECS" },
        { CS_TEAM_SPECTATOR, "SPECTATOR" },
        { CS_TEAM_SPECTATOR, "SPECTATORS" }
    };
    
    new Trie:g_tTeamData;
    
    new const g_szTeamNames[ CsTeams ][ ] = {
        "Unassigned",
        "Terrorist",
        "Counter-Terrorist",
        "Spectator"
    };
    
    new g_iMaxPlayers;
    
    
    /* Yeni Round */
    new rounds_elapsed;
     
    enum _teams {
    _terro,
    _ct
    }
     
    new g_iScore[_teams]
    
    /* Takim Kilitleme */
    new g_teamlock;
    
    public plugin_init() {
    	
    	register_plugin(PLUGIN, VERSION, AUTHOR)
    	
    	
    	/* ÖzeL Match Bot Menu */
    	register_clcmd("say !menu","PluginMenu")
    	register_clcmd("say /menu","PluginMenu")
    	register_clcmd("say .menu","PluginMenu")
    	
    	// Konsol Tanim Komutlari
    	register_concmd( "amx_banteam", "CmdBanTeam", ADMIN_BAN, "<team name> <time> [ban type=0] -- ban type: 0 = amx_ban, 1 = amx_banip" );		
    	register_concmd("aim_prac", "aim_prac", ADMIN_LEVEL_A, "aim_prac <on|off> or <1|0>")
    	
    	/* Takım Slaplama */
    	register_concmd( "say !slapt", "CmdSlapT", ADMIN_SLAY, "[damage = 0] - slaps all terrorist players" );
    	register_concmd( "say /slapt", "CmdSlapT", ADMIN_SLAY, "[damage = 0] - slaps all terrorist players" );
    	register_concmd( "say .slapt", "CmdSlapT", ADMIN_SLAY, "[damage = 0] - slaps all terrorist players" );
    	register_concmd( "say !slapct", "CmdSlapCT", ADMIN_SLAY, "[damage = 0] - slaps all counter-terrorist players" );
    	register_concmd( "say /slapct", "CmdSlapCT", ADMIN_SLAY, "[damage = 0] - slaps all counter-terrorist players" );
    	register_concmd( "say .slapct", "CmdSlapCT", ADMIN_SLAY, "[damage = 0] - slaps all counter-terrorist players" );
    	register_concmd( "say !slapall", "CmdSlapAll", ADMIN_SLAY, "[damage = 0] - slaps all players" );	
    	register_concmd( "say /slapall", "CmdSlapAll", ADMIN_SLAY, "[damage = 0] - slaps all players" );
    	register_concmd( "say .slapall", "CmdSlapAll", ADMIN_SLAY, "[damage = 0] - slaps all players" );
    	
             /* Takım Slaylama */
    	register_concmd("say !slayt", "cmdSlayT", ADMIN_SLAY, "- slays Ts");
    	register_concmd("say /slayt", "cmdSlayT", ADMIN_SLAY, "- slays Ts");
    	register_concmd("say .slayt", "cmdSlayT", ADMIN_SLAY, "- slays Ts");
    	register_concmd("say !slayct", "cmdSlayCT", ADMIN_SLAY, "- slays CTs");
    	register_concmd("say /slayct", "cmdSlayCT", ADMIN_SLAY, "- slays CTs");
    	register_concmd("say .slayct", "cmdSlayCT", ADMIN_SLAY, "- slays CTs");
    	register_concmd("say !slayall","cmdSlayAll", ADMIN_CFG)
    	register_concmd("say /slayall","cmdSlayAll", ADMIN_CFG)
    	register_concmd("say .slayall","cmdSlayAll", ADMIN_CFG)	
    	
    	/* HeadShot Mod */
    	register_concmd("say !hs","cmdHs", ADMIN_CFG)
    	register_concmd("say /hs","cmdHs", ADMIN_CFG)
    	register_concmd("say .hs","cmdHs", ADMIN_CFG)
    	register_concmd("say !nohs","cmdNoHs", ADMIN_CFG)
    	register_concmd("say /nohs","cmdNoHs", ADMIN_CFG)
    	register_concmd("say .nohs","cmdNoHs", ADMIN_CFG)
    	
    	/* Amxmodx Komutlari */	
    	register_concmd("say !off","off", ADMIN_CVAR)
    	register_concmd("say /off","off", ADMIN_CVAR)
    	register_concmd("say .off","off", ADMIN_CVAR)	
    	register_concmd("say !on","on", ADMIN_CVAR)
    	register_concmd("say /on","on", ADMIN_CVAR)
    	register_concmd("say .on","on", ADMIN_CVAR)
    	register_concmd("say /pause","PauseHandler", ADMIN_CFG)
    	register_concmd("say !pause","PauseHandler", ADMIN_CFG)
    	register_concmd("say .pause","PauseHandler", ADMIN_CFG)	
    	
    	/* Say Komutlari */
    	register_concmd("say /say", "cmdSayNosay", ADMIN_CVAR)
    	register_concmd("say !say", "cmdSayNosay", ADMIN_CVAR)
    	register_concmd("say .say", "cmdSayNosay", ADMIN_CVAR)
    	register_concmd("say .cptsay","cmdCptsay", ADMIN_CVAR)	
    	register_concmd("say !cptsay","cmdCptsay", ADMIN_CVAR)	
    	register_concmd("say /cptsay","cmdCptsay", ADMIN_CVAR)		
    	register_clcmd("say","nosay")
    	
    	/* Unban Komutları */
    	register_clcmd("say !unban","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_clcmd("say /unban","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_clcmd("say .unban","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_clcmd("say !bansil","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_clcmd("say /bansil","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_clcmd("say .bansil","cmdUnBanMenu", ADMIN_BAN, "- displays unban menu")
    	register_menucmd(register_menuid("UnBan STEAMID or IP?"),(1<<0|1<<1|1<<9),"actionUnBanMenuType")
    	register_menucmd(register_menuid("UnBan  Menu"),1023,"actionUnBanMenu")
    	
    	/* Duck Komutlari */
    	register_concmd("say !duck", "cmdDuckNoduck", ADMIN_CVAR)
    	register_concmd("say /duck", "cmdDuckNoduck", ADMIN_CVAR)
    	register_concmd("say .duck", "cmdDuckNoduck", ADMIN_CVAR)
    	
    	/* Password Komutlari */
    	register_concmd("say /nopass","cmdNopass", ADMIN_CFG)
    	register_concmd("say !nopass","cmdNopass", ADMIN_CFG)
    	register_concmd("say .nopass","cmdNopass", ADMIN_CFG)
    	register_concmd("say /nopw","cmdNopass", ADMIN_CFG)
    	register_concmd("say !nopw","cmdNopass", ADMIN_CFG)
    	register_concmd("say .nopw","cmdNopass", ADMIN_CFG)
    	register_clcmd("say","sayPass")
    	register_clcmd("say","SayPwkoy")
    	
    	/* Map Komutlari */
    	register_concmd("say /maps","MapsMenu", ADMIN_MAP)
    	register_concmd("say !maps","MapsMenu", ADMIN_MAP)
    	register_concmd("say .maps","MapsMenu", ADMIN_MAP)
    	register_concmd("say !restart","cmdMapRes", ADMIN_MAP)
    	register_concmd("say /restart","cmdMapRes", ADMIN_MAP)
    	register_concmd("say .restart","cmdMapRes", ADMIN_MAP)
    	
    	/* Maci Baslatma Komutlari */
    	register_concmd("say /335","cmdVale", ADMIN_CFG)
    	register_concmd("say !335","cmdVale", ADMIN_CFG)
    	register_concmd("say .335","cmdVale", ADMIN_CFG)
    	register_concmd("say /baslat","cmdVale", ADMIN_CFG)
    	register_concmd("say !baslat","cmdVale", ADMIN_CFG)
    	register_concmd("say .baslat","cmdVale", ADMIN_CFG)
    	
    	/*  ve Public Ayarlari */
    	register_concmd("say !mac","cmdMacAyari", ADMIN_CFG)
    	register_concmd("say /mac","cmdMacAyari", ADMIN_CFG)
    	register_concmd("say .mac","cmdMacAyari", ADMIN_CFG)
    	register_concmd("say !pub","cmdPubAyari", ADMIN_CFG)
    	register_concmd("say /pub","cmdPubAyari", ADMIN_CFG)
    	register_concmd("say .pub","cmdPubAyari", ADMIN_CFG)
    	
    	/* Taktik Süresi Ayarlari */
    	register_concmd("say !tt","cmdTaktik", ADMIN_CFG)
    	register_concmd("say /tt","cmdTaktik", ADMIN_CFG)
    	register_concmd("say .tt","cmdTaktik", ADMIN_CFG)
    	register_concmd("say !nott","cmdNoTaktik", ADMIN_CFG)
    	register_concmd("say /nott","cmdNoTaktik", ADMIN_CFG)
    	register_concmd("say .nott","cmdNoTaktik", ADMIN_CFG)
    	
    	/* Uzatma Ayarlari */
    	register_concmd("say !uzat","cmdUzat", ADMIN_CFG)
    	register_concmd("say /uzat","cmdUzat", ADMIN_CFG)
    	register_concmd("say .uzat","cmdUzat", ADMIN_CFG)
    
    	/* Restart Komutlari */
    	register_concmd("say /rr","cmdRR", ADMIN_CFG)
    	register_concmd("say !rr","cmdRR", ADMIN_CFG)
    	register_concmd("say .rr","cmdRR", ADMIN_CFG)
    	register_concmd("say /rr3","cmdRR3", ADMIN_CFG)
    	register_concmd("say !rr3","cmdRR3", ADMIN_CFG)
    	register_concmd("say .rr3","cmdRR3", ADMIN_CFG)
    	register_concmd("say /rr5","cmdRR5", ADMIN_CFG)
    	register_concmd("say !rr5","cmdRR5", ADMIN_CFG)
    	register_concmd("say .rr5","cmdRR5", ADMIN_CFG)
    	register_concmd("say !res","cmdRR", ADMIN_CFG)
    	register_concmd("say /res","cmdRR", ADMIN_CFG)
    	register_concmd("say .res","cmdRR", ADMIN_CFG)	
    	register_concmd("say /res3","cmdRR3", ADMIN_CFG)
    	register_concmd("say !res3","cmdRR3", ADMIN_CFG)
    	register_concmd("say .res3","cmdRR3", ADMIN_CFG)	
    	register_concmd("say /res5","cmdRR5", ADMIN_CFG)
    	register_concmd("say !res5","cmdRR5", ADMIN_CFG)
    	register_concmd("say .res5","cmdRR5", ADMIN_CFG)
    	
    	/* FriendlyFire Ayarlari */
    	register_concmd("say !ff","cmdFFAc", ADMIN_CFG)
    	register_concmd("say /ff","cmdFFAc", ADMIN_CFG)
    	register_concmd("say .ff","cmdFFAc", ADMIN_CFG)
    	register_concmd("say !noff","cmdFFKapa", ADMIN_CFG)
    	register_concmd("say /noff","cmdFFKapa", ADMIN_CFG)
    	register_concmd("say .noff","cmdFFKapa", ADMIN_CFG)
    	
    	/* Alltalk Ayarlari */
    	register_concmd("say !talk","cmdTalk", ADMIN_CFG)
    	register_concmd("say /talk","cmdTalk", ADMIN_CFG)
    	register_concmd("say .talk","cmdTalk", ADMIN_CFG)
    	register_concmd("say !notalk","cmdNoTalk", ADMIN_CFG)
    	register_concmd("say /notalk","cmdNoTalk", ADMIN_CFG)
    	register_concmd("say .notalk","cmdNoTalk", ADMIN_CFG)
    	register_clcmd("say","cmdAlltalk")
    	
    	/* sXe Ayarlari */
    	register_concmd("say !sxe","cmdSxe", ADMIN_CFG)
    	register_concmd("say /sxe","cmdSxe", ADMIN_CFG)
    	register_concmd("say .sxe","cmdSxe", ADMIN_CFG)
    	register_concmd("say !sxeop","cmdSxeop", ADMIN_CFG)
    	register_concmd("say /sxeop","cmdSxeop", ADMIN_CFG)
    	register_concmd("say .sxeop","cmdSxeop", ADMIN_CFG)	
    	register_concmd("say !nosxe","cmdNosxe", ADMIN_CFG)
    	register_concmd("say /nosxe","cmdNosxe", ADMIN_CFG)
    	register_concmd("say .nosxe","cmdNosxe", ADMIN_CFG)
    	
    	/* Takim Ayarlari */
    	register_concmd("say !degis","cmdDegis", ADMIN_CFG)
    	register_concmd("say /degis","cmdDegis", ADMIN_CFG)
    	register_concmd("say .degis","cmdDegis", ADMIN_CFG)
    	register_clcmd("chooseteam", "cmdCambioTeam")	
    	
    	/* Takim Degistirme */
    	register_concmd("say /takim", "cmdTeamLock", ADMIN_CVAR)
    	register_concmd("say !takim", "cmdTeamLock", ADMIN_CVAR)
    	register_concmd("say .takim", "cmdTeamLock", ADMIN_CVAR)	
    	
    	/* Takım Banlama */
    	register_concmd("say .bant","CmdBanT", ADMIN_CVAR)
    	register_concmd("say /bant","CmdBanT", ADMIN_CVAR)
    	register_concmd("say !bant","CmdBanT", ADMIN_CVAR)	
    	register_concmd("say .banct","CmdBanCT", ADMIN_CVAR)
    	register_concmd("say /banct","CmdBanCT", ADMIN_CVAR)
    	register_concmd("say !banct","CmdBanCT", ADMIN_CVAR)	
    	register_concmd("say .banspec","CmdBanS", ADMIN_CVAR)
    	register_concmd("say /banspec","CmdBanS", ADMIN_CVAR)
    	register_concmd("say !banspec","CmdBanS", ADMIN_CVAR)	
    	register_concmd("say /banall","CmdBanAll", ADMIN_CVAR)
    	register_concmd("say !banall","CmdBanAll", ADMIN_CVAR)
    	register_concmd("say .banall","CmdBanAll", ADMIN_CVAR)
    	
    	/* Takim Kickleme */
    	register_concmd( "say !kickt", "CmdKickT", ADMIN_KICK, "- kicks all terrorist players" );
    	register_concmd( "say /kickt", "CmdKickT", ADMIN_KICK, "- kicks all terrorist players" );
    	register_concmd( "say .kickt", "CmdKickT", ADMIN_KICK, "- kicks all terrorist players" );
    	register_concmd( "say !kickct", "CmdKickCT", ADMIN_KICK, "- kicks all counter-terrorist players" );
    	register_concmd( "say /kickct", "CmdKickCT", ADMIN_KICK, "- kicks all counter-terrorist players" );
    	register_concmd( "say .kickct", "CmdKickCT", ADMIN_KICK, "- kicks all counter-terrorist players" );
    	register_concmd( "say !kickall", "CmdKickAll", ADMIN_KICK, "- kicks all players" );
    	register_concmd( "say /kickall", "CmdKickAll", ADMIN_KICK, "- kicks all players" );
    	register_concmd( "say .kickall", "CmdKickAll", ADMIN_KICK, "- kicks all players" );
    	
    	/* Mac Bitirme */
    	register_concmd("say !bitir","cmdMacBitir", ADMIN_CFG)
    	register_concmd("say /bitir","cmdMacBitir", ADMIN_CFG)
    	register_concmd("say .bitir","cmdMacBitir", ADMIN_CFG)
    	
    	/* ScreenShot Komutlari */
    	register_clcmd("say .ss","cmdSs")	
    	register_clcmd("say /ss","cmdSs")
    	register_clcmd("say !ss","cmdSs")
    	register_clcmd("say .sst","cmdssT")
    	register_clcmd("say !sst","cmdssT")
    	register_clcmd("say /sst","cmdssT")
    	register_clcmd("say .ssct","cmdssCT")
    	register_clcmd("say /ssct","cmdssCT")
    	register_clcmd("say !ssct","cmdssCT")
    	register_clcmd("say !ssall","cmdAllss")	
    	register_clcmd("say /ssall","cmdAllss")	
    	register_clcmd("say .ssall","cmdAllss")	
    	register_clcmd("say !ssmenu","cmdSsmenu")
    	register_clcmd("say /ssmenu","cmdSsmenu")
    	register_clcmd("say .ssmenu","cmdSsmenu")	
    	g_iMaxPlayers = get_maxplayers( );	
    	
    	/* Demo Komutlari */
    	register_clcmd("say","SayDemo")
    	register_clcmd("say .stop","cmdStop")	
    	register_clcmd("say /stop","cmdStop")	
    	register_clcmd("say !stop","cmdStop")
    	
    	/* Para Gösterme */
    	register_clcmd("say !para", "cmdParaGoster");
    	register_clcmd("say /para", "cmdParaGoster");
    	register_clcmd("say .para", "cmdParaGoster");	
    	
    	/* Skor Öğrenme */
    	register_clcmd("say_team !skor","say_resultado")
    	register_clcmd("say_team /skor","say_resultado")
    	register_clcmd("say_team .skor","say_resultado")
    	register_clcmd("say !skor","say_resultado")
    	register_clcmd("say /skor","say_resultado")
    	register_clcmd("say .skor","say_resultado")
    	register_clcmd("say_team !durum","say_resultado")
    	register_clcmd("say_team /durum","say_resultado")
    	register_clcmd("say_team .durum","say_resultado")
    	/* Frag Kaydetme */
    	register_clcmd("say !frag","frag_part1")
    	register_clcmd("say /frag","frag_part1")
    	register_clcmd("say .frag","frag_part1")
        
    	register_clcmd("say /ready", "menu_ready")
    	register_clcmd("say", "chatFilter");
    	
    	
    	// Eventler
    	register_logevent("round_end", 2, "1=Round_End")  
    	register_event("HLTV", "nuevo_round", "a", "1=0", "2=0") 
    	register_event("TeamScore","captura_score","a")
    	register_event("TeamScore", "Event_TeamScore", "a")
    	register_clcmd("say .score1", "ClientCommand_SayScore")
    	register_event("HLTV","new_round","a","1=0","2=0");
    	register_event("TextMsg", "restart_round", "a", "2=#Game_will_restart_in");	
    	
    	
    	// pCvarLar
    	g_RESULTADO = register_cvar("mt_enable","0") 
    	g_READY = register_cvar("mt_ready","0") 
    	g_SAY = register_cvar("mt_nosay","0") 
    	g_SRVTAG = register_cvar("mt_servertag","[SG]")
    	g_SiteTag = register_cvar("mt_site","servergamerz.net")
    	g_soniditos = register_cvar("mt_sounds","1")
    	g_welcomemsg = register_cvar("mt_welcome","1")
    	g_pwDEF = register_cvar("mt_password","closed")
    	g_pPasswordPointer = get_cvar_pointer("sv_password") 
    	cfgPub = register_cvar("mt_cfg_public","public.cfg")
    	cfgWarm = register_cvar("mt_cfg_warmup","warmup.cfg")
    	cfgClosed = register_cvar("mt_cfg_closed","closed.cfg")
    	cfgRates = register_cvar("mt_cfg_rates","rates.cfg")
    	OyunIsmi = register_cvar("mt_gamename","servergamerz.net")
    	g_duck = register_cvar("mt_duck","0") 
    	g_cptsay = register_cvar("mt_cptsay","1") 
    	g_teamlock = register_cvar("mt_teamlock","0") 
    	
    	
    	// Stringsler
    	get_pcvar_string(g_SRVTAG,szStag,31)
    	get_pcvar_string(g_SiteTag,szSite,31)
    	get_pcvar_string(g_pwDEF,szPwdef,31)	
    	get_pcvar_string(cfgPub,szCpub,31)
    	get_pcvar_string(cfgWarm,szCwarm,31)	
    	get_pcvar_string(cfgClosed,szCclosed,31)
    	get_pcvar_string(cfgRates,szCrates,31)
    	get_pcvar_string(OyunIsmi,szOyunIsmi,31)
    	
    
    	// CvarLar
    	register_cvar("mm_author", AUTHOR, FCVAR_SERVER | FCVAR_SPONLY) 
    	register_cvar("mm_version", VERSION, FCVAR_SPONLY|FCVAR_SERVER)
    	set_task(180.0,"CheckSlots",_,_,_,"b")
    	
    	
    	// Forwadlar
    	register_forward( FM_GetGameDescription, "GameDesc" )	
    	register_forward(FM_PlayerPreThink,  "FM_PlayerPreThink_Pre",  0);
    	register_forward(FM_PlayerPostThink, "FM_PlayerPostThink_Pre", 0);
    	register_forward(FM_AddToFullPack,   "FM_AddToFullPack_Pre",   0);
    	register_forward(FM_AddToFullPack,   "FM_AddToFullPack_Post",  1);
    	
    	if( (g_iFakeEnt=engfunc(EngFunc_CreateNamedEntity, engfunc(EngFunc_AllocString, "func_wall")))>0 )
    	{
    		engfunc(EngFunc_SetModel, g_iFakeEnt, g_ciCustomInvisibleModel); 
    		set_pev(g_iFakeEnt, pev_classname,  g_ciEntityName); 
    		set_pev(g_iFakeEnt, pev_solid,      SOLID_NOT);
    		set_pev(g_iFakeEnt, pev_movetype,   MOVETYPE_NONE);
    		set_pev(g_iFakeEnt, pev_rendermode, kRenderTransAlpha); 
    		set_pev(g_iFakeEnt, pev_renderamt,  0.0); 
    	}
    	
    	
    	// Team Ban
    	g_tTeamData = TrieCreate( );
    	for( new i = 0; i < sizeof( g_iTeamData ); i++ ) {
    	TrieSetCell( g_tTeamData, g_iTeamData[ i ][ TD_szInput ], g_iTeamData[ i ][ TD_iTeam ] );
    	}
    	
    }
    
    public Event_TeamScore()
    {
    	
    	new szTeamName[2]
    	read_data(1, szTeamName, 1)
    	g_iScore[szTeamName[0] == 'T' ? _terro : _ct] = read_data(2)
    }
     
    public ClientCommand_SayScore(id)
    {
    	
    	client_print(0, print_chat,"Round %s", rounds_elapsed);
    	client_print(id, print_chat, "Score : Terrorists %d - %d CTs", g_iScore[_terro], g_iScore[_ct])
    	return PLUGIN_HANDLED
    } 
     
    public new_round(id)
    {
    	
    	rounds_elapsed += 1;
    	chat_color(0,"!g[%s] !yRound: !t%d !y-  [T : !g%i!y]  !y-  [CT : !g%i!y]", szStag, rounds_elapsed, tt_win , ct_win )
    	return PLUGIN_HANDLED
    }
    
    
    public restart_round()
    {
    	
    	rounds_elapsed = 0; 
    	g_iScore[_terro] = 0;
    	g_iScore[_ct] = 0;
    	tt_win = 0
    	ct_win = 0
    
    }  
    
    public chatFilter(id) {
        new message[128];
        read_argv(1, message, 127);
    
        for(new i=0;i<sizeof(g_cmds);i++) {
    
            new cmd[33];
            formatex(cmd,32,"%s",g_cmds[i])
            if(containi(message,cmd) == 0) {
    
                //admin level required
                switch(i) {
                    case 0,1,2,3,4,5,6,7,8: {
                        if(!(get_user_flags(id) & ADMIN_CVAR))
                            return PLUGIN_CONTINUE;
                    }
                }
                callBack(id, i);
                return PLUGIN_HANDLED;
            }
        }
        return PLUGIN_CONTINUE;
    }
    public callBack(id, cID) {
        new message[128], cmd[33], arg[65], arg2[65];
        read_argv (1, message, 128);
        parse(message,cmd,32,arg,64,arg2,64);
        replace(cmd,32,"ghsfg","");
    
        switch(cID) {
            case 0: { // kick
                console_cmd(id,"amx_kick %s", arg);
            }
            case 1: { // kick
                console_cmd(id,"amx_kick %s", arg);
            }
            case 2: { // kick
                console_cmd(id,"amx_kick %s", arg);
            }
            case 3: { // map
                console_cmd(id,"amx_map %s", arg);
            }
            case 4: { // map
                console_cmd(id,"amx_map %s", arg);
            }
            case 5: { // map
                console_cmd(id,"amx_map %s", arg);
            }
            case 6: { // banip
                new bantime=str_to_num(arg2);
    
                if(bantime==0)
                    bantime=1;
                console_cmd(id,"amx_banip %s %d", arg, bantime);
            }
            case 7: { // banip
                new bantime=str_to_num(arg2);
                
                if(bantime==0)
                    bantime=1;
                console_cmd(id,"amx_banip %s %d", arg, bantime);
            }
            case 8: { // banip
                new bantime=str_to_num(arg2);
                
                if(bantime==0)
                    bantime=1;
                console_cmd(id,"amx_banip %s %d", arg, bantime);
            }
            case 9: { // slay
                console_cmd(id,"amx_slay %s", arg);
            }
            case 10: { // slay
                console_cmd(id,"amx_slay %s", arg);
            }
            case 11: { // slay
                console_cmd(id,"amx_slay %s", arg);
            }
            case 12: { // slap
                console_cmd(id,"amx_slap %s 0", arg);
            }
            case 13: { // slap
                console_cmd(id,"amx_slap %s 0", arg);
            }
            case 14: { // slap
                console_cmd(id,"amx_slap %s 0", arg);
            }  
            case 15: { 
                console_cmd(id,"amx_teammenu");
            }
            case 16: { 
                console_cmd(id,"amx_teammenu");
            } 
            case 17: { 
                console_cmd(id,"amx_teammenu");
            } 	
            case 18: { 
                console_cmd(id,"amx_kickmenu");
            }
            case 19: { 
                console_cmd(id,"amx_kickmenu");
            } 
            case 20: { 
                console_cmd(id,"amx_kickmenu");
            } 	
            case 21: { 
                console_cmd(id,"amx_banmenu");
            }
            case 22: { 
                console_cmd(id,"amx_banmenu");
            } 
            case 23: { 
                console_cmd(id,"amx_banmenu");
            } 	
            case 24: { 
                console_cmd(id,"amx_slapmenu");
            }
            case 25: { 
                console_cmd(id,"amx_slapmenu");
            }  
            case 26: { 
                console_cmd(id,"amx_slapmenu");
            }
            case 27: { 
                console_cmd(id,"amx_teammenu");
            }
            case 28: { 
                console_cmd(id,"amx_teammenu");
            } 
            case 29: { 
                console_cmd(id,"amx_teammenu");
            }
            case 30: { 
                console_cmd(id,"amx_kickmenu");
            }
            case 31: { 
                console_cmd(id,"amx_kickmenu");
            } 
            case 32: { 
                console_cmd(id,"amx_kickmenu");
            } 
            case 33: { 
                console_cmd(id,"amx_banmenu");
            }
            case 34: { 
                console_cmd(id,"amx_banmenu");
            } 
            case 35: { 
                console_cmd(id,"amx_banmenu");
            }
            case 36: { 
                console_cmd(id,"amx_slapmenu");
            }
            case 37: { 
                console_cmd(id,"amx_slapmenu");
            }  
            case 38: { 
                console_cmd(id,"amx_slapmenu");	
            }
            case 39: { 
                console_cmd(id,"amx_map de_dust2");
            }
            case 40: { 
                console_cmd(id,"amx_map de_dust2");
            }	
            case 41: { 
                console_cmd(id,"amx_map de_dust2");
            }
            case 42: { 
                console_cmd(id,"amx_map de_inferno");
            }
            case 43: { 
                console_cmd(id,"amx_map de_inferno");
            }
            case 44: { 
                console_cmd(id,"amx_map de_inferno");
            }
            case 45: { 
                console_cmd(id,"amx_map de_nuke");
            }
            case 46: { 
                console_cmd(id,"amx_map de_nuke");
            }
            case 47: { 
                console_cmd(id,"amx_map de_nuke");
            }
            case 48: { 
                console_cmd(id,"amx_map de_cbble");
            }
            case 49: { 
                console_cmd(id,"amx_map de_cbble");
            }
            case 50: { 
                console_cmd(id,"amx_map de_cbble");
            }
            case 51: { 
                console_cmd(id,"amx_map de_tuscan");
            }
            case 52: { 
                console_cmd(id,"amx_map de_tuscan");
            }
            case 53: { 
                console_cmd(id,"amx_map de_tuscan");
            }
            case 54: { 
                console_cmd(id,"amx_map de_train");
            }
            case 55: { 
                console_cmd(id,"amx_map de_train");
            }
            case 56: { 
                console_cmd(id,"amx_map de_train");
            }
            case 57: { 
                console_cmd(id,"amx_map de_cpl_fire");
            }
            case 58: { 
                console_cmd(id,"amx_map de_cpl_fire");
            }
            case 59: { 
                console_cmd(id,"amx_map de_cpl_fire");
            }
            case 60: { 
                console_cmd(id,"amx_map de_cpl_mill");
            }
            case 61: { 
                console_cmd(id,"amx_map de_cpl_mill");
            }
            case 62: { 
                console_cmd(id,"amx_map de_cpl_mill");
            }
            case 63: { 
                console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 64: { 
                console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 65: { 
                console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 66: { 
                console_cmd(id,"amx_map de_cpl_strike");
            }
            case 67: { 
                console_cmd(id,"amx_map de_cpl_strike");
            }
            case 68: { 
                console_cmd(id,"amx_map de_cpl_strike");
            }
            case 69: { 
                console_cmd(id,"amx_cvar %s %s", arg,arg2);
            }
            case 70: { 
                console_cmd(id,"amx_cvar %s %s", arg,arg2);
            }
            case 71: { 
                console_cmd(id,"amx_cvar %s %s", arg,arg2);
            }
            case 72: { 
                console_cmd(id,"amx_rcon %s %s", arg,arg2);
            }
            case 73: { 
                console_cmd(id,"amx_rcon %s %s", arg,arg2);
            }
            case 74: { 
                console_cmd(id,"amx_rcon %s %s", arg,arg2);
            }	
        }
        return PLUGIN_HANDLED;
    }
    
    public plugin_end( ) {
        TrieDestroy( g_tTeamData );
    }
    
    
    public GameDesc( ) {
    	
    	forward_return(FMV_STRING,szOyunIsmi)
    	return FMRES_SUPERCEDE
    	
    }
    public client_disconnect(id) { 
    	
    	g_bFakeDuck[id] = false;
    	
    	OnOff[id] = false
    	if(EstoyReady[id]) {
    		EstoyReady[id] = false;
    		ReadyCont--;
    	}
    } 
    
    public plugin_cfg() {
    	
    	if(is_plugin_loaded("Pause Plugins") != -1)
    		server_cmd("amx_pausecfg add ^"%s^"", PLUGIN)
    }
    
    public off() {
    	
    	server_cmd("amx_off")
    	
    	chat_color(0,"!g[%s] !yAmxmodx !tKapatildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public on() {
    	
    	server_cmd("amx_on")
    		
    	chat_color(0,"!g[%s] !yAmxmodx !tAcildi.",szStag)
    		
    	return PLUGIN_HANDLED
    }
    
    
    public captura_score() {
    	
    	if PlugActivo {
    		
    		new team[16],Float:score
    		read_data(1,team,15)
    		read_data(2,score)
    		
    		if(equal(team,"CT"))
    			ct_win = floatround(score)
    		
    		
    		if(equal(team,"TERRORIST"))
    			tt_win = floatround(score)
    		
    		total = ct_win + tt_win	
    	}
    }
    
    public nuevo_round(id){
    	
    	if (get_pcvar_num(g_READY)) 
    	{
    		ready = true
    		ready2 = true
    	}
    	else
    	ready = false 
    	
    	
    	if (ready) {
    		
    		set_task(1.0, "ActualizaLista", TASK_LISTA, _, _, "b")
    		set_task(1.0, "CheckLista", TASK_CHE, _, _, "b")
    		set_task(2.0, "mensaje", TASK_MENSAJE)
    		client_cmd(id,"say /ready")
    	}
    }
    
    public round_end(){
    	
    	
    	if PlugActivo   {	
    		
    		if (total == 15 && (!mitad)) {
    			
    			totalCT = tt_win
    			totalTT = ct_win
    			
    			FraMitad = El_mas_Frager();	
    			MasFraguer1 = get_user_frags(FraMitad)
    			
    			if (ready2) {
    				set_pcvar_num (g_READY, 1)
    			}
    			set_task(1.0, "cambio_teams", TASK_CAMBIO)
    
    			chat_color(0,"!g[%s] !g1 RESTART!t'tan Sonra 2.Devre Baslayacak.",szStag)
    
    			server_cmd("sv_restart 5")
    			
    			mitad = true
    			
    			chat_color(0,"!g[%s] !yTakimlar Degistiriliyor !gCounter-Terrorists !y: !t%i !y- !gTerrorists !y: !t%i !y.",szStag,totalTT,totalCT)
    			
    			set_task(1.0, "mitadmsg")
    			
    			globalCT = totalCT
    			globalTT = totalTT
    			tt_win = 0
    			ct_win = 0
    			
    		}
    	}
    	if (mitad) {
    		
    		if (ct_win + totalCT == 16){
    			chat_color(0,"!g[%s] !yCounter-Terorists !gMaci Kazandi.",szStag)
    			
    			HudBlu
    			show_hudmessage(0,"Counter-Teroristler Kazandi.")	
    					
    			end = true
    			mitad = false
    		}
    		else if (tt_win + totalTT == 16)
    		{
    			chat_color(0,"!g[%s] !yTerorists !gMaci Kazandi.",szStag)
    			HudRed
    			show_hudmessage(0,"Teroristler Kazandi.")
    			
    			
    			end = true
    			mitad = false
    		}
    		else if (tt_win + totalTT == 15 && ct_win + totalCT == 15)
    		{
    			HudVrd
    			show_hudmessage(0, "Mac Berabere Sonuclandi.")
    			
    			
    			end = true
    			mitad = false
    		}
    		if (end){
    			
    			chat_color(0,"!g[%s] !yMac Sonucu : !gCounter-Terrorists : !t%i  !y-  !g-Terrorists : !t%i",szStag, ct_win + totalCT,tt_win + totalTT)
    			
    			FraFinal = El_mas_Frager();
    			MasFraguer2 = get_user_frags(FraFinal)		
    			set_task(5.0, "mas_fraguero1")
    			set_task(5.0, "mas_fraguero2")
    			set_task(7.0, "cmdMacBitir2")
    			
    			globalCT = totalCT + ct_win
    			globalTT = totalTT + tt_win
    			
    			end = false
    			pasarse = false
    			
    		}
    	}
    }
    
    public cmdVale(id, level, cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		
    	return PLUGIN_HANDLED;
    	
    	pasarse = true
    	remove_task(TASK_LISTA)
    	remove_task(TASK_CHE)
    	set_pcvar_num (g_READY, 0)
    	EstoyReady[id] = false
    	ReadyCont = 0
    	
    	new pass[32]
    	get_cvar_string("sv_password",pass,sizeof(pass) - 1)
    	
    	if(!mitad) {	
    		
    		tt_win = 0
    		ct_win = 0
    		total = 0
    		totalCT = 0
    		totalTT = 0
    		end = false
    		
    		set_task(0.1, "print", TASK_PRINT)
    	}	
    	else
    		
    	tt_win = 0
    	ct_win = 0
    	ready2 = false
    	set_task(0.1, "print", TASK_PRINT)  
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdNuevo (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  	
    		return PLUGIN_HANDLED;
    	
    	tt_win = 0
    	ct_win = 0
    	total = 0
    	totalCT = 0
    	totalTT = 0
    	globalCT = 0
    	globalTT = 0
    	end = false
    	mitad = false
    	EstoyReady[id] = false
    	ReadyCont = 0
    	set_pcvar_num (g_READY, 0)
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdRR (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	server_cmd("sv_restart 1")
    	
    	new admin_name[32]
    	get_user_name(id , admin_name , 31 )
    	chat_color(0,"!g%s !t1 !ySaniyelik Restart Atti.",admin_name)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdRR3 (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	server_cmd("sv_restart 3")
    	
    	new admin_name[32]
    	get_user_name(id , admin_name , 31 )
    	chat_color(0,"!g%s !t3 !ySaniyelik Restart Atti.",admin_name)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdRR5 (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	server_cmd("sv_restart 5")
    	
    	new admin_name[32]
    	get_user_name(id , admin_name , 31 )
    	chat_color(0,"!g%s !t5 !ySaniyelik Restart Atti.",admin_name)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdNopass (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	set_pcvar_string(g_pPasswordPointer, "")
    	
    	chat_color(0,"!g[%s] !yServer Sifresi !tKaldirildi.",szStag)	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CheckSlots (id){
    	
    	new Players = get_playersnum(1)
    	if(Players <= 5){
    		
    		/*tt_win = 0
    		ct_win = 0
    		total = 0
    		totalCT = 0
    		totalTT = 0
    		globalCT = 0
    		globalTT = 0
    		end = false
    		mitad = false*/
    		EstoyReady[id] = false
    		ReadyCont = 0
    		set_pcvar_num (g_READY, 0)
    		
    	}
    }
    
    public menu_ready(id) {
    	
    	if (!ready) 
    		
    	return PLUGIN_HANDLED;
    	
    	new menu, Menuz[512]
    	formatex(Menuz, charsmax(Menuz), "%L", id, "MM_READYMENU_TITLE")
    	menu = menu_create(Menuz, "abre_menu")
    	formatex(Menuz, charsmax(Menuz), "%L", id, "MM_READYMENU_READY")
    	menu_additem(menu, Menuz, "1", 0)
    	formatex(Menuz, charsmax(Menuz), "%L", id, "MM_READYMENU_NOTREADY")
    	menu_additem(menu, Menuz, "2", 0)	
    	menu_setprop(menu, MPROP_EXIT, MEXIT_ALL)
    	formatex(Menuz, charsmax(Menuz), "%L", id, "MM_ALLMENUS_CLOSE")
    	menu_setprop(menu,MPROP_EXITNAME,Menuz)
    	
    	menu_display(id, menu, 0)
    	return PLUGIN_HANDLED
    }
    
    public abre_menu(id, menu, item)  {
    	
    	if (item == MENU_EXIT) {
    		
    		menu_destroy(menu)
    		return PLUGIN_HANDLED
    	}
    	new data[6], iName[64]
    	new access, callback
    	menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)
    	
    	new key = str_to_num(data)
    	switch(key)
    	{
    		case 1:{
    			
    			if(!EstoyReady[id]) {
    				EstoyReady[id] = true;
    				ReadyCont++;
    			}
    		}
    		case 2:{
    			
    			if(EstoyReady[id]) {
    				EstoyReady[id] = false;
    				ReadyCont--;
    			}
    		}
    	}
    	menu_destroy(menu)
    	return PLUGIN_HANDLED
    }
    
    El_mas_Frager() {
    	
    	static players[32];
    	new num, i, id;
    	get_players(players, num);
    	
    	new acumfrag;
    	
    	for(i = 0; i < num; i++)
    	{
    		id = players[i];
    		
    		if(!acumfrag) acumfrag = players[0];
    		
    		if(get_user_frags(id) > get_user_frags(acumfrag))
    			
    		acumfrag = id;
    	}
    	return acumfrag;
    }
    
    public print(){
    	
    	set_task (1.0,"cinco")
    	set_task (2.0,"cuatro")
    	set_task (3.0,"tres")
    	set_task (4.0,"dos")
    	set_task (5.0,"uno")
    	set_task (6.0,"valeria")
    	
    	set_task(7.0, "RR1")
    	set_task(11.0, "RR3")
    	set_task(13.0, "RR5")
    	set_task(14.0, "MacAyariYap")	
    	
    	remove_task(TASK_PRINT)
    	set_task(19.0, "msg", TASK_MSG)
    }
    
    public say_resultado(){
    	
    	if PlugActivo {
    		
    	if(!mitad){
    			
    	chat_color(0,"!g[%s] !ySkorlar : !gCounter-Terrorists !t: %i  !y- !gTerrorists !y: !t: %i",szStag,ct_win,tt_win)
    	}
    	else if (mitad) {
     	chat_color(0,"!g[%s] !ySkorlar : !gCounter-Terrorists !t:%i  !y- !gTerrorists !y: !t%i",szStag,ct_win + totalCT,tt_win + totalTT)
    			
    	}
    	}
    }
    
    public sayPass(id){
    	
    	new said[192]
    	read_args(said,191)
    	
    	new pass[32]
    	get_cvar_string("sv_password",pass,sizeof(pass) - 1)
    	
    	if(containi(said,".pw") != -1 || containi(said,"!pw") != -1 || containi(said,"/pw") != -1 || containi(said,"!pwal") != -1 || containi(said,"/pwal") != -1 || containi(said,".pwal") != -1 ){
    		
    		if(pass[0])
    		{
    			chat_color(id,"!g[%s] !yServer Password !g: !t%s",szStag, pass)
    			client_cmd(id,"password ^"%s^"",pass)
    		}
    		else
    			chat_color(id,"!g[%s] !yServerde Sifre !tYok!y.",szStag)
    		
    	}
    }
    
    public nosay(id){
    	
    	if(!get_pcvar_num(g_SAY))
    		return PLUGIN_CONTINUE
    	
    	if(get_user_flags(id) & ADMIN_CFG)
    		return PLUGIN_CONTINUE
    	
    	new said[192]
    	read_args(said,191)
    
    	if (!get_pcvar_num(g_cptsay)) {
    		
    	static szName[32]
    	get_user_name(id, szName, charsmax(szName))
    	if( contain(szName, "Cpt") != -1  || contain(szName, "CPT") != -1 || contain(szName, "cpt") != -1 ||  contain(szName, "cPt") != -1  ||  contain(szName, "cpT") != -1   )	
    	{	
    	return PLUGIN_CONTINUE
    }		
    }
    	chat_color(id, "!g[%s] !ySay Konusmalari !tKapalidir.",szStag)
    	
    	return PLUGIN_HANDLED
    	
    } 
    
    public cmdCambioTeam(id){
    	
    	if (!get_pcvar_num(g_teamlock)) {
    		
    		pasarse = false
    	}
    	
    	if (!pasarse)  
    		return PLUGIN_CONTINUE;
    	
    	if (cs_get_user_team(id) == CS_TEAM_SPECTATOR)
    		return PLUGIN_HANDLED;
    	
    	chat_color(id,"!g[%s] !yTakim Degistirme !tKapalidir.",szStag)
    	
    	return PLUGIN_HANDLED;
    }
    
    public cambio_teams(){
    	
    	new players[32], num
    	get_players(players, num)
    	
    	new player
    	for(new i = 0; i < num; i++)
    	{
    		player = players[i]
    		
    		if(cs_get_user_team(player) == CS_TEAM_T)
    		{
    			cs_set_user_team(player, CS_TEAM_CT)
    		}
    		else if(cs_get_user_team(player) == CS_TEAM_CT)
    		{
    			cs_set_user_team(player, CS_TEAM_T)
    		}
    	}
    	remove_task(TASK_CAMBIO)
    }
    
    public ActualizaLista()
    {
    	if(!get_pcvar_num(g_RESULTADO))
    		return;
    	
    	new MsgText[96];
    	
    	for(new i = 1; i <= 32; i++)
    	{
    		if(is_user_connected(i) && EstoyReady[i])
    		{
    			
    			new PlayerName[32];
    			get_user_name(i, PlayerName, sizeof(PlayerName) - 1)
    			
    			set_hudmessage(200, 100, 0, 0.020000,0.250000, 0, 0.0, 1.1, 0.0, 0.0, -1)
    			show_hudmessage(0, "%L",LANG_PLAYER,"MM_HUD_READY", ReadyCont , TodosLosPlayers())
    			
    			format(MsgText, 95, "%s^n%s", MsgText, PlayerName)
    		}
    	}
    	
    	set_hudmessage(255, 255, 255, 0.020000,0.250000, 0, 0.0, 1.1, 0.0, 0.0, -1)
    	
    	if(ReadyCont > 0)
    		show_hudmessage(0, MsgText)
    	
    	else
    		show_hudmessage(0, "%L",LANG_PLAYER,"MM_HUD_READYTOPLAY")
    }
    
    public CheckLista(id)
    {
    	if(!get_pcvar_num(g_RESULTADO))
    		return;
    	
    	if(ReadyCont != 0 && ReadyCont == TodosLosPlayers() && !BorraLista)
    	{
    		remove_task(TASK_LISTA)
    		
    		BorraLista = true;
    		set_task (0.1, "cmdVale")
    	}
    	
    	if(BorraLista && ReadyCont != TodosLosPlayers())
    	{
    		BorraLista = false;
    		set_task(1.0, "ActualizaLista", TASK_LISTA, _, _, "b");
    	}
    }
    
    TodosLosPlayers() {
    	
    	new Players;
    	
    	for(new i = 1; i <= 32; i++)
    	{
    		if(is_user_connected(i))
    			Players++;
    	}
    	
    	return Players;
    }  
    
    public RR1()
    {
    	HudGris
    	show_hudmessage(0, "%s",szSite)
    	server_cmd("sv_restart 1")
    	chat_color(0,"!g[%s] !t- !y1.RESTART: !g3 !tSaniye.", szStag)
    }
    
    public RR3()
    {
    	HudBlu2
    	show_hudmessage(0, "%s",szSite)
    	server_cmd("sv_restart 1")
    	chat_color(0,"!g[%s] !t- !y2.RESTART: !g3 !tSaniye.", szStag)
    }
    
    public RR5()
    {
    	HudRed2
    	show_hudmessage(0, "%s",szSite)
    	server_cmd("sv_restart 5")
    	chat_color(0,"!g[%s] !t- !y3.RESTART: !g5 !tSaniye.", szStag)
    	client_cmd(0,"spk ^"events/round_start^"")
    }
    
    public cinco() {
    	
    	if (get_pcvar_num(g_soniditos) == 1 ) {
    		client_cmd(0, "spk ^"fvox/five^"")
    		
    		chat_color(0,"!g[%s] !yMac Baslatma Komutu Uygulandi...",szStag)
    		
    	}
    	set_hudmessage(200, 100, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s ^n Mac Basliyor!^n [ 5 ]",szSite)
    	
    }
    public cuatro() {
    	if (get_pcvar_num(g_soniditos) == 1 ) {
    		client_cmd(0, "spk ^"fvox/four^"")
    		
    	}
    	set_hudmessage(200, 100, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s ^n Mac Basliyor!^n [ 4 ]",szSite)
    	
    	new pass[32]
    	get_cvar_string("sv_password",pass,sizeof(pass) - 1)
    
    	
    	chat_color(0,"!g[%s] !yTum Ayarlar Yuklendi.",szStag)
    	
    	chat_color(0,"!g[%s] !tMac Basliyor.",szStag)
    }
    public tres() {
    	if (get_pcvar_num(g_soniditos) == 1 ) {
    		client_cmd(0, "spk ^"fvox/three^"")
    		
    	}
    	set_hudmessage(200, 100, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s ^n Mac Basliyor!^n [ 3 ]",szSite)
    }
    
    public dos() {
    	if (get_pcvar_num(g_soniditos) == 1 ) {
    		client_cmd(0, "spk ^"fvox/two^"")
    		
    	}
    	set_hudmessage(200, 100, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s ^n Mac Basliyor!^n [ 2 ]",szSite)
    }
    public uno() {
    	if (get_pcvar_num(g_soniditos) == 1 ) {
    		client_cmd(0, "spk ^"fvox/one^"")
    		
    	}
    	set_hudmessage(200, 100, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s ^n Mac Basliyor!^n [ 1 ]",szSite)
    }
    
    public valeria() {	
    	set_hudmessage(255, 0, 0, -1.0, -1.0, 1, 0.0, 2.0, 0.0, 0.0, 3)
    	show_hudmessage(0, "%s",szSite)
    	chat_color(0,"!g[%s] 3 RESTART'!gtan sonra mac baslayacak...", szStag)
    }
    public mitadmsg(){
    	
    	HudVrd
    	show_hudmessage(0, "Takimlar Degistiriliyor ^n1.Devre ^nCounter-Terrorists : %i - Terrorists : %i", globalTT, globalCT)
    }
    
    public mas_fraguero1() {
    	
    	new name[32]
    	get_user_name(FraMitad, name, sizeof(name) - 1)
    	
    	set_hudmessage(64, 64, 64, -1.0, 0.21, 2, 0.02, 16.00, 0.01, 0.1, -1)
    	show_hudmessage(0, "1.Devre En Iyi Frag ^n%s = %i Frag", name, MasFraguer1 )
    }  
    
    public mas_fraguero2() {
    	
    	new name[32]
    	get_user_name(FraFinal, name, sizeof(name) - 1)
    	
    	set_hudmessage(64, 64, 64, -1.0, 0.29, 2, 0.02, 16.00, 0.01, 0.1, -1)
    	show_hudmessage(0, "2.Devre En Iyi Frag ^n%s = %i Frag", name, MasFraguer2 )
    }
    
    public mensaje() {
    	
    	chat_color(0,"%L",LANG_PLAYER,"MM_CHAT_READY",szStag)
    	
    	remove_task(TASK_MENSAJE)
    }  
    
    public msg(){
    	
    	if(!mitad){
    		
    		new pass[32]
    		get_cvar_string("sv_password",pass,sizeof(pass) - 1)	
    		
    		HudGris
    		show_hudmessage(0, "%s ^nIyi Eglenceler & Mac Basladi ^nPassword : %s", szSite,pass)
    	}
    	
    	else if (mitad) {
    		
    		new pass[32]
    		get_cvar_string("sv_password",pass,sizeof(pass) - 1)		
    		
    		HudGris
    		show_hudmessage(0, "Ikinci Devre - ^nCounter-Terrorists : %i - Terrorists : %i ^nPassword : %s", ct_win + totalCT, tt_win + totalTT, pass )
    	}
    	
    	set_task(0.5, "ses1")	
    	
    	chat_color(0,"!gIyi Eglenceler !t& !gMac Basladi")
    	
    	remove_task(TASK_MSG)
    }
    
    public MacAyariYap()
    {
    	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "7");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "1");	
     	set_cvar_string("sv_alltalk", "0");	    
     	set_cvar_string("mp_startmoney", "800");
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "2");
    	set_cvar_string("mp_forcechasecam", "2");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "1.75");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "0.25");
    	set_cvar_string("mp_maxrounds", "0");
    	set_cvar_string("allow_spectators", "1");
    	set_cvar_string("mp_logmessages", "1");
    	set_cvar_string("mt_enable", "1");	
    	set_cvar_string("aim_prac", "0");
    	set_cvar_string("mt_teamlock", "1");	
    	set_cvar_string("mt_duck", "1");
    	
    	chat_color(0,"!g[%s] !tMac Ayarlari Yuklendi..", szStag)
    }
    
    public ses1 ( const player )
    {
    	client_cmd( player, "spk events/task_complete" );
    }
    
    public cmdRestart(id) {
    	
    	server_cmd("sv_restart 1")
    	remove_task(TASK_RESTART)
    }
    
    public cmdAlltalk(id) {
    	
    	new Alltalk
    	new said[192]
    	read_args(said,191)
    	Alltalk = get_cvar_pointer("sv_alltalk")
    	if(containi(said,"alltalk") != -1){
    		
    	chat_color(id,"!g[%s] !yAlltalk : !t%s",szStag,get_pcvar_num(Alltalk)? "ON" : "OFF")
    		
    	}
    }
    
    
    public MapsMenu(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) ) 
    		return PLUGIN_HANDLED
    	
    	new menu, Menuz[512]
    	
    	formatex(Menuz, charsmax(Menuz), "\r[%s] \yMap Menu",szStag)
    	menu = menu_create(Menuz, "MenuMaps")
    	formatex(Menuz, charsmax(Menuz), "\wde_dust2")
    	menu_additem(menu, Menuz, "1", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_inferno")
    	menu_additem(menu, Menuz, "2", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_nuke")
    	menu_additem(menu, Menuz, "3", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_nuke32")
    	menu_additem(menu, Menuz, "4", ADMIN_MAP)	
    	formatex(Menuz, charsmax(Menuz), "\wde_train")
    	menu_additem(menu, Menuz, "5", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_train_32")
    	menu_additem(menu, Menuz, "6", ADMIN_MAP)	
    	formatex(Menuz, charsmax(Menuz), "\wde_cbble")
    	menu_additem(menu, Menuz, "7", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_tuscan")
    	menu_additem(menu, Menuz, "8", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_tuscan32")
    	menu_additem(menu, Menuz, "9", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_cpl_fire")
    	menu_additem(menu, Menuz, "10", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_cpl_mill")
    	menu_additem(menu, Menuz, "11", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_cpl_overrun")
    	menu_additem(menu, Menuz, "12", ADMIN_MAP)
    	formatex(Menuz, charsmax(Menuz), "\wde_cpl_strike")
    	menu_additem(menu, Menuz, "13", ADMIN_MAP)	
    	formatex(Menuz, charsmax(Menuz), "\yIleri")
    	menu_setprop(menu,MPROP_NEXTNAME ,Menuz)
    	formatex(Menuz, charsmax(Menuz), "\yGeri")
    	menu_setprop(menu,MPROP_BACKNAME ,Menuz)
    	menu_setprop(menu,MPROP_EXIT, MEXIT_ALL)
    	formatex(Menuz, charsmax(Menuz), "\rKapat")
    	
    	menu_setprop(menu,MPROP_EXITNAME,Menuz)
    
    
    	
    	menu_display(id, menu, 0)
    	return PLUGIN_HANDLED
    }
    public MenuMaps(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:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_dust2")
    		}
    		case 2:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_inferno")
    		}
    		case 3: 
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_nuke")
    		}
    		case 4:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_nuke32")
    		}
    		case 5:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_train")
    		}
    		case 6:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_train32")
    		}	
    		case 7:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_cbble")
    		}
    		case 8:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_tuscan")
    		}
    		case 9:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_tuscan_32")
    		}
    		case 10:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_cpl_fire")
    		}
    		case 11:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_cpl_mill")
    		}
    		case 12:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_cpl_overrun")
    		}
    		case 13:
    		{
    			server_cmd("amx_on")
    			client_cmd(id,"amx_map de_cpl_strike")
    		}		
    	}
    	return PLUGIN_HANDLED 
    }
    
    public client_putinserver(id){
    	
    	set_task(15.0, "hosgeldin", id)
    }
    public hosgeldin(id) {
    	
    	if(get_pcvar_num(g_welcomemsg) == 1) {
    	new name[32]
    	get_user_name(id, name, 31)
    	chat_color(id,"!g[%s] !yServerimize Hosgeldiniz !tSayin !g%s !yIyi vakit gecirmenizi dileriz...",szStag,name)
    	}
    	
    	return PLUGIN_HANDLED
    }
    
    
    
    public PauseHandler(id)
    {
    	if(++Pauses == 1)
    		OnOff[id] = true
    	else
    		OnOff[id] = false
    	
    	client_cmd(id, "amx_pause")
    
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdSayNosay(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
    	
    	if(get_pcvar_num(g_SAY) == 0 && set_pcvar_num(g_SAY,1)) {
    		
    	chat_color(0,"!g[%s] !ySay Konusmalari !tKapatildi.",szStag)
    	}	
    	else if(get_pcvar_num(g_SAY) == 1 && set_pcvar_num(g_SAY,0))
    		
    	chat_color(0,"!g[%s] !ySay Konusmalari !tAcildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    stock chat_color(const id, const input[], any:...)
    {
    	new count = 1, players[32]
    	static msg[191]
    	vformat(msg, 190, input, 3)
    	
    	replace_all(msg, 190, "!g", "^4")
    	replace_all(msg, 190, "!y", "^1")
    	replace_all(msg, 190, "!t", "^3")
    	replace_all(msg, 190, "!team2", "^0")
    	
    	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 CmdBanTeam( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 3 ) ) {
            return PLUGIN_HANDLED;
        }
        
        new szTeam[ 20 ];
        read_argv( 1, szTeam, 19 );
        strtoupper( szTeam );
        
        new CsTeams:iTeam;
        if( !TrieGetCell( g_tTeamData, szTeam, iTeam ) ) {
            console_print( iPlayer, "Invalid team." );
            return PLUGIN_HANDLED;
        }
        
        read_argv( 2, szTeam, 19 );
        new iTime = str_to_num( szTeam );
        
        read_argv( 3, szTeam, 19 );
        new bool:bBanIP = ( str_to_num( szTeam ) == 1 );
        
        new iPlayers[ 32 ], iNum, iTarget;
        get_players( iPlayers, iNum, "c" );
        
        for( new i = 0; i < iNum; i++ ) {
            iTarget = iPlayers[ i ];
            
            if( cs_get_user_team( iTarget ) == iTeam ) {
                client_cmd( iPlayer, "%s #%i %i", bBanIP ? "amx_banip" : "amx_ban", get_user_userid( iTarget ), iTime );
            }
        }
        
        console_print( iPlayer, "Banned all %s players.", g_szTeamNames[ iTeam ] );
        
        return PLUGIN_HANDLED;
    }
    
    public CmdBanT (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    		
    	client_cmd(id,"amx_banteam T 999999 1")	 
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CmdBanCT (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    		
    	client_cmd(id,"amx_banteam CT 999999 1")	 
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CmdBanS (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    		
    	client_cmd(id,"amx_banteam S 999999 1")	 
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CmdBanAll(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    		
    	client_cmd(id,"amx_banteam T 999999 1")	 
    	client_cmd(id,"amx_banteam CT 999999 1")
    	client_cmd(id,"amx_banteam S 999999 1")	
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public FM_PlayerPreThink_Pre(id)
    {
    	if(get_pcvar_num(g_duck) == 1) {
    	if( !is_user_alive(id) )
    		return FMRES_IGNORED;
    		
    	if( pev(id, pev_oldbuttons)&IN_DUCK && !(pev(id, pev_button)&IN_DUCK) )
    	{
    		static Float:s_fSize[3];
    		pev(id, pev_size, s_fSize);
    		if( s_fSize[2]==72.0 )
    		{
    			g_bFakeDuck[id] = true;
    			
    			set_pev(id, pev_flags, (pev(id, pev_flags)|FL_DUCKING));
    		}
    	}
             }
    	return FMRES_IGNORED;
    }
    
    public FM_PlayerPostThink_Pre(id)
    {
    	if(get_pcvar_num(g_duck) == 1) {
    		
    	if( g_bFakeDuck[id] )
    	{
    		g_bFakeDuck[id] = false;
    		
    		set_pev(id, pev_flags, (pev(id, pev_flags)&~FL_DUCKING));
    	}
    	
             }
    }
    
    public FM_AddToFullPack_Pre(es_handle, e, ent, host, hostflags, player, pset)
    {
    	if(get_pcvar_num(g_duck) == 1) {
    		
    	if( ent==g_iFakeEnt && is_user_alive(host) )
    	{
    		static Float:s_fMaxs[3];
    		pev(host, pev_velocity, s_fMaxs);
    		if( s_fMaxs[2]<=0.0 ) 
    		{
    			g_bFakeDuck[0] = true; 
    			
    			static Float:s_fMins[3];
    			pev(host, pev_origin, s_fMins);
    			s_fMins[0] -= 16.0;
    			s_fMins[1] -= 16.0;
    			if( pev(host, pev_flags)&FL_DUCKING )
    				s_fMins[2] += (s_fMaxs[2]<0.0)?55.0:71.0;
    			else 
    				s_fMins[2] += (s_fMaxs[2]<0.0)?37.0:53.0;
    			s_fMaxs[0] = s_fMins[0]+32.0;
    			s_fMaxs[1] = s_fMins[1]+32.0;
    			s_fMaxs[2] = s_fMins[2]+2.0;
    			engfunc(EngFunc_SetSize, g_iFakeEnt, s_fMins, s_fMaxs); 
    										
    		}
    	}
    	
             }
    }
    
    public FM_AddToFullPack_Post(es_handle, e, ent, host, hostflags, player, pset)
    {
    	if(get_pcvar_num(g_duck) == 1) {
    		
    	if( g_bFakeDuck[0] )
    	{
    		g_bFakeDuck[0] = false;
    		
    		set_es(es_handle, ES_Solid, SOLID_BBOX); 
    	}
    	
             }
    }
    
    public cmdDuckNoduck(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
    	
    	if(get_pcvar_num(g_duck) == 0 && set_pcvar_num(g_duck,1)) {
    		
    	chat_color(0,"!g[%s] !yDuck !tKapatildi.",szStag)
    	}	
    	else if(get_pcvar_num(g_duck) == 1 && set_pcvar_num(g_duck,0))
    		
    	chat_color(0,"!g[%s] !yDuck !tAcildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdMacAyari(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
     	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "7");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "1");	
     	set_cvar_string("sv_alltalk", "0");	    
     	set_cvar_string("mp_startmoney", "800");
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "2");
    	set_cvar_string("mp_forcechasecam", "2");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "1.75");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "0.25");
    	set_cvar_string("mp_maxrounds", "0");
    	set_cvar_string("allow_spectators", "1");
    	set_cvar_string("mp_logmessages", "1");
    	set_cvar_string("sv_restart", "1");
    		
    	chat_color(0,"!g[%s] !tMac !yAyarlari Yuklendi..", szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdPubAyari(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
     	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "0");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "0");		    
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "0");
    	set_cvar_string("mp_forcechasecam", "0");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "3");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "3");
    	set_cvar_string("sv_restart", "1");
    		
    	chat_color(0,"!g[%s] !tPublic !yAyarlar Yuklendi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdTaktik(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	set_cvar_string("mp_freezetime", "60");
     	set_cvar_string("mp_roundtime", "9");
     	set_cvar_string("mp_startmoney", "16000");
     	set_cvar_string("sv_restart", "1");	
    	
    	chat_color(0,"!g[%s] !tTaktik !yAyarlari Yuklendi.",szStag)
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdNoTaktik(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "7");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "1");	
     	set_cvar_string("sv_alltalk", "0");	    
     	set_cvar_string("mp_startmoney", "800");
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "2");
    	set_cvar_string("mp_forcechasecam", "2");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "1.75");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "0.25");
    	set_cvar_string("mp_maxrounds", "0");
    	set_cvar_string("allow_spectators", "1");
    	set_cvar_string("mp_logmessages", "1");	
    	
    	chat_color(0,"!g[%s] !tTaktik !yAyarlari Kaldirildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdFFAc(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    
     	set_cvar_string("mp_friendlyfire", "1");		    
    	
    	chat_color(0,"!g[%s] !yFriendlyFire Acildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdFFKapa(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    
     	set_cvar_string("mp_friendlyfire", "0");		    
    	
    	chat_color(0,"!g[%s] !yFriendlyFire Kapatildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdTalk(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    
     	set_cvar_string("sv_alltalk", "1");		    
    	
    	chat_color(0,"!g[%s] !yAlltalk Acildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdNoTalk(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    
     	set_cvar_string("sv_alltalk", "0");		    
    
    	chat_color(0,"!g[%s] !yAlltalk Kapatildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdSxe (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("amx_rcon __sxei_required 1");
    	
    	chat_color(0,"!g[%s] !tsXe !yInjected !tGerekli !yHale Getirildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdSxeop (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("amx_rcon __sxei_required 0");
    	
    	chat_color(0,"!g[%s] !tsXe !yInjected !tOpsiyonel !yHale Getirildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdNosxe (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("amx_rcon __sxei_required -1");
    	
    	chat_color(0,"!g[%s] !tsXe !yInjected !tKapali !yHale Getirildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    
    public cmdDegis(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	new players[32], num
    	get_players(players, num)
    	
    	new player
    	for(new i = 0; i < num; i++)
    	{
    		player = players[i]
    		
    		if(cs_get_user_team(player) == CS_TEAM_T)
    		{
    			cs_set_user_team(player, CS_TEAM_CT)
    		}
    		else if(cs_get_user_team(player) == CS_TEAM_CT)
    		{
    			cs_set_user_team(player, CS_TEAM_T)
    		}
    	}
    	
    	chat_color(0,"!g[%s] !tTakimlar !yDegistirildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdUzat(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	new players[32], num
    	get_players(players, num)
    	
    	new player
    	for(new i = 0; i < num; i++)
    	{
    		player = players[i]
    		
    		if(cs_get_user_team(player) == CS_TEAM_T)
    		{
    			cs_set_user_team(player, CS_TEAM_CT)
    		}
    		else if(cs_get_user_team(player) == CS_TEAM_CT)
    		{
    			cs_set_user_team(player, CS_TEAM_T)
    		}
    	}
    	
    	set_cvar_string("mp_startmoney", "10000");
    	set_cvar_string("sv_restart", "1");	
    	
    	chat_color(0,"!g[%s] !tUzatma !yAyarlari Yuklendi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdSs(id) {
        client_cmd(id,"spk ^"events/enemy_died^"")
        client_cmd( id, "snapshot" );
        chat_color(id,"!g[%s] !yScreenShot Alindi.",szStag)    
       
        return PLUGIN_HANDLED;
    }
    
    public cmdssCT(id) {
        if ( !(get_user_flags(id)&ADMIN_CVAR))
        return PLUGIN_CONTINUE;
        new szName[ 33 ];
        get_user_name( id, szName, 32 );
        for( new i = 1; i <= g_iMaxPlayers; i++ ) 
        {
        if( is_user_connected( i ) && !is_user_bot( i ) && cs_get_user_team( i ) == CS_TEAM_CT )
        client_cmd( i, "snapshot" );
        }
        client_cmd(id,"spk ^"events/enemy_died^"")
        chat_color(0,"!g%s !yCounter-Terorists !tTakimindan !yScreenShot Cekti.",szName)     
        return PLUGIN_HANDLED;
    }
    
    public cmdssT(id) {
        if ( !(get_user_flags(id)&ADMIN_CVAR))
        return PLUGIN_CONTINUE;
        new szName[ 33 ];
        get_user_name( id, szName, 32 );
        for( new i = 1; i <= g_iMaxPlayers; i++ ) 
        {
        if( is_user_connected( i ) && !is_user_bot( i ) && cs_get_user_team( i ) == CS_TEAM_T )
        client_cmd( i, "snapshot" );
        }
        client_cmd(id,"spk ^"events/enemy_died^"")
        chat_color(0,"!g%s !yTerorists !tTakimindan !yScreenShot Cekti.",szName) 
        return PLUGIN_HANDLED;
    }
    
    public cmdAllss(id) {
        if ( !(get_user_flags(id)&ADMIN_CVAR))
        return PLUGIN_CONTINUE;
        new szName[ 33 ];
        get_user_name( id, szName, 32 );
        for( new i = 0; i <= g_iMaxPlayers; i++ ) 
        {
        if( is_user_connected( i ) && !is_user_bot( i ) )
        client_cmd( i, "snapshot" );
        }
        client_cmd(0,"spk ^"events/enemy_died^"")
        chat_color(0,"!g%s !yHerkesden ScreenShot Cekti.",szName) 
        return PLUGIN_HANDLED;
    }
    
    public cmdSsmenu( id, level, cid ) {
        if(!(get_user_flags(id) & ADMIN_CVAR))
        return PLUGIN_CONTINUE;
        if( cmd_access( id, level, cid, 1 ) ) {
        showmenu( id );
        }
        return PLUGIN_HANDLED;
    }
    
    public showmenu( id )
    {
        new menu = menu_create( "\yScreenShot Cekmek istediginiz Oyuncuyu Secin:", "submenu" );
        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 );
        menu_additem( menu, szName, szTempid, 0 );
        }
        menu_display(id, menu);
        return PLUGIN_HANDLED;
    }
    
    public submenu( 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 tempid = str_to_num( data );
        if( !is_user_bot( tempid ) ) {
        client_cmd( tempid, "snapshot" );
        new szName[ 32 ], szName2[ 32 ];
        get_user_name( id, szName, 31 );
        get_user_name( tempid, szName2, 31 );
        client_cmd(id,"spk ^"events/enemy_died^"")
        chat_color(0,"!g%s !t%s !yOyuncusundan ScreenShot Cekti..",szName,szName2) 
        }
        menu_destroy( menu );
        return PLUGIN_HANDLED;
    }  
    
    public SayPwkoy(id) 
    {
        static message[64]
        read_args (message, 63)
        remove_quotes (message)
        
        if( (message[0] == '!' || message[0] == '/' || message[0] == '.') 
        && message[1] == 'p' && message[2] == 'a' && message[3] == 's' && message[4] == 's' )
        {
            static pass[31];
            strbreak(message, message, 6, pass, 30);
            remove_quotes(pass);
              
            {
                client_cmd(id, "amx_cvar sv_password %s", pass)
            }
    
            chat_color(0,"!g[%s] !yServer Password !g: !t%s", szStag,pass)
            chat_color(0,"!g[%s] !yServer Password !g: !t%s", szStag,pass)
            chat_color(0,"!g[%s] !yServer Password !g: !t%s", szStag,pass)	
    	
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    } 
    
    public SayDemo(id) 
    {
        static message[64]
        read_args (message, 63)
        remove_quotes (message)
        
        if( (message[0] == '!' || message[0] == '/' || message[0] == '.') 
        && message[1] == 'd' && message[2] == 'e' && message[3] == 'm' && message[4] == 'o' )
        {
            static demo[31];
            strbreak(message, message, 6, demo, 30);
            remove_quotes(demo);
              
            {
                client_cmd(id, "record %s", demo)
            }
    
            chat_color(0,"!g[%s] !t%s.dem !yKaydediliyor.", szStag,demo)	
            chat_color(0,"!g[%s] !yDemo Kaydini Bitirmek Icin !g!stop Yaziniz.", szStag)	
    	
    	
            return PLUGIN_HANDLED
        }
        return PLUGIN_CONTINUE
    } 
    
    public cmdStop(id) {
        client_cmd(id,"spk ^"events/enemy_died^"")
        client_cmd( id, "stop" );
        chat_color(id,"!g[%s] !yDemo Kaydedildi.",szStag)    
       
        return PLUGIN_HANDLED;
    }
    
    public cmdSlayT(iCl, iLvl, iCmd)
    {
            if (!cmd_access(iCl, iLvl, iCmd, 1))
                    return PLUGIN_HANDLED;
     
            for (new iCl = 1; iCl <= g_iMaxPlayers; iCl++)
                    if (is_user_alive(iCl) && cs_get_user_team(iCl) == CS_TEAM_T)
                            user_kill(iCl, KILL_FLAG);
     
            chat_color(0,"!g[%s] !yTerorists Takimi Slaylandi.",szStag) 
    	
            return PLUGIN_HANDLED;
    }
     
    public cmdSlayCT(iCl, iLvl, iCmd)
    {
            if (!cmd_access(iCl, iLvl, iCmd, 1))
                    return PLUGIN_HANDLED;
     
            for (new iCl = 1; iCl <= g_iMaxPlayers; iCl++)
                    if (is_user_alive(iCl) && cs_get_user_team(iCl) == CS_TEAM_CT)
                            user_kill(iCl, KILL_FLAG);
    			
            chat_color(0,"!g[%s] !yCounter-Terorists Takimi Slaylandi.",szStag) 			
     
            return PLUGIN_HANDLED;
    }  
    
    public cmdSlayAll (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
            console_cmd(id,"say .slayt");
            console_cmd(id,"say .slayct");	
    	
            chat_color(0,"!g[%s] !yTum Oyuncular Slaylandi.",szStag) 	
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CmdSlapT( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
        
        new szArg[ 16 ];
        read_argv( 1, szArg, 15 );
        
        new iDamage = str_to_num( szArg );
        
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum, "a" );
        
        new iVictim;
        for( new i = 0; i < iNum; i++ ) {
            iVictim = iPlayers[ i ];
            if( cs_get_user_team( iVictim ) == CS_TEAM_T ) {
                if( get_user_health( iVictim ) <= iDamage ) {
                    user_kill( iVictim );
                } else {
                    user_slap( iVictim, iDamage );
                }
            }
        }
        
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
        
        chat_color(0,"!g[%s] !yTerorists Takimi Slaplandi.",szStag) 
        
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
        
        log_amx( "%s <%s> slapped all terrorist players for %i damage", szName, szSteamID, iDamage );
        
        return PLUGIN_HANDLED;
    }
    
    public CmdSlapCT( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
        
        new szArg[ 16 ];
        read_argv( 1, szArg, 15 );
        
        new iDamage = str_to_num( szArg );
        
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum, "a" );
        
        new iVictim;
        for( new i = 0; i < iNum; i++ ) {
            iVictim = iPlayers[ i ];
            if( cs_get_user_team( iVictim ) == CS_TEAM_CT ) {
                if( get_user_health( iVictim ) <= iDamage ) {
                    user_kill( iVictim );
                } else {
                    user_slap( iVictim, iDamage );
                }
            }
        }
        
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
        
        chat_color(0,"!g[%s] !yCounter-Terorists Takimi Slaplandi.",szStag) 
        
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
        
        log_amx( "%s <%s> slapped all counter-terrorist players for %i damage", szName, szSteamID, iDamage );
        
        return PLUGIN_HANDLED;
    }
    
    public CmdSlapAll( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
        
        new szArg[ 16 ];
        read_argv( 1, szArg, 15 );
        
        new iDamage = str_to_num( szArg );
        
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum, "a" );
        
        new iVictim;
        for( new i = 0; i < iNum; i++ ) {
            iVictim = iPlayers[ i ];
            if( get_user_health( iVictim ) <= iDamage ) {
                user_kill( iVictim );
            } else {
                user_slap( iVictim, iDamage );
            }
        }
        
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
        
        chat_color(0,"!g[%s] !yTum Oyuncular Slaplandi.",szStag) 
        
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
        
        log_amx( "%s <%s> slapped all players for %i damage", szName, szSteamID, iDamage );
        
        return PLUGIN_HANDLED;
    }  
    
    public actionUnBanMenu(id,key) {
    	
    	switch(key) {
    	case 8: {
    		displayUnBanMenu(id, ++g_menuPosition[id])
    	}
    	case 9: {
    		g_menuUnBanLine[id][0] = g_menuUnBanLine[id][0] - (8 + g_menuUnBanLine[id][1])
    		if(g_menuUnBanLine[id][0] < 0) g_menuUnBanLine[id][0] = 0
    		displayUnBanMenu(id, --g_menuPosition[id])
    	}
    	default: {
    		
    		new name[32], authid[32], ipaddress[24]
    		get_user_authid(id, authid, 31)
    		get_user_name(id, name, 31)
    		get_user_ip(id, ipaddress, 23, 1)
    
    		log_amx("UnBan: ^"%s<%d><%s><%s>^" unban ^"%s^"", name,get_user_userid(id),authid,ipaddress,g_menuUnBanText[id][key])
    
    		switch (get_cvar_num("amx_show_activity"))
    		{
    		
    			case 2: client_print(0, print_chat, "ADMIN %s: unban %s", name, g_menuUnBanText[id][key])
    			case 1: client_print(0, print_chat, "ADMIN: unban %s", g_menuUnBanText[id][key])
    		}
    
    		if(g_menuUnBanType[id] == 1) {
    		server_cmd("removeip ^"%s^"; writeip", g_menuUnBanText[id][key])
    		server_exec()
    		console_print(id, "IP ^"%s^" removed from ban list", g_menuUnBanText[id][key])
    		}
    		
    		else {
    			
    		server_cmd("removeid %s; writeid",  g_menuUnBanText[id][key])
    		console_print(id, "Authid ^"%s^" removed from ban list",  g_menuUnBanText[id][key])
    		}
    	
    		g_menuUnBanLine[id][0] = g_menuUnBanLine[id][1] = 0
    		displayUnBanMenu(id, g_menuPosition[id] = 0)
    		}
    	}
    	return PLUGIN_HANDLED
    }
    
    checkSTEAMID(steamid[]) {
      
    	new len = strlen(steamid)
    	if(len > 10 && equali(steamid, "STEAM_", 6) && steamid[7] == ':' && steamid[9] == ':' && str_to_num(steamid[10])) {
    		return 1
    	}
    	return 0
    }
    
    checkIP(ip[]) {
    	
    	new len = strlen(ip)
    	new dots = 0, i = 0
    	while(isdigit(ip[i]) || ip[i]=='.')
    		if(ip[i++] == '.')
    			++dots
    	if(i == len && dots == 3) {
    		return 1
    	}
    	return 0
    }
    
    displayUnBanMenu(id,pos) {
    	if(pos < 0)
    	return
    
    	new menuBody[512]
    	new b = 0
    
    	new len = format(menuBody, 511, g_coloredMenus ? "\yUnBan Menu\R%d^n\w^n" : "UnBan Menu %d^n^n", id, "UNBAN_MENU", pos + 1)
    	
    	new keys = (1<<9)
    	new textlen, line
    	new type = g_menuUnBanType[id]
    	new temp[32], banTime[32], disable
    
    	if(file_exists(g_bannedCfgFile[type])) {
    		line = g_menuUnBanLine[id][0]
    		while((line = read_file(g_bannedCfgFile[type], line, g_menuSelect[id], 63, textlen))) {
    			temp[0] = '^0'
    			banTime[0] = '^0'
    			g_menuUnBanText[id][b][0] = '^0'
    			disable = 0
    			if(textlen < 9)
    				disable = 1
    			else if(parse(g_menuSelect[id], temp, 31, banTime, 31, g_menuUnBanText[id][b], 31) != 3)
    				disable = 1
    			else if((type == 1 && !checkIP(g_menuUnBanText[id][b])) || (type == 0 && !checkSTEAMID(g_menuUnBanText[id][b])))
    				disable = 1
    			if(disable == 0) {
    				keys |= (1<<b)
    				if(g_coloredMenus)
    				len += format(menuBody[len], 511-len, "%d. %s\R\r%s^n\w", b, g_menuUnBanText[id][b++], banTime)
    				else
    				len += format(menuBody[len], 511-len, "%d. %s   ( %s )^n", b, g_menuUnBanText[id][b++], banTime)
    			}
    			else {
    				if(g_coloredMenus)
    					len += format(menuBody[len], 511-len, "\d%d. %s^n\w", b, g_menuUnBanText[id][b++])
    				else
    					len += format(menuBody[len], 511-len, "#. %s^n", b, g_menuUnBanText[id][b++])
    			}
    			if(b == 8) break
    		}
    
    		if(b == 8 && read_file(g_bannedCfgFile[type], line, g_menuSelect[id], 63, textlen) > 0) {
    		format(menuBody[len], 511-len, "^n9. More...^n0. %s",id, pos ? "Back" : "Exit",id)
    		keys |= (1<<8)
    		}
    		else
    		format(menuBody[len], 511-len, "^n0. %s", pos ? "Back" : "Exit",id)
    
    		g_menuUnBanLine[id][1] = line - g_menuUnBanLine[id][0]
    		g_menuUnBanLine[id][0] = line
    		show_menu(id, keys, menuBody, -1, "UnBan  Menu")
    	}
    
    	return
    }
    
    public actionUnBanMenuType(id,key) {
    	
    	switch(key) {
    		case 9: return PLUGIN_HANDLED
    		default: {
    			g_menuUnBanType[id] = key // 0 = STEAMID, 1 = IP
    			g_menuUnBanLine[id][0] = g_menuUnBanLine[id][1] = 0
    			displayUnBanMenu(id, g_menuPosition[id] = 0)
    		}
    	}
    	return PLUGIN_HANDLED
    }
    
    displayUnBanMenuType(id) {
    	
    	new menuBody[512]
      
    	new len = format(menuBody, 511, g_coloredMenus ?  "\yUnBan STEAMID or IP?^n\w^n" :"UnBan STEAMID or IP?^n^n",id)
    
    	new keys = (1<<0)|(1<<1)|(1<<9)
    
    	len += format(menuBody[len], 511-len, "1. STEAMID^n",id)
    	len += format(menuBody[len], 511-len, "2. IP^n",id)
    	format(menuBody[len], 511-len, "^n0. Exit",id)
    
    	show_menu(id, keys, menuBody, -1, "UnBan STEAMID or IP?")
    }
    
    public cmdUnBanMenu(id,level,cid) {
    	
    	if(!cmd_access(id,level,cid,1))
    	return PLUGIN_HANDLED
    
    	g_menuUnBanType[id] = -1
    	displayUnBanMenuType(id)
    	return PLUGIN_HANDLED
    }
    
    public aim_prac(id)
    {
    	if (id && !((get_user_flags(id) & ADMIN_LEVEL_A)))
    	{
    		client_print(id, print_console, "[%s] O Komutu Kullanamazsin.",szStag)
    		return PLUGIN_CONTINUE
    	}
    	new arg[8]
    	read_argv(1, arg, 7)
    
    	if((equali(arg, "on"))||(equali(arg, "1")))
    	{
    		set_user_hitzones(0 ,0, 2)
    	}
    	else
    	{
    		set_user_hitzones(0, 0, 255)
    	}
    	return PLUGIN_HANDLED
    }
    
    public cmdHs (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("aim_prac 1");
    	
    	chat_color(0,"!g[%s] !yHs Mod Acildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdNoHs (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("aim_prac 0");
    	
    	chat_color(0,"!g[%s] !yHs Mod Kapatildi.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public CmdKickT( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
     
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum );
     
        new iVictim;
        for( new i = 0; i < iNum; i++ ) {
            iVictim = iPlayers[ i ];
            if( cs_get_user_team( iVictim ) == CS_TEAM_T ) {
                server_cmd( "kick #%i", get_user_userid( iVictim ) );
            }
        }
     
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
     
        chat_color(0,"!g[%s] !yTerorists Takimi Kicklendi.",szStag) 
     
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
     
        log_amx( "%s <%s> kicked all terrorist players", szName, szSteamID );
     
        return PLUGIN_HANDLED;
    }
     
    public CmdKickCT( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
     
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum );
     
        new iVictim;
        for( new i = 0; i < iNum; i++ ) {
            iVictim = iPlayers[ i ];
            if( cs_get_user_team( iVictim ) == CS_TEAM_CT ) {
                server_cmd( "kick #%i", get_user_userid( iVictim ) );
            }
        }
     
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
     
        chat_color(0,"!g[%s] !yCounter-Terorists Takimi Kicklendi.",szStag) 
     
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
     
        log_amx( "%s <%s> kicked all counter-terrorist players", szName, szSteamID );
     
        return PLUGIN_HANDLED;
    }
     
    public CmdKickAll( iPlayer, iLevel, iCId ) {
        if( !cmd_access( iPlayer, iLevel, iCId, 1 ) ) {
            return PLUGIN_HANDLED;
        }
     
        new iPlayers[ 32 ], iNum;
        get_players( iPlayers, iNum );
     
        for( new i = 0; i < iNum; i++ ) {
            server_cmd( "kick #%i", get_user_userid( iPlayers[ i ] ) );
        }
     
        new szName[ 32 ];
        get_user_name( iPlayer, szName, 31 );
     
        new szSteamID[ 35 ];
        get_user_authid( iPlayer, szSteamID, 34 );
     
        log_amx( "%s <%s> kicked all players", szName, szSteamID );
     
        return PLUGIN_HANDLED;
    }  
    
    public cmdMapRes (id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	server_cmd("restart");
    	
    	chat_color(0,"!g[%s] !yMap !tYeniden !yAciliyor.",szStag)
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    
    public cmdCptsay(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
    	if(get_pcvar_num(g_cptsay) == 1 && set_pcvar_num(g_cptsay,0)) {
    	
    	pasarse = true	
    	chat_color(0,"!g[%s] !yCpt' Konusmalari Acildi.",szStag)	
    	}	
    	else if(get_pcvar_num(g_cptsay) == 0 && set_pcvar_num(g_cptsay,1))
    	
    	chat_color(0,"!g[%s] !yCpt' Konusmalari Kapatildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    public cmdParaGoster(id) 
    { 
    	new iMoney;
    	new money_Buffer[100+1];
    	iMoney = cs_get_user_money(id); 
    	format( money_Buffer, 100, "Para : %d$", iMoney ); 
    	
    	engclient_cmd( id, "say_team", money_Buffer );
    	return PLUGIN_HANDLED;
    }
    
    public PluginMenu(id,level,cid)
    {
    	if( !cmd_access( id, level, cid, 1 ) ) 
    		return PLUGIN_HANDLED
    	new menu, Menuz[512]
    	formatex(Menuz, charsmax(Menuz), "\r[%s] \yMenu",szStag)
    	menu = menu_create(Menuz, "MenuPlugin")
    	formatex(Menuz, charsmax(Menuz), "\wMaci Baslat")
    	menu_additem(menu, Menuz, "1", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wMac Ayarlari")
    	menu_additem(menu, Menuz, "2", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wPublic Ayarlar")
    	menu_additem(menu, Menuz, "3", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wSay \yAc \w- \rKapa")
    	menu_additem(menu, Menuz, "4", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wDuck \yAc \w- \rKapa")
    	menu_additem(menu, Menuz, "5", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wPassword Kaldir")
    	menu_additem(menu, Menuz, "6", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTakimlari Degistir")
    	menu_additem(menu, Menuz, "7", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTakim Degistirmeyi \yAc \w- \rKapa")
    	menu_additem(menu, Menuz, "8", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTaktik Ayarlari Yukle")
    	menu_additem(menu, Menuz, "9", ADMIN_CFG)	
    	formatex(Menuz, charsmax(Menuz), "\wTaktik Ayarlari Kaldir")
    	menu_additem(menu, Menuz, "10", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wUzatma Ayarlari")
    	menu_additem(menu, Menuz, "11", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wBan Listesi Temizle")
    	menu_additem(menu, Menuz, "12", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wT' leri Banla")
    	menu_additem(menu, Menuz, "13", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wCT' leri Banla")
    	menu_additem(menu, Menuz, "14", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wSpec' leri Banla")
    	menu_additem(menu, Menuz, "15", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTum Oyunculari Banla")
    	menu_additem(menu, Menuz, "16", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wT' leri Kickle")
    	menu_additem(menu, Menuz, "17", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wCT' leri Kickle")
    	menu_additem(menu, Menuz, "18", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTum Oyunculari Kickle")
    	menu_additem(menu, Menuz, "19", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wT' leri Slayla")
    	menu_additem(menu, Menuz, "20", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wCT' leri Slayla")
    	menu_additem(menu, Menuz, "21", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTum Oyunculari Slayla")
    	menu_additem(menu, Menuz, "22", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wT' leri Slapla")
    	menu_additem(menu, Menuz, "23", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wCT' leri Slapla")
    	menu_additem(menu, Menuz, "24", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTum Oyunculari Slapla")
    	menu_additem(menu, Menuz, "25", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wHs Mod \yAc")
    	menu_additem(menu, Menuz, "26", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wHs Mod \rKapa")
    	menu_additem(menu, Menuz, "27", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wKick Menu")
    	menu_additem(menu, Menuz, "28", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wBan Menu")
    	menu_additem(menu, Menuz, "29", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wSlap Menu")
    	menu_additem(menu, Menuz, "30", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wTeam Menu")
    	menu_additem(menu, Menuz, "31", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wFriendlyFire \yAc")
    	menu_additem(menu, Menuz, "32", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wFriendlyFire \rKapa")
    	menu_additem(menu, Menuz, "33", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wAlltalk \yAc")
    	menu_additem(menu, Menuz, "34", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wAlltalk \rKapa")
    	menu_additem(menu, Menuz, "35", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wRestart \r1")
    	menu_additem(menu, Menuz, "36", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wRestart \r3")
    	menu_additem(menu, Menuz, "37", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wRestart \r5")
    	menu_additem(menu, Menuz, "38", ADMIN_CFG)
    	formatex(Menuz, charsmax(Menuz), "\wMap Menu")
    	menu_additem(menu, Menuz, "38", ADMIN_CFG)	
    	formatex(Menuz, charsmax(Menuz), "\yIleri")
    	menu_setprop(menu,MPROP_NEXTNAME ,Menuz)
    	formatex(Menuz, charsmax(Menuz), "\yGeri")
    	menu_setprop(menu,MPROP_BACKNAME ,Menuz)
    	menu_setprop(menu,MPROP_EXIT, MEXIT_ALL)
    	formatex(Menuz, charsmax(Menuz), "\rKapat")
    	
    	
    	menu_setprop(menu,MPROP_EXITNAME,Menuz)
    	
    	menu_display(id, menu, 0)
    	return PLUGIN_HANDLED;
    }
    
    public MenuPlugin(id, menu, item) {
    	
    	if (item == MENU_EXIT)
    	{
    		menu_destroy(menu)
    		
    		return PLUGIN_CONTINUE
    	}
    	
    	new data[6], iName[64]
    	new access, callback
    	menu_item_getinfo(menu, item, access, data,5, iName, 63, callback)
    	
    	new key = str_to_num(data)
    	
    	switch(key)
    	{
    		case 1:
    		{
    	                  
    			client_cmd(id,"say .335")
    			menu_display(id,menu)
    			
    		}
    		case 2:
    		{
    	                  
    			client_cmd(id,"say .mac")
    			menu_display(id,menu)
    			
    		}
    		case 3:
    		{
    	                  
    			client_cmd(id,"say .pub")
    			menu_display(id,menu)
    			
    		}
    		case 4:
    		{
    	                  
    			client_cmd(id,"say .say")
    			menu_display(id,menu)
    			
    		}
    		case 5:
    		{
    	                  
    			client_cmd(id,"say .duck")
    			menu_display(id,menu)
    			
    		}
    		case 6:
    		{
    	                  
    			client_cmd(id,"say .nopw")
    			menu_display(id,menu)
    			
    		}
    		case 7:
    		{
    	                  
    			client_cmd(id,"say .degis")
    			menu_display(id,menu)
    			
    		}
    		case 8:
    		{
    	                  
    			client_cmd(id,"say .takim")
    			menu_display(id,menu)
    			
    		}
    		case 9:
    		{
    	                  
    			client_cmd(id,"say .tt")
    			menu_display(id,menu)
    			
    		}
    		case 10:
    		{
    	                  
    			client_cmd(id,"say .nott")
    			menu_display(id,menu)
    			
    		}
    		case 11:
    		{
    	                  
    			client_cmd(id,"say .uzat")
    			menu_display(id,menu)
    			
    		}
    		case 12:
    		{
    	                  
    			client_cmd(id,"say .unban")
    			menu_display(id,menu)
    		}
    		case 13:
    		{
    	                  
    			client_cmd(id,"say .bant")
    			menu_display(id,menu)
    			
    		}
    		case 14:
    		{
    	                  
    			client_cmd(id,"say .banct")
    			menu_display(id,menu)
    		}
    		case 15:
    		{
    	                  
    			client_cmd(id,"say .banspec")
    			menu_display(id,menu)
    		}
    		case 16:
    		{
    	                  
    			client_cmd(id,"say .banall")
    			menu_display(id,menu)
    			
    		}
    		case 17:
    		{
    	                  
    			client_cmd(id,"say .kickt")
    			menu_display(id,menu)
    			
    		}
    		case 18:
    		{
    	                  
    			client_cmd(id,"say .kickct")
    			menu_display(id,menu)
    		
    		}
    		case 19:
    		{
    	                  
    			client_cmd(id,"say .kickall")
    			menu_display(id,menu)
    			
    		}
    		case 20:
    		{
    	                  
    			client_cmd(id,"say .slayt")
    			
    			menu_display(id,menu)			
    		}
    		case 21:
    		{
    	                  
    			client_cmd(id,"say .slayct")
    			
    			menu_display(id,menu)
    		}
    		case 22:
    		{
    	                  
    			client_cmd(id,"say .slayall")
    			
    			menu_display(id,menu)
    		}
    		case 23:
    		{
    	                  
    			client_cmd(id,"say .slapt")
    			
    			menu_display(id,menu)
    		}
    		case 24:
    		{
    	                  
    			client_cmd(id,"say .slapct")
    			
    			menu_display(id,menu)
    		}
    		case 25:
    		{
    	                  
    			client_cmd(id,"say .slapall")
    			
    			menu_display(id,menu)
    		}
    		case 26:
    		{
    	                  
    			client_cmd(id,"say .hs")
    			
    			menu_display(id,menu)
    		}
    		case 27:
    		{
    	                  
    			client_cmd(id,"say .nohs")
    			
    			menu_display(id,menu)
    		}
    		case 28:
    		{
    	                  
    			client_cmd(id,"say .km")
    			
    			menu_display(id,menu)
    		}
    		case 29:
    		{
    	                  
    			client_cmd(id,"say .bm")
    			menu_display(id,menu)
    			
    		}
    		case 30:
    		{
    	                  
    			client_cmd(id,"say .sm")
    			
    			menu_display(id,menu)
    		}
    		case 31:
    		{
    	                  
    			client_cmd(id,"say .tm")
    			menu_display(id,menu)
    			
    		}
    		case 32:
    		{
    	                  
    			client_cmd(id,"say .ff")
    			menu_display(id,menu)
    		
    		}
    		case 33:
    		{
    	                  
    			client_cmd(id,"say .noff")
    			menu_display(id,menu)
    		}
    		case 34:
    		{
    	                  
    			client_cmd(id,"say .talk")
    			menu_display(id,menu)
    		}
    		case 35:
    		{
    	                  
    			client_cmd(id,"say .notalk")
    
    			menu_display(id,menu)
    		}
    		case 36:
    		{
    	                  
    			client_cmd(id,"say .rr")
    			menu_display(id,menu)
    		}
    		case 37:
    		{
    	                  
    			client_cmd(id,"say .rr3")
    			menu_display(id,menu)
    		}
    		case 38:
    		{
    	                  
    			client_cmd(id,"say .rr5")
    			menu_display(id,menu)
    		}
    		case 39:
    		{
    	                  
    			client_cmd(id,"say .maps")
    			
    			menu_display(id,menu)			
    			
    		}		
    	}
    	return PLUGIN_HANDLED 
    }
    	
    public cmdMacBitir(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
     	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "0");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "0");		    
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "0");
    	set_cvar_string("mp_forcechasecam", "0");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "3");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "3");
    	set_cvar_string("mt_enable", "0");	
    	set_cvar_string("aim_prac", "0");
    	set_cvar_string("mt_teamlock", "0");	
    	set_cvar_string("mt_duck", "0");
    	chat_color(0,"!g[%s] !yMac bitirme komutu kullanildi...",szStag)
    	client_cmd(id,"say .pub");
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdMacBitir2(id, level, cid){
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED;
    	
    	rounds_elapsed = 0; 
    	tt_win = 0
    	ct_win = 0
    	total = 0
    	totalCT = 0
    	totalTT = 0		
     	set_cvar_string("mp_autokick", "0");
     	set_cvar_string("mp_freezetime", "0");
     	set_cvar_string("mp_autoteambalance", "0");	  
     	set_cvar_string("mp_limitteams", "0");
     	set_cvar_string("mp_friendlyfire", "0");		    
     	set_cvar_string("mp_timelimit", "0");	   
     	set_cvar_string("mp_forcecamera", "0");
    	set_cvar_string("mp_forcechasecam", "0");
    	set_cvar_string("mp_flashlight", "1");	    
    	set_cvar_string("mp_tkpunish", "0");	
    	set_cvar_string("mp_c4timer", "35");	
    	set_cvar_string("mp_roundtime", "3");
    	set_cvar_string("mp_footsteps", "1");
    	set_cvar_string("mp_buytime", "3");
    	set_cvar_string("mt_enable", "0");	
    	set_cvar_string("aim_prac", "0");
    	set_cvar_string("mt_teamlock", "0");	
    	set_cvar_string("mt_duck", "0");
    	chat_color(0,"!g[%s] !yMac bitirme komutu kullanildi...",szStag)
    	client_cmd(id,"say .pub");
    	
    	
    	return PLUGIN_HANDLED;
    }
    
    public cmdTeamLock(id,level,cid) {
    	
    	if( !cmd_access( id, level, cid, 1 ) )  
    		return PLUGIN_HANDLED
    	
    	if(get_pcvar_num(g_teamlock) == 0 && set_pcvar_num(g_teamlock,1)) {
    	
    	pasarse = true
    	chat_color(0,"!g[%s] !tTakim !yDegistirme Kapatildi.",szStag)
    	}	
    	else if(get_pcvar_num(g_teamlock) == 1 && set_pcvar_num(g_teamlock,0))
    		
    	chat_color(0,"!g[%s] !tTakim !yDegistirme Acildi.",szStag)
    	
    	return PLUGIN_HANDLED
    }
    
    
    public frag_part2(id[]) client_cmd(id[0],"snapshot")
    
    public frag_part3(id[]) client_cmd(id[0],"-showscores")
    
    public frag_part1(id) {
    	 
    	client_cmd(id,"+showscores");
    	chat_color(id,"!g[%s] !yFrag Skorlariniz Kaydedildi.",szStag)
    	set_task(0.3,"frag_part2",0);
    	set_task(0.6,"frag_part3",0);
    	
    	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 }
    */
    Beyler sizden bir konuda yardım istiyorum bu mac botunu internetten buldum. Mac botuna ekstradan !quitt (t takımındaki herkeze quit attırır) ve !quitct (ct takımındaki herkeze quit attırır) komutlarını eklemek istiyorum bunu yapabilcek varmıdır ? yardımcı olabilcek arkadaşlara şimdiden teşekkürlerimi sunuyorum..

  2. #2
    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: Mac Botuna İstek Kod

    PHP- Kodu:
    /*
                 _____                  
                /     \ 
               /  \ /  \
              /    Y    \
              \____|__  /
                      \/         
      

        © 

    Iletisim :
         
        * Matém
            
            

            
    */

    #include <amxmodx>
    #include <amxmisc>
    #include <cstrike>
    #include <fakemeta>
    #include <fun>


    #define PLUGIN "Mac Botu"
    #define VERSION "4.1"
    #define AUTHOR "SG"


    #define TASK_LISTA 001
    #define TASK_CHE 002
    #define TASK_MENSAJE 003
    #define TASK_CAMBIO 004
    #define TASK_PRINT 005
    #define TASK_MSG 006
    #define TASK_RESTART 007
    #define TASK_RESTART5 008


    #define DECREASE_FRAG; 
    #if defined DECREASE_FRAG
    #define KILL_FLAG 0
    #else
    #define KILL_FLAG 1
    #endif


    #define PlugActivo (get_pcvar_num(g_RESULTADO))
    #define HudGris set_hudmessage(64, 64, 64, -1.0, 0.20, 2, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudVrd set_hudmessage(64, 255, 64, -1.0, -1.0, 1)
    #define HudRed set_hudmessage(255, 64, 64, -1.0, -1.0, 1)
    #define HudBlu set_hudmessage(64, 64, 255, -1.0, -1.0, 1)
    #define HudBlu2 set_hudmessage(64, 64, 255, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudVrd2 set_hudmessage(64, 255, 64, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)
    #define HudRed2 set_hudmessage(255, 64, 64, -1.0, 0.20, 1, 0.02, 12.00, 0.01, 0.1, -1)


    new const g_cmds[][]= {
        
    "!kick",
        
    ".kick",
        
    "/kick",
        
    "!map",
        
    ".map",
        
    "/map",
        
    "!ban",
        
    "/ban",
        
    ".ban",
        
    "!slay",
        
    "/slay",
        
    ".slay",
        
    "!slap",
        
    "/slap",
        
    ".slap",
        
    "!tm",
        
    ".tm",
        
    "/tm",
        
    "!km",
        
    ".km",
        
    "/km",
        
    "!bm",
        
    ".bm",
        
    "/bm",
        
    "!sm",
        
    ".sm",
        
    "/sm",
        
    "!teammenu",
        
    ".teammenu",
        
    "/teammenu",
        
    "!kickmenu",
        
    ".kickmenu",
        
    "/kickmenu",
        
    "!banmenu",
        
    ".banmenu",
        
    "/banmenu",
        
    "!slapmenu",
        
    ".slapmenu",
        
    "/slapmenu",
        
    "!d2",
        
    ".d2",
        
    "/d2",
        
    "!inf",
        
    ".inf",
        
    "/inf",
        
    "!nuke",
        
    ".nuke",
        
    "/nuke",
        
    "!cbble",
        
    ".cbble",
        
    "/cbble",
        
    "!tuscan",
        
    ".tuscan",
        
    "/tuscan",
        
    "!train",
        
    "/train",
        
    ".train",
        
    "!cplf",
        
    "/cplf",
        
    ".cplf",
        
    "!cplm",
        
    "/cplm",
        
    ".cplm",
        
    "!cplo",
        
    "/cplo",
        
    ".cplo",
        
    "!cpls",
        
    "/cpls",
        
    ".cpls",
        
    "!cvar",
        
    "/cvar",
        
    ".cvar",
        
    "!rcon",
        
    "/rcon",
        
    ".rcon"
    }


    /* pCvars */
    new g_RESULTADOg_SiteTagg_READYg_SAYg_soniditos g_SRVTAGg_welcomemsgg_pwDEFg_pPasswordPointer
    new tt_winct_wintotaltotalCTtotalTTglobalCTglobalTTReadyContFraMitadFraFinalMasFraguer1MasFraguer2
    new PausescfgPubcfgWarmcfgClosedcfgRates
    new OyunIsmi


    /* Strings */
    new szStag[32]
    new 
    szSite[32]
    new 
    szCpub[32]
    new 
    szCwarm[32]
    new 
    szCclosed[32]
    new 
    szCrates[32]
    new 
    szPwdef[32]
    new 
    szOyunIsmi[32]


    /* Unban Menu*/
    new g_menuPosition[33]
    new 
    g_menuSelect[33][64]
    new 
    g_menuUnBanType[33]
    new 
    g_menuUnBanLine[33][2]
    new 
    g_menuUnBanText[33][8][32]
    new 
    g_bannedCfgFile[2][] = {"banned.cfg","listip.cfg"}
    new 
    g_coloredMenus


    /* Arrays */
    new bool:OnOff[33] = false
    new bool:EstoyReady[33]
    new 
    bool:BorraLista
    new bool:mitad false
    new bool:end false
    new bool:pasarse false
    new bool:ready false
    new bool:ready2 false


    /* Duck */
    new bool:g_bFakeDuck[33];
    new 
    g_iFakeEnt;
    new const 
    g_ciEntityName[] = "anti_doubleducker";
    new const 
    g_ciCustomInvisibleModel[] = "models/w_awp.mdl";
    new 
    g_duck;

    /* Cpt Say */
    new g_cptsay

    /* Team Ban */
    enum TeamData {
        
    CsTeams:TD_iTeam,
        
    TD_szInput20 ]
    };

    new const 
    g_iTeamData[ ][ TeamData ] = {
        { 
    CS_TEAM_UNASSIGNED"U" },
        { 
    CS_TEAM_UNASSIGNED"UNASSIGNED" },
        { 
    CS_TEAM_T"T" },
        { 
    CS_TEAM_T"TS" },
        { 
    CS_TEAM_T"TER" },
        { 
    CS_TEAM_T"TERR" },
        { 
    CS_TEAM_T"TERROR" },
        { 
    CS_TEAM_T"TERRORIST" },
        { 
    CS_TEAM_T"TERRORISTS" },
        { 
    CS_TEAM_CT"CT" },
        { 
    CS_TEAM_CT"CTS" },
        { 
    CS_TEAM_CT"COUNTERTERRORIST" },
        { 
    CS_TEAM_CT"COUNTERTERRORISTS" },
        { 
    CS_TEAM_CT"COUNTER-TERRORIST" },
        { 
    CS_TEAM_CT"COUNTER-TERRORISTS" },
        { 
    CS_TEAM_SPECTATOR"S" },
        { 
    CS_TEAM_SPECTATOR"SPEC" },
        { 
    CS_TEAM_SPECTATOR"SPECS" },
        { 
    CS_TEAM_SPECTATOR"SPECTATOR" },
        { 
    CS_TEAM_SPECTATOR"SPECTATORS" }
    };

    new 
    Trie:g_tTeamData;

    new const 
    g_szTeamNamesCsTeams ][ ] = {
        
    "Unassigned",
        
    "Terrorist",
        
    "Counter-Terrorist",
        
    "Spectator"
    };

    new 
    g_iMaxPlayers;


    /* Yeni Round */
    new rounds_elapsed;
     
    enum _teams {
    _terro,
    _ct
    }
     
    new 
    g_iScore[_teams]

    /* Takim Kilitleme */
    new g_teamlock;

    public 
    plugin_init() {
        
        
    register_plugin(PLUGINVERSIONAUTHOR)
        
        
        
    /* ÖzeL Match Bot Menu */
        
    register_clcmd("say !menu","PluginMenu")
        
    register_clcmd("say /menu","PluginMenu")
        
    register_clcmd("say .menu","PluginMenu")
        
        
    // Konsol Tanim Komutlari
        
    register_concmd"amx_banteam""CmdBanTeam"ADMIN_BAN"<team name> <time> [ban type=0] -- ban type: 0 = amx_ban, 1 = amx_banip" );        
        
    register_concmd("aim_prac""aim_prac"ADMIN_LEVEL_A"aim_prac <on|off> or <1|0>")
        
        
    /* Takım Slaplama */
        
    register_concmd"say !slapt""CmdSlapT"ADMIN_SLAY"[damage = 0] - slaps all terrorist players" );
        
    register_concmd"say /slapt""CmdSlapT"ADMIN_SLAY"[damage = 0] - slaps all terrorist players" );
        
    register_concmd"say .slapt""CmdSlapT"ADMIN_SLAY"[damage = 0] - slaps all terrorist players" );
        
    register_concmd"say !slapct""CmdSlapCT"ADMIN_SLAY"[damage = 0] - slaps all counter-terrorist players" );
        
    register_concmd"say /slapct""CmdSlapCT"ADMIN_SLAY"[damage = 0] - slaps all counter-terrorist players" );
        
    register_concmd"say .slapct""CmdSlapCT"ADMIN_SLAY"[damage = 0] - slaps all counter-terrorist players" );
        
    register_concmd"say !slapall""CmdSlapAll"ADMIN_SLAY"[damage = 0] - slaps all players" );    
        
    register_concmd"say /slapall""CmdSlapAll"ADMIN_SLAY"[damage = 0] - slaps all players" );
        
    register_concmd"say .slapall""CmdSlapAll"ADMIN_SLAY"[damage = 0] - slaps all players" );
        
             
    /* Takım Slaylama */
        
    register_concmd("say !slayt""cmdSlayT"ADMIN_SLAY"- slays Ts");
        
    register_concmd("say /slayt""cmdSlayT"ADMIN_SLAY"- slays Ts");
        
    register_concmd("say .slayt""cmdSlayT"ADMIN_SLAY"- slays Ts");
        
    register_concmd("say !slayct""cmdSlayCT"ADMIN_SLAY"- slays CTs");
        
    register_concmd("say /slayct""cmdSlayCT"ADMIN_SLAY"- slays CTs");
        
    register_concmd("say .slayct""cmdSlayCT"ADMIN_SLAY"- slays CTs");
        
    register_concmd("say !slayall","cmdSlayAll"ADMIN_CFG)
        
    register_concmd("say /slayall","cmdSlayAll"ADMIN_CFG)
        
    register_concmd("say .slayall","cmdSlayAll"ADMIN_CFG)    
        
        
    /* HeadShot Mod */
        
    register_concmd("say !hs","cmdHs"ADMIN_CFG)
        
    register_concmd("say /hs","cmdHs"ADMIN_CFG)
        
    register_concmd("say .hs","cmdHs"ADMIN_CFG)
        
    register_concmd("say !nohs","cmdNoHs"ADMIN_CFG)
        
    register_concmd("say /nohs","cmdNoHs"ADMIN_CFG)
        
    register_concmd("say .nohs","cmdNoHs"ADMIN_CFG)
        
        
    /* Amxmodx Komutlari */    
        
    register_concmd("say !off","off"ADMIN_CVAR)
        
    register_concmd("say /off","off"ADMIN_CVAR)
        
    register_concmd("say .off","off"ADMIN_CVAR)    
        
    register_concmd("say !on","on"ADMIN_CVAR)
        
    register_concmd("say /on","on"ADMIN_CVAR)
        
    register_concmd("say .on","on"ADMIN_CVAR)
        
    register_concmd("say /pause","PauseHandler"ADMIN_CFG)
        
    register_concmd("say !pause","PauseHandler"ADMIN_CFG)
        
    register_concmd("say .pause","PauseHandler"ADMIN_CFG)    
        
        
    /* Say Komutlari */
        
    register_concmd("say /say""cmdSayNosay"ADMIN_CVAR)
        
    register_concmd("say !say""cmdSayNosay"ADMIN_CVAR)
        
    register_concmd("say .say""cmdSayNosay"ADMIN_CVAR)
        
    register_concmd("say .cptsay","cmdCptsay"ADMIN_CVAR)    
        
    register_concmd("say !cptsay","cmdCptsay"ADMIN_CVAR)    
        
    register_concmd("say /cptsay","cmdCptsay"ADMIN_CVAR)        
        
    register_clcmd("say","nosay")
        
        
    /* Unban Komutları */
        
    register_clcmd("say !unban","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_clcmd("say /unban","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_clcmd("say .unban","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_clcmd("say !bansil","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_clcmd("say /bansil","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_clcmd("say .bansil","cmdUnBanMenu"ADMIN_BAN"- displays unban menu")
        
    register_menucmd(register_menuid("UnBan STEAMID or IP?"),(1<<0|1<<1|1<<9),"actionUnBanMenuType")
        
    register_menucmd(register_menuid("UnBan  Menu"),1023,"actionUnBanMenu")
        
        
    /* Duck Komutlari */
        
    register_concmd("say !duck""cmdDuckNoduck"ADMIN_CVAR)
        
    register_concmd("say /duck""cmdDuckNoduck"ADMIN_CVAR)
        
    register_concmd("say .duck""cmdDuckNoduck"ADMIN_CVAR)
        
        
    /* Password Komutlari */
        
    register_concmd("say /nopass","cmdNopass"ADMIN_CFG)
        
    register_concmd("say !nopass","cmdNopass"ADMIN_CFG)
        
    register_concmd("say .nopass","cmdNopass"ADMIN_CFG)
        
    register_concmd("say /nopw","cmdNopass"ADMIN_CFG)
        
    register_concmd("say !nopw","cmdNopass"ADMIN_CFG)
        
    register_concmd("say .nopw","cmdNopass"ADMIN_CFG)
        
    register_clcmd("say","sayPass")
        
    register_clcmd("say","SayPwkoy")
        
        
    /* Map Komutlari */
        
    register_concmd("say /maps","MapsMenu"ADMIN_MAP)
        
    register_concmd("say !maps","MapsMenu"ADMIN_MAP)
        
    register_concmd("say .maps","MapsMenu"ADMIN_MAP)
        
    register_concmd("say !restart","cmdMapRes"ADMIN_MAP)
        
    register_concmd("say /restart","cmdMapRes"ADMIN_MAP)
        
    register_concmd("say .restart","cmdMapRes"ADMIN_MAP)
        
        
    /* Maci Baslatma Komutlari */
        
    register_concmd("say /335","cmdVale"ADMIN_CFG)
        
    register_concmd("say !335","cmdVale"ADMIN_CFG)
        
    register_concmd("say .335","cmdVale"ADMIN_CFG)
        
    register_concmd("say /baslat","cmdVale"ADMIN_CFG)
        
    register_concmd("say !baslat","cmdVale"ADMIN_CFG)
        
    register_concmd("say .baslat","cmdVale"ADMIN_CFG)
        
        
    /*  ve Public Ayarlari */
        
    register_concmd("say !mac","cmdMacAyari"ADMIN_CFG)
        
    register_concmd("say /mac","cmdMacAyari"ADMIN_CFG)
        
    register_concmd("say .mac","cmdMacAyari"ADMIN_CFG)
        
    register_concmd("say !pub","cmdPubAyari"ADMIN_CFG)
        
    register_concmd("say /pub","cmdPubAyari"ADMIN_CFG)
        
    register_concmd("say .pub","cmdPubAyari"ADMIN_CFG)
        
        
    /* Taktik Süresi Ayarlari */
        
    register_concmd("say !tt","cmdTaktik"ADMIN_CFG)
        
    register_concmd("say /tt","cmdTaktik"ADMIN_CFG)
        
    register_concmd("say .tt","cmdTaktik"ADMIN_CFG)
        
    register_concmd("say !nott","cmdNoTaktik"ADMIN_CFG)
        
    register_concmd("say /nott","cmdNoTaktik"ADMIN_CFG)
        
    register_concmd("say .nott","cmdNoTaktik"ADMIN_CFG)
        
        
    /* Uzatma Ayarlari */
        
    register_concmd("say !uzat","cmdUzat"ADMIN_CFG)
        
    register_concmd("say /uzat","cmdUzat"ADMIN_CFG)
        
    register_concmd("say .uzat","cmdUzat"ADMIN_CFG)

        
    /* Restart Komutlari */
        
    register_concmd("say /rr","cmdRR"ADMIN_CFG)
        
    register_concmd("say !rr","cmdRR"ADMIN_CFG)
        
    register_concmd("say .rr","cmdRR"ADMIN_CFG)
        
    register_concmd("say /rr3","cmdRR3"ADMIN_CFG)
        
    register_concmd("say !rr3","cmdRR3"ADMIN_CFG)
        
    register_concmd("say .rr3","cmdRR3"ADMIN_CFG)
        
    register_concmd("say /rr5","cmdRR5"ADMIN_CFG)
        
    register_concmd("say !rr5","cmdRR5"ADMIN_CFG)
        
    register_concmd("say .rr5","cmdRR5"ADMIN_CFG)
        
    register_concmd("say !res","cmdRR"ADMIN_CFG)
        
    register_concmd("say /res","cmdRR"ADMIN_CFG)
        
    register_concmd("say .res","cmdRR"ADMIN_CFG)    
        
    register_concmd("say /res3","cmdRR3"ADMIN_CFG)
        
    register_concmd("say !res3","cmdRR3"ADMIN_CFG)
        
    register_concmd("say .res3","cmdRR3"ADMIN_CFG)    
        
    register_concmd("say /res5","cmdRR5"ADMIN_CFG)
        
    register_concmd("say !res5","cmdRR5"ADMIN_CFG)
        
    register_concmd("say .res5","cmdRR5"ADMIN_CFG)
        
        
    /* FriendlyFire Ayarlari */
        
    register_concmd("say !ff","cmdFFAc"ADMIN_CFG)
        
    register_concmd("say /ff","cmdFFAc"ADMIN_CFG)
        
    register_concmd("say .ff","cmdFFAc"ADMIN_CFG)
        
    register_concmd("say !noff","cmdFFKapa"ADMIN_CFG)
        
    register_concmd("say /noff","cmdFFKapa"ADMIN_CFG)
        
    register_concmd("say .noff","cmdFFKapa"ADMIN_CFG)
        
        
    /* Alltalk Ayarlari */
        
    register_concmd("say !talk","cmdTalk"ADMIN_CFG)
        
    register_concmd("say /talk","cmdTalk"ADMIN_CFG)
        
    register_concmd("say .talk","cmdTalk"ADMIN_CFG)
        
    register_concmd("say !notalk","cmdNoTalk"ADMIN_CFG)
        
    register_concmd("say /notalk","cmdNoTalk"ADMIN_CFG)
        
    register_concmd("say .notalk","cmdNoTalk"ADMIN_CFG)
        
    register_clcmd("say","cmdAlltalk")
        
        
    /* sXe Ayarlari */
        
    register_concmd("say !sxe","cmdSxe"ADMIN_CFG)
        
    register_concmd("say /sxe","cmdSxe"ADMIN_CFG)
        
    register_concmd("say .sxe","cmdSxe"ADMIN_CFG)
        
    register_concmd("say !sxeop","cmdSxeop"ADMIN_CFG)
        
    register_concmd("say /sxeop","cmdSxeop"ADMIN_CFG)
        
    register_concmd("say .sxeop","cmdSxeop"ADMIN_CFG)    
        
    register_concmd("say !nosxe","cmdNosxe"ADMIN_CFG)
        
    register_concmd("say /nosxe","cmdNosxe"ADMIN_CFG)
        
    register_concmd("say .nosxe","cmdNosxe"ADMIN_CFG)
        
        
    /* Takim Ayarlari */
        
    register_concmd("say !degis","cmdDegis"ADMIN_CFG)
        
    register_concmd("say /degis","cmdDegis"ADMIN_CFG)
        
    register_concmd("say .degis","cmdDegis"ADMIN_CFG)
        
    register_clcmd("chooseteam""cmdCambioTeam")    
        
        
    /* Takim Degistirme */
        
    register_concmd("say /takim""cmdTeamLock"ADMIN_CVAR)
        
    register_concmd("say !takim""cmdTeamLock"ADMIN_CVAR)
        
    register_concmd("say .takim""cmdTeamLock"ADMIN_CVAR)    
        
        
    /* Takım Banlama */
        
    register_concmd("say .bant","CmdBanT"ADMIN_CVAR)
        
    register_concmd("say /bant","CmdBanT"ADMIN_CVAR)
        
    register_concmd("say !bant","CmdBanT"ADMIN_CVAR)    
        
    register_concmd("say .banct","CmdBanCT"ADMIN_CVAR)
        
    register_concmd("say /banct","CmdBanCT"ADMIN_CVAR)
        
    register_concmd("say !banct","CmdBanCT"ADMIN_CVAR)    
        
    register_concmd("say .banspec","CmdBanS"ADMIN_CVAR)
        
    register_concmd("say /banspec","CmdBanS"ADMIN_CVAR)
        
    register_concmd("say !banspec","CmdBanS"ADMIN_CVAR)    
        
    register_concmd("say /banall","CmdBanAll"ADMIN_CVAR)
        
    register_concmd("say !banall","CmdBanAll"ADMIN_CVAR)
        
    register_concmd("say .banall","CmdBanAll"ADMIN_CVAR)
        
        
    /* Takim Kickleme */
        
    register_concmd"say !kickt""CmdKickT"ADMIN_KICK"- kicks all terrorist players" );
        
    register_concmd"say /kickt""CmdKickT"ADMIN_KICK"- kicks all terrorist players" );
        
    register_concmd"say .kickt""CmdKickT"ADMIN_KICK"- kicks all terrorist players" );
        
    register_concmd"say !kickct""CmdKickCT"ADMIN_KICK"- kicks all counter-terrorist players" );
        
    register_concmd"say /kickct""CmdKickCT"ADMIN_KICK"- kicks all counter-terrorist players" );
        
    register_concmd"say .kickct""CmdKickCT"ADMIN_KICK"- kicks all counter-terrorist players" );
        
    register_concmd"say !kickall""CmdKickAll"ADMIN_KICK"- kicks all players" );
        
    register_concmd"say /kickall""CmdKickAll"ADMIN_KICK"- kicks all players" );
        
    register_concmd"say .kickall""CmdKickAll"ADMIN_KICK"- kicks all players" );
        
    register_concmd"say .quitt""CmdQuitT"ADMIN_KICK"- quits T players" );
        
    register_concmd"say /quitt""CmdQuitT"ADMIN_KICK"- quits T players" );
        
    register_concmd"say !quitt""CmdQuitT"ADMIN_KICK"- quits T players" );
        
    register_concmd"say .quitct""CmdQuitCT"ADMIN_KICK"- quits CT players" );
        
    register_concmd"say /quitct""CmdQuitCT"ADMIN_KICK"- quits CT players" );
        
    register_concmd"say !quitct""CmdQuitCT"ADMIN_KICK"- quits CT players" );
        
        
    /* Mac Bitirme */
        
    register_concmd("say !bitir","cmdMacBitir"ADMIN_CFG)
        
    register_concmd("say /bitir","cmdMacBitir"ADMIN_CFG)
        
    register_concmd("say .bitir","cmdMacBitir"ADMIN_CFG)
        
        
    /* ScreenShot Komutlari */
        
    register_clcmd("say .ss","cmdSs")    
        
    register_clcmd("say /ss","cmdSs")
        
    register_clcmd("say !ss","cmdSs")
        
    register_clcmd("say .sst","cmdssT")
        
    register_clcmd("say !sst","cmdssT")
        
    register_clcmd("say /sst","cmdssT")
        
    register_clcmd("say .ssct","cmdssCT")
        
    register_clcmd("say /ssct","cmdssCT")
        
    register_clcmd("say !ssct","cmdssCT")
        
    register_clcmd("say !ssall","cmdAllss")    
        
    register_clcmd("say /ssall","cmdAllss")    
        
    register_clcmd("say .ssall","cmdAllss")    
        
    register_clcmd("say !ssmenu","cmdSsmenu")
        
    register_clcmd("say /ssmenu","cmdSsmenu")
        
    register_clcmd("say .ssmenu","cmdSsmenu")    
        
    g_iMaxPlayers get_maxplayers( );    
        
        
    /* Demo Komutlari */
        
    register_clcmd("say","SayDemo")
        
    register_clcmd("say .stop","cmdStop")    
        
    register_clcmd("say /stop","cmdStop")    
        
    register_clcmd("say !stop","cmdStop")
        
        
    /* Para Gösterme */
        
    register_clcmd("say !para""cmdParaGoster");
        
    register_clcmd("say /para""cmdParaGoster");
        
    register_clcmd("say .para""cmdParaGoster");    
        
        
    /* Skor Öğrenme */
        
    register_clcmd("say_team !skor","say_resultado")
        
    register_clcmd("say_team /skor","say_resultado")
        
    register_clcmd("say_team .skor","say_resultado")
        
    register_clcmd("say !skor","say_resultado")
        
    register_clcmd("say /skor","say_resultado")
        
    register_clcmd("say .skor","say_resultado")
        
    register_clcmd("say_team !durum","say_resultado")
        
    register_clcmd("say_team /durum","say_resultado")
        
    register_clcmd("say_team .durum","say_resultado")
        
    /* Frag Kaydetme */
        
    register_clcmd("say !frag","frag_part1")
        
    register_clcmd("say /frag","frag_part1")
        
    register_clcmd("say .frag","frag_part1")
        
        
    register_clcmd("say /ready""menu_ready")
        
    register_clcmd("say""chatFilter");
        
        
        
    // Eventler
        
    register_logevent("round_end"2"1=Round_End")  
        
    register_event("HLTV""nuevo_round""a""1=0""2=0"
        
    register_event("TeamScore","captura_score","a")
        
    register_event("TeamScore""Event_TeamScore""a")
        
    register_clcmd("say .score1""ClientCommand_SayScore")
        
    register_event("HLTV","new_round","a","1=0","2=0");
        
    register_event("TextMsg""restart_round""a""2=#Game_will_restart_in");    
        
        
        
    // pCvarLar
        
    g_RESULTADO register_cvar("mt_enable","0"
        
    g_READY register_cvar("mt_ready","0"
        
    g_SAY register_cvar("mt_nosay","0"
        
    g_SRVTAG register_cvar("mt_servertag","[SG]")
        
    g_SiteTag register_cvar("mt_site","servergamerz.net")
        
    g_soniditos register_cvar("mt_sounds","1")
        
    g_welcomemsg register_cvar("mt_welcome","1")
        
    g_pwDEF register_cvar("mt_password","closed")
        
    g_pPasswordPointer get_cvar_pointer("sv_password"
        
    cfgPub register_cvar("mt_cfg_public","public.cfg")
        
    cfgWarm register_cvar("mt_cfg_warmup","warmup.cfg")
        
    cfgClosed register_cvar("mt_cfg_closed","closed.cfg")
        
    cfgRates register_cvar("mt_cfg_rates","rates.cfg")
        
    OyunIsmi register_cvar("mt_gamename","servergamerz.net")
        
    g_duck register_cvar("mt_duck","0"
        
    g_cptsay register_cvar("mt_cptsay","1"
        
    g_teamlock register_cvar("mt_teamlock","0"
        
        
        
    // Stringsler
        
    get_pcvar_string(g_SRVTAG,szStag,31)
        
    get_pcvar_string(g_SiteTag,szSite,31)
        
    get_pcvar_string(g_pwDEF,szPwdef,31)    
        
    get_pcvar_string(cfgPub,szCpub,31)
        
    get_pcvar_string(cfgWarm,szCwarm,31)    
        
    get_pcvar_string(cfgClosed,szCclosed,31)
        
    get_pcvar_string(cfgRates,szCrates,31)
        
    get_pcvar_string(OyunIsmi,szOyunIsmi,31)
        

        
    // CvarLar
        
    register_cvar("mm_author"AUTHORFCVAR_SERVER FCVAR_SPONLY
        
    register_cvar("mm_version"VERSIONFCVAR_SPONLY|FCVAR_SERVER)
        
    set_task(180.0,"CheckSlots",_,_,_,"b")
        
        
        
    // Forwadlar
        
    register_forwardFM_GetGameDescription"GameDesc" )    
        
    register_forward(FM_PlayerPreThink,  "FM_PlayerPreThink_Pre",  0);
        
    register_forward(FM_PlayerPostThink"FM_PlayerPostThink_Pre"0);
        
    register_forward(FM_AddToFullPack,   "FM_AddToFullPack_Pre",   0);
        
    register_forward(FM_AddToFullPack,   "FM_AddToFullPack_Post",  1);
        
        if( (
    g_iFakeEnt=engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"func_wall")))>)
        {
            
    engfunc(EngFunc_SetModelg_iFakeEntg_ciCustomInvisibleModel); 
            
    set_pev(g_iFakeEntpev_classname,  g_ciEntityName); 
            
    set_pev(g_iFakeEntpev_solid,      SOLID_NOT);
            
    set_pev(g_iFakeEntpev_movetype,   MOVETYPE_NONE);
            
    set_pev(g_iFakeEntpev_rendermodekRenderTransAlpha); 
            
    set_pev(g_iFakeEntpev_renderamt,  0.0); 
        }
        
        
        
    // Team Ban
        
    g_tTeamData TrieCreate( );
        for( new 
    0sizeofg_iTeamData ); i++ ) {
        
    TrieSetCellg_tTeamDatag_iTeamData][ TD_szInput ], g_iTeamData][ TD_iTeam ] );
        }
        
    }

    public 
    Event_TeamScore()
    {
        
        new 
    szTeamName[2]
        
    read_data(1szTeamName1)
        
    g_iScore[szTeamName[0] == 'T' _terro _ct] = read_data(2)
    }
     
    public 
    ClientCommand_SayScore(id)
    {
        
        
    client_print(0print_chat,"Round %s"rounds_elapsed);
        
    client_print(idprint_chat"Score : Terrorists %d - %d CTs"g_iScore[_terro], g_iScore[_ct])
        return 
    PLUGIN_HANDLED

     
    public 
    new_round(id)
    {
        
        
    rounds_elapsed += 1;
        
    chat_color(0,"!g[%s] !yRound: !t%d !y-  [T : !g%i!y]  !y-  [CT : !g%i!y]"szStagrounds_elapsedtt_win ct_win )
        return 
    PLUGIN_HANDLED
    }


    public 
    restart_round()
    {
        
        
    rounds_elapsed 0
        
    g_iScore[_terro] = 0;
        
    g_iScore[_ct] = 0;
        
    tt_win 0
        ct_win 
    0

    }  

    public 
    chatFilter(id) {
        new 
    message[128];
        
    read_argv(1message127);

        for(new 
    i=0;i<sizeof(g_cmds);i++) {

            new 
    cmd[33];
            
    formatex(cmd,32,"%s",g_cmds[i])
            if(
    containi(message,cmd) == 0) {

                
    //admin level required
                
    switch(i) {
                    case 
    0,1,2,3,4,5,6,7,8: {
                        if(!(
    get_user_flags(id) & ADMIN_CVAR))
                            return 
    PLUGIN_CONTINUE;
                    }
                }
                
    callBack(idi);
                return 
    PLUGIN_HANDLED;
            }
        }
        return 
    PLUGIN_CONTINUE;
    }
    public 
    callBack(idcID) {
        new 
    message[128], cmd[33], arg[65], arg2[65];
        
    read_argv (1message128);
        
    parse(message,cmd,32,arg,64,arg2,64);
        
    replace(cmd,32,"ghsfg","");

        switch(
    cID) {
            case 
    0: { // kick
                
    console_cmd(id,"amx_kick %s"arg);
            }
            case 
    1: { // kick
                
    console_cmd(id,"amx_kick %s"arg);
            }
            case 
    2: { // kick
                
    console_cmd(id,"amx_kick %s"arg);
            }
            case 
    3: { // map
                
    console_cmd(id,"amx_map %s"arg);
            }
            case 
    4: { // map
                
    console_cmd(id,"amx_map %s"arg);
            }
            case 
    5: { // map
                
    console_cmd(id,"amx_map %s"arg);
            }
            case 
    6: { // banip
                
    new bantime=str_to_num(arg2);

                if(
    bantime==0)
                    
    bantime=1;
                
    console_cmd(id,"amx_banip %s %d"argbantime);
            }
            case 
    7: { // banip
                
    new bantime=str_to_num(arg2);
                
                if(
    bantime==0)
                    
    bantime=1;
                
    console_cmd(id,"amx_banip %s %d"argbantime);
            }
            case 
    8: { // banip
                
    new bantime=str_to_num(arg2);
                
                if(
    bantime==0)
                    
    bantime=1;
                
    console_cmd(id,"amx_banip %s %d"argbantime);
            }
            case 
    9: { // slay
                
    console_cmd(id,"amx_slay %s"arg);
            }
            case 
    10: { // slay
                
    console_cmd(id,"amx_slay %s"arg);
            }
            case 
    11: { // slay
                
    console_cmd(id,"amx_slay %s"arg);
            }
            case 
    12: { // slap
                
    console_cmd(id,"amx_slap %s 0"arg);
            }
            case 
    13: { // slap
                
    console_cmd(id,"amx_slap %s 0"arg);
            }
            case 
    14: { // slap
                
    console_cmd(id,"amx_slap %s 0"arg);
            }  
            case 
    15: { 
                
    console_cmd(id,"amx_teammenu");
            }
            case 
    16: { 
                
    console_cmd(id,"amx_teammenu");
            } 
            case 
    17: { 
                
    console_cmd(id,"amx_teammenu");
            }     
            case 
    18: { 
                
    console_cmd(id,"amx_kickmenu");
            }
            case 
    19: { 
                
    console_cmd(id,"amx_kickmenu");
            } 
            case 
    20: { 
                
    console_cmd(id,"amx_kickmenu");
            }     
            case 
    21: { 
                
    console_cmd(id,"amx_banmenu");
            }
            case 
    22: { 
                
    console_cmd(id,"amx_banmenu");
            } 
            case 
    23: { 
                
    console_cmd(id,"amx_banmenu");
            }     
            case 
    24: { 
                
    console_cmd(id,"amx_slapmenu");
            }
            case 
    25: { 
                
    console_cmd(id,"amx_slapmenu");
            }  
            case 
    26: { 
                
    console_cmd(id,"amx_slapmenu");
            }
            case 
    27: { 
                
    console_cmd(id,"amx_teammenu");
            }
            case 
    28: { 
                
    console_cmd(id,"amx_teammenu");
            } 
            case 
    29: { 
                
    console_cmd(id,"amx_teammenu");
            }
            case 
    30: { 
                
    console_cmd(id,"amx_kickmenu");
            }
            case 
    31: { 
                
    console_cmd(id,"amx_kickmenu");
            } 
            case 
    32: { 
                
    console_cmd(id,"amx_kickmenu");
            } 
            case 
    33: { 
                
    console_cmd(id,"amx_banmenu");
            }
            case 
    34: { 
                
    console_cmd(id,"amx_banmenu");
            } 
            case 
    35: { 
                
    console_cmd(id,"amx_banmenu");
            }
            case 
    36: { 
                
    console_cmd(id,"amx_slapmenu");
            }
            case 
    37: { 
                
    console_cmd(id,"amx_slapmenu");
            }  
            case 
    38: { 
                
    console_cmd(id,"amx_slapmenu");    
            }
            case 
    39: { 
                
    console_cmd(id,"amx_map de_dust2");
            }
            case 
    40: { 
                
    console_cmd(id,"amx_map de_dust2");
            }    
            case 
    41: { 
                
    console_cmd(id,"amx_map de_dust2");
            }
            case 
    42: { 
                
    console_cmd(id,"amx_map de_inferno");
            }
            case 
    43: { 
                
    console_cmd(id,"amx_map de_inferno");
            }
            case 
    44: { 
                
    console_cmd(id,"amx_map de_inferno");
            }
            case 
    45: { 
                
    console_cmd(id,"amx_map de_nuke");
            }
            case 
    46: { 
                
    console_cmd(id,"amx_map de_nuke");
            }
            case 
    47: { 
                
    console_cmd(id,"amx_map de_nuke");
            }
            case 
    48: { 
                
    console_cmd(id,"amx_map de_cbble");
            }
            case 
    49: { 
                
    console_cmd(id,"amx_map de_cbble");
            }
            case 
    50: { 
                
    console_cmd(id,"amx_map de_cbble");
            }
            case 
    51: { 
                
    console_cmd(id,"amx_map de_tuscan");
            }
            case 
    52: { 
                
    console_cmd(id,"amx_map de_tuscan");
            }
            case 
    53: { 
                
    console_cmd(id,"amx_map de_tuscan");
            }
            case 
    54: { 
                
    console_cmd(id,"amx_map de_train");
            }
            case 
    55: { 
                
    console_cmd(id,"amx_map de_train");
            }
            case 
    56: { 
                
    console_cmd(id,"amx_map de_train");
            }
            case 
    57: { 
                
    console_cmd(id,"amx_map de_cpl_fire");
            }
            case 
    58: { 
                
    console_cmd(id,"amx_map de_cpl_fire");
            }
            case 
    59: { 
                
    console_cmd(id,"amx_map de_cpl_fire");
            }
            case 
    60: { 
                
    console_cmd(id,"amx_map de_cpl_mill");
            }
            case 
    61: { 
                
    console_cmd(id,"amx_map de_cpl_mill");
            }
            case 
    62: { 
                
    console_cmd(id,"amx_map de_cpl_mill");
            }
            case 
    63: { 
                
    console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 
    64: { 
                
    console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 
    65: { 
                
    console_cmd(id,"amx_map de_cpl_overrun");
            }
            case 
    66: { 
                
    console_cmd(id,"amx_map de_cpl_strike");
            }
            case 
    67: { 
                
    console_cmd(id,"amx_map de_cpl_strike");
            }
            case 
    68: { 
                
    console_cmd(id,"amx_map de_cpl_strike");
            }
            case 
    69: { 
                
    console_cmd(id,"amx_cvar %s %s"arg,arg2);
            }
            case 
    70: { 
                
    console_cmd(id,"amx_cvar %s %s"arg,arg2);
            }
            case 
    71: { 
                
    console_cmd(id,"amx_cvar %s %s"arg,arg2);
            }
            case 
    72: { 
                
    console_cmd(id,"amx_rcon %s %s"arg,arg2);
            }
            case 
    73: { 
                
    console_cmd(id,"amx_rcon %s %s"arg,arg2);
            }
            case 
    74: { 
                
    console_cmd(id,"amx_rcon %s %s"arg,arg2);
            }    
        }
        return 
    PLUGIN_HANDLED;
    }

    public 
    plugin_end( ) {
        
    TrieDestroyg_tTeamData );
    }


    public 
    GameDesc( ) {
        
        
    forward_return(FMV_STRING,szOyunIsmi)
        return 
    FMRES_SUPERCEDE
        
    }
    public 
    client_disconnect(id) { 
        
        
    g_bFakeDuck[id] = false;
        
        
    OnOff[id] = false
        
    if(EstoyReady[id]) {
            
    EstoyReady[id] = false;
            
    ReadyCont--;
        }


    public 
    plugin_cfg() {
        
        if(
    is_plugin_loaded("Pause Plugins") != -1)
            
    server_cmd("amx_pausecfg add ^"%s^""PLUGIN)
    }

    public 
    off() {
        
        
    server_cmd("amx_off")
        
        
    chat_color(0,"!g[%s] !yAmxmodx !tKapatildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    on() {
        
        
    server_cmd("amx_on")
            
        
    chat_color(0,"!g[%s] !yAmxmodx !tAcildi.",szStag)
            
        return 
    PLUGIN_HANDLED
    }


    public 
    captura_score() {
        
        if 
    PlugActivo {
            
            new 
    team[16],Float:score
            read_data
    (1,team,15)
            
    read_data(2,score)
            
            if(
    equal(team,"CT"))
                
    ct_win floatround(score)
            
            
            if(
    equal(team,"TERRORIST"))
                
    tt_win floatround(score)
            
            
    total ct_win tt_win    
        
    }
    }

    public 
    nuevo_round(id){
        
        if (
    get_pcvar_num(g_READY)) 
        {
            
    ready true
            ready2 
    true
        
    }
        else
        
    ready false 
        
        
        
    if (ready) {
            
            
    set_task(1.0"ActualizaLista"TASK_LISTA__"b")
            
    set_task(1.0"CheckLista"TASK_CHE__"b")
            
    set_task(2.0"mensaje"TASK_MENSAJE)
            
    client_cmd(id,"say /ready")
        }
    }

    public 
    round_end(){
        
        
        if 
    PlugActivo   {    
            
            if (
    total == 15 && (!mitad)) {
                
                
    totalCT tt_win
                totalTT 
    ct_win
                
                FraMitad 
    El_mas_Frager();    
                
    MasFraguer1 get_user_frags(FraMitad)
                
                if (
    ready2) {
                    
    set_pcvar_num (g_READY1)
                }
                
    set_task(1.0"cambio_teams"TASK_CAMBIO)

                
    chat_color(0,"!g[%s] !g1 RESTART!t'tan Sonra 2.Devre Baslayacak.",szStag)

                
    server_cmd("sv_restart 5")
                
                
    mitad true
                
                chat_color
    (0,"!g[%s] !yTakimlar Degistiriliyor !gCounter-Terrorists !y: !t%i !y- !gTerrorists !y: !t%i !y.",szStag,totalTT,totalCT)
                
                
    set_task(1.0"mitadmsg")
                
                
    globalCT totalCT
                globalTT 
    totalTT
                tt_win 
    0
                ct_win 
    0
                
            
    }
        }
        if (
    mitad) {
            
            if (
    ct_win totalCT == 16){
                
    chat_color(0,"!g[%s] !yCounter-Terorists !gMaci Kazandi.",szStag)
                
                
    HudBlu
                show_hudmessage
    (0,"Counter-Teroristler Kazandi.")    
                        
                
    end true
                mitad 
    false
            
    }
            else if (
    tt_win totalTT == 16)
            {
                
    chat_color(0,"!g[%s] !yTerorists !gMaci Kazandi.",szStag)
                
    HudRed
                show_hudmessage
    (0,"Teroristler Kazandi.")
                
                
                
    end true
                mitad 
    false
            
    }
            else if (
    tt_win totalTT == 15 && ct_win totalCT == 15)
            {
                
    HudVrd
                show_hudmessage
    (0"Mac Berabere Sonuclandi.")
                
                
                
    end true
                mitad 
    false
            
    }
            if (
    end){
                
                
    chat_color(0,"!g[%s] !yMac Sonucu : !gCounter-Terrorists : !t%i  !y-  !g-Terrorists : !t%i",szStagct_win totalCT,tt_win totalTT)
                
                
    FraFinal El_mas_Frager();
                
    MasFraguer2 get_user_frags(FraFinal)        
                
    set_task(5.0"mas_fraguero1")
                
    set_task(5.0"mas_fraguero2")
                
    set_task(7.0"cmdMacBitir2")
                
                
    globalCT totalCT ct_win
                globalTT 
    totalTT tt_win
                
                end 
    false
                pasarse 
    false
                
            
    }
        }
    }

    public 
    cmdVale(idlevelcid) {
        
        if( !
    cmd_accessidlevelcid) )  
            
        return 
    PLUGIN_HANDLED;
        
        
    pasarse true
        remove_task
    (TASK_LISTA)
        
    remove_task(TASK_CHE)
        
    set_pcvar_num (g_READY0)
        
    EstoyReady[id] = false
        ReadyCont 
    0
        
        
    new pass[32]
        
    get_cvar_string("sv_password",pass,sizeof(pass) - 1)
        
        if(!
    mitad) {    
            
            
    tt_win 0
            ct_win 
    0
            total 
    0
            totalCT 
    0
            totalTT 
    0
            end 
    false
            
            set_task
    (0.1"print"TASK_PRINT)
        }    
        else
            
        
    tt_win 0
        ct_win 
    0
        ready2 
    false
        set_task
    (0.1"print"TASK_PRINT)  
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdNuevo (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )      
            return 
    PLUGIN_HANDLED;
        
        
    tt_win 0
        ct_win 
    0
        total 
    0
        totalCT 
    0
        totalTT 
    0
        globalCT 
    0
        globalTT 
    0
        end 
    false
        mitad 
    false
        EstoyReady
    [id] = false
        ReadyCont 
    0
        set_pcvar_num 
    (g_READY0)
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdRR (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        
    server_cmd("sv_restart 1")
        
        new 
    admin_name[32]
        
    get_user_name(id admin_name 31 )
        
    chat_color(0,"!g%s !t1 !ySaniyelik Restart Atti.",admin_name)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdRR3 (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        
    server_cmd("sv_restart 3")
        
        new 
    admin_name[32]
        
    get_user_name(id admin_name 31 )
        
    chat_color(0,"!g%s !t3 !ySaniyelik Restart Atti.",admin_name)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdRR5 (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        
    server_cmd("sv_restart 5")
        
        new 
    admin_name[32]
        
    get_user_name(id admin_name 31 )
        
    chat_color(0,"!g%s !t5 !ySaniyelik Restart Atti.",admin_name)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdNopass (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        
    set_pcvar_string(g_pPasswordPointer"")
        
        
    chat_color(0,"!g[%s] !yServer Sifresi !tKaldirildi.",szStag)    
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CheckSlots (id){
        
        new 
    Players get_playersnum(1)
        if(
    Players <= 5){
            
            
    /*tt_win = 0
            ct_win = 0
            total = 0
            totalCT = 0
            totalTT = 0
            globalCT = 0
            globalTT = 0
            end = false
            mitad = false*/
            
    EstoyReady[id] = false
            ReadyCont 
    0
            set_pcvar_num 
    (g_READY0)
            
        }
    }

    public 
    menu_ready(id) {
        
        if (!
    ready
            
        return 
    PLUGIN_HANDLED;
        
        new 
    menuMenuz[512]
        
    formatex(Menuzcharsmax(Menuz), "%L"id"MM_READYMENU_TITLE")
        
    menu menu_create(Menuz"abre_menu")
        
    formatex(Menuzcharsmax(Menuz), "%L"id"MM_READYMENU_READY")
        
    menu_additem(menuMenuz"1"0)
        
    formatex(Menuzcharsmax(Menuz), "%L"id"MM_READYMENU_NOTREADY")
        
    menu_additem(menuMenuz"2"0)    
        
    menu_setprop(menuMPROP_EXITMEXIT_ALL)
        
    formatex(Menuzcharsmax(Menuz), "%L"id"MM_ALLMENUS_CLOSE")
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz)
        
        
    menu_display(idmenu0)
        return 
    PLUGIN_HANDLED
    }

    public 
    abre_menu(idmenuitem)  {
        
        if (
    item == MENU_EXIT) {
            
            
    menu_destroy(menu)
            return 
    PLUGIN_HANDLED
        
    }
        new 
    data[6], iName[64]
        new 
    accesscallback
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)
        
        new 
    key str_to_num(data)
        switch(
    key)
        {
            case 
    1:{
                
                if(!
    EstoyReady[id]) {
                    
    EstoyReady[id] = true;
                    
    ReadyCont++;
                }
            }
            case 
    2:{
                
                if(
    EstoyReady[id]) {
                    
    EstoyReady[id] = false;
                    
    ReadyCont--;
                }
            }
        }
        
    menu_destroy(menu)
        return 
    PLUGIN_HANDLED
    }

    El_mas_Frager() {
        
        static 
    players[32];
        new 
    numiid;
        
    get_players(playersnum);
        
        new 
    acumfrag;
        
        for(
    0numi++)
        {
            
    id players[i];
            
            if(!
    acumfragacumfrag players[0];
            
            if(
    get_user_frags(id) > get_user_frags(acumfrag))
                
            
    acumfrag id;
        }
        return 
    acumfrag;
    }

    public print(){
        
        
    set_task (1.0,"cinco")
        
    set_task (2.0,"cuatro")
        
    set_task (3.0,"tres")
        
    set_task (4.0,"dos")
        
    set_task (5.0,"uno")
        
    set_task (6.0,"valeria")
        
        
    set_task(7.0"RR1")
        
    set_task(11.0"RR3")
        
    set_task(13.0"RR5")
        
    set_task(14.0"MacAyariYap")    
        
        
    remove_task(TASK_PRINT)
        
    set_task(19.0"msg"TASK_MSG)
    }

    public 
    say_resultado(){
        
        if 
    PlugActivo {
            
        if(!
    mitad){
                
        
    chat_color(0,"!g[%s] !ySkorlar : !gCounter-Terrorists !t: %i  !y- !gTerrorists !y: !t: %i",szStag,ct_win,tt_win)
        }
        else if (
    mitad) {
         
    chat_color(0,"!g[%s] !ySkorlar : !gCounter-Terrorists !t:%i  !y- !gTerrorists !y: !t%i",szStag,ct_win totalCT,tt_win totalTT)
                
        }
        }
    }

    public 
    sayPass(id){
        
        new 
    said[192]
        
    read_args(said,191)
        
        new 
    pass[32]
        
    get_cvar_string("sv_password",pass,sizeof(pass) - 1)
        
        if(
    containi(said,".pw") != -|| containi(said,"!pw") != -|| containi(said,"/pw") != -|| containi(said,"!pwal") != -|| containi(said,"/pwal") != -|| containi(said,".pwal") != -){
            
            if(
    pass[0])
            {
                
    chat_color(id,"!g[%s] !yServer Password !g: !t%s",szStagpass)
                
    client_cmd(id,"password ^"%s^"",pass)
            }
            else
                
    chat_color(id,"!g[%s] !yServerde Sifre !tYok!y.",szStag)
            
        }
    }

    public 
    nosay(id){
        
        if(!
    get_pcvar_num(g_SAY))
            return 
    PLUGIN_CONTINUE
        
        
    if(get_user_flags(id) & ADMIN_CFG)
            return 
    PLUGIN_CONTINUE
        
        
    new said[192]
        
    read_args(said,191)

        if (!
    get_pcvar_num(g_cptsay)) {
            
        static 
    szName[32]
        
    get_user_name(idszNamecharsmax(szName))
        if( 
    contain(szName"Cpt") != -1  || contain(szName"CPT") != -|| contain(szName"cpt") != -||  contain(szName"cPt") != -1  ||  contain(szName"cpT") != -1   )    
        {    
        return 
    PLUGIN_CONTINUE
    }        
    }
        
    chat_color(id"!g[%s] !ySay Konusmalari !tKapalidir.",szStag)
        
        return 
    PLUGIN_HANDLED
        


    public 
    cmdCambioTeam(id){
        
        if (!
    get_pcvar_num(g_teamlock)) {
            
            
    pasarse false
        
    }
        
        if (!
    pasarse)  
            return 
    PLUGIN_CONTINUE;
        
        if (
    cs_get_user_team(id) == CS_TEAM_SPECTATOR)
            return 
    PLUGIN_HANDLED;
        
        
    chat_color(id,"!g[%s] !yTakim Degistirme !tKapalidir.",szStag)
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cambio_teams(){
        
        new 
    players[32], num
        get_players
    (playersnum)
        
        new 
    player
        
    for(new 0numi++)
        {
            
    player players[i]
            
            if(
    cs_get_user_team(player) == CS_TEAM_T)
            {
                
    cs_set_user_team(playerCS_TEAM_CT)
            }
            else if(
    cs_get_user_team(player) == CS_TEAM_CT)
            {
                
    cs_set_user_team(playerCS_TEAM_T)
            }
        }
        
    remove_task(TASK_CAMBIO)
    }

    public 
    ActualizaLista()
    {
        if(!
    get_pcvar_num(g_RESULTADO))
            return;
        
        new 
    MsgText[96];
        
        for(new 
    1<= 32i++)
        {
            if(
    is_user_connected(i) && EstoyReady[i])
            {
                
                new 
    PlayerName[32];
                
    get_user_name(iPlayerNamesizeof(PlayerName) - 1)
                
                
    set_hudmessage(20010000.020000,0.25000000.01.10.00.0, -1)
                
    show_hudmessage(0"%L",LANG_PLAYER,"MM_HUD_READY"ReadyCont TodosLosPlayers())
                
                
    format(MsgText95"%s^n%s"MsgTextPlayerName)
            }
        }
        
        
    set_hudmessage(2552552550.020000,0.25000000.01.10.00.0, -1)
        
        if(
    ReadyCont 0)
            
    show_hudmessage(0MsgText)
        
        else
            
    show_hudmessage(0"%L",LANG_PLAYER,"MM_HUD_READYTOPLAY")
    }

    public 
    CheckLista(id)
    {
        if(!
    get_pcvar_num(g_RESULTADO))
            return;
        
        if(
    ReadyCont != && ReadyCont == TodosLosPlayers() && !BorraLista)
        {
            
    remove_task(TASK_LISTA)
            
            
    BorraLista true;
            
    set_task (0.1"cmdVale")
        }
        
        if(
    BorraLista && ReadyCont != TodosLosPlayers())
        {
            
    BorraLista false;
            
    set_task(1.0"ActualizaLista"TASK_LISTA__"b");
        }
    }

    TodosLosPlayers() {
        
        new 
    Players;
        
        for(new 
    1<= 32i++)
        {
            if(
    is_user_connected(i))
                
    Players++;
        }
        
        return 
    Players;
    }  

    public 
    RR1()
    {
        
    HudGris
        show_hudmessage
    (0"%s",szSite)
        
    server_cmd("sv_restart 1")
        
    chat_color(0,"!g[%s] !t- !y1.RESTART: !g3 !tSaniye."szStag)
    }

    public 
    RR3()
    {
        
    HudBlu2
        show_hudmessage
    (0"%s",szSite)
        
    server_cmd("sv_restart 1")
        
    chat_color(0,"!g[%s] !t- !y2.RESTART: !g3 !tSaniye."szStag)
    }

    public 
    RR5()
    {
        
    HudRed2
        show_hudmessage
    (0"%s",szSite)
        
    server_cmd("sv_restart 5")
        
    chat_color(0,"!g[%s] !t- !y3.RESTART: !g5 !tSaniye."szStag)
        
    client_cmd(0,"spk ^"events/round_start^"")
    }

    public 
    cinco() {
        
        if (
    get_pcvar_num(g_soniditos) == ) {
            
    client_cmd(0"spk ^"fvox/five^"")
            
            
    chat_color(0,"!g[%s] !yMac Baslatma Komutu Uygulandi...",szStag)
            
        }
        
    set_hudmessage(2001000, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s ^n Mac Basliyor!^n [ 5 ]",szSite)
        
    }
    public 
    cuatro() {
        if (
    get_pcvar_num(g_soniditos) == ) {
            
    client_cmd(0"spk ^"fvox/four^"")
            
        }
        
    set_hudmessage(2001000, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s ^n Mac Basliyor!^n [ 4 ]",szSite)
        
        new 
    pass[32]
        
    get_cvar_string("sv_password",pass,sizeof(pass) - 1)

        
        
    chat_color(0,"!g[%s] !yTum Ayarlar Yuklendi.",szStag)
        
        
    chat_color(0,"!g[%s] !tMac Basliyor.",szStag)
    }
    public 
    tres() {
        if (
    get_pcvar_num(g_soniditos) == ) {
            
    client_cmd(0"spk ^"fvox/three^"")
            
        }
        
    set_hudmessage(2001000, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s ^n Mac Basliyor!^n [ 3 ]",szSite)
    }

    public 
    dos() {
        if (
    get_pcvar_num(g_soniditos) == ) {
            
    client_cmd(0"spk ^"fvox/two^"")
            
        }
        
    set_hudmessage(2001000, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s ^n Mac Basliyor!^n [ 2 ]",szSite)
    }
    public 
    uno() {
        if (
    get_pcvar_num(g_soniditos) == ) {
            
    client_cmd(0"spk ^"fvox/one^"")
            
        }
        
    set_hudmessage(2001000, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s ^n Mac Basliyor!^n [ 1 ]",szSite)
    }

    public 
    valeria() {    
        
    set_hudmessage(25500, -1.0, -1.010.02.00.00.03)
        
    show_hudmessage(0"%s",szSite)
        
    chat_color(0,"!g[%s] 3 RESTART'!gtan sonra mac baslayacak..."szStag)
    }
    public 
    mitadmsg(){
        
        
    HudVrd
        show_hudmessage
    (0"Takimlar Degistiriliyor ^n1.Devre ^nCounter-Terrorists : %i - Terrorists : %i"globalTTglobalCT)
    }

    public 
    mas_fraguero1() {
        
        new 
    name[32]
        
    get_user_name(FraMitadnamesizeof(name) - 1)
        
        
    set_hudmessage(646464, -1.00.2120.0216.000.010.1, -1)
        
    show_hudmessage(0"1.Devre En Iyi Frag ^n%s = %i Frag"nameMasFraguer1 )
    }  

    public 
    mas_fraguero2() {
        
        new 
    name[32]
        
    get_user_name(FraFinalnamesizeof(name) - 1)
        
        
    set_hudmessage(646464, -1.00.2920.0216.000.010.1, -1)
        
    show_hudmessage(0"2.Devre En Iyi Frag ^n%s = %i Frag"nameMasFraguer2 )
    }

    public 
    mensaje() {
        
        
    chat_color(0,"%L",LANG_PLAYER,"MM_CHAT_READY",szStag)
        
        
    remove_task(TASK_MENSAJE)
    }  

    public 
    msg(){
        
        if(!
    mitad){
            
            new 
    pass[32]
            
    get_cvar_string("sv_password",pass,sizeof(pass) - 1)    
            
            
    HudGris
            show_hudmessage
    (0"%s ^nIyi Eglenceler & Mac Basladi ^nPassword : %s"szSite,pass)
        }
        
        else if (
    mitad) {
            
            new 
    pass[32]
            
    get_cvar_string("sv_password",pass,sizeof(pass) - 1)        
            
            
    HudGris
            show_hudmessage
    (0"Ikinci Devre - ^nCounter-Terrorists : %i - Terrorists : %i ^nPassword : %s"ct_win totalCTtt_win totalTTpass )
        }
        
        
    set_task(0.5"ses1")    
        
        
    chat_color(0,"!gIyi Eglenceler !t& !gMac Basladi")
        
        
    remove_task(TASK_MSG)
    }

    public 
    MacAyariYap()
    {
        
    set_cvar_string("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""7");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""1");    
         
    set_cvar_string("sv_alltalk""0");        
         
    set_cvar_string("mp_startmoney""800");
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""2");
        
    set_cvar_string("mp_forcechasecam""2");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""1.75");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""0.25");
        
    set_cvar_string("mp_maxrounds""0");
        
    set_cvar_string("allow_spectators""1");
        
    set_cvar_string("mp_logmessages""1");
        
    set_cvar_string("mt_enable""1");    
        
    set_cvar_string("aim_prac""0");
        
    set_cvar_string("mt_teamlock""1");    
        
    set_cvar_string("mt_duck""1");
        
        
    chat_color(0,"!g[%s] !tMac Ayarlari Yuklendi.."szStag)
    }

    public 
    ses1 ( const player )
    {
        
    client_cmdplayer"spk events/task_complete" );
    }

    public 
    cmdRestart(id) {
        
        
    server_cmd("sv_restart 1")
        
    remove_task(TASK_RESTART)
    }

    public 
    cmdAlltalk(id) {
        
        new 
    Alltalk
        
    new said[192]
        
    read_args(said,191)
        
    Alltalk get_cvar_pointer("sv_alltalk")
        if(
    containi(said,"alltalk") != -1){
            
        
    chat_color(id,"!g[%s] !yAlltalk : !t%s",szStag,get_pcvar_num(Alltalk)? "ON" "OFF")
            
        }
    }


    public 
    MapsMenu(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) ) 
            return 
    PLUGIN_HANDLED
        
        
    new menuMenuz[512]
        
        
    formatex(Menuzcharsmax(Menuz), "\r[%s] \yMap Menu",szStag)
        
    menu menu_create(Menuz"MenuMaps")
        
    formatex(Menuzcharsmax(Menuz), "\wde_dust2")
        
    menu_additem(menuMenuz"1"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_inferno")
        
    menu_additem(menuMenuz"2"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_nuke")
        
    menu_additem(menuMenuz"3"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_nuke32")
        
    menu_additem(menuMenuz"4"ADMIN_MAP)    
        
    formatex(Menuzcharsmax(Menuz), "\wde_train")
        
    menu_additem(menuMenuz"5"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_train_32")
        
    menu_additem(menuMenuz"6"ADMIN_MAP)    
        
    formatex(Menuzcharsmax(Menuz), "\wde_cbble")
        
    menu_additem(menuMenuz"7"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_tuscan")
        
    menu_additem(menuMenuz"8"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_tuscan32")
        
    menu_additem(menuMenuz"9"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_cpl_fire")
        
    menu_additem(menuMenuz"10"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_cpl_mill")
        
    menu_additem(menuMenuz"11"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_cpl_overrun")
        
    menu_additem(menuMenuz"12"ADMIN_MAP)
        
    formatex(Menuzcharsmax(Menuz), "\wde_cpl_strike")
        
    menu_additem(menuMenuz"13"ADMIN_MAP)    
        
    formatex(Menuzcharsmax(Menuz), "\yIleri")
        
    menu_setprop(menu,MPROP_NEXTNAME ,Menuz)
        
    formatex(Menuzcharsmax(Menuz), "\yGeri")
        
    menu_setprop(menu,MPROP_BACKNAME ,Menuz)
        
    menu_setprop(menu,MPROP_EXITMEXIT_ALL)
        
    formatex(Menuzcharsmax(Menuz), "\rKapat")
        
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz)


        
        
    menu_display(idmenu0)
        return 
    PLUGIN_HANDLED
    }
    public 
    MenuMaps(idmenuitem) {
        
        if (
    item == MENU_EXIT)
        {
            
    menu_destroy(menu)
            
            return 
    PLUGIN_HANDLED
        
    }
        
        new 
    data[6], iName[64]
        new 
    accesscallback
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)
        
        new 
    key str_to_num(data)
        
        switch(
    key)
        {
            case 
    1:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_dust2")
            }
            case 
    2:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_inferno")
            }
            case 
    3
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_nuke")
            }
            case 
    4:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_nuke32")
            }
            case 
    5:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_train")
            }
            case 
    6:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_train32")
            }    
            case 
    7:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_cbble")
            }
            case 
    8:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_tuscan")
            }
            case 
    9:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_tuscan_32")
            }
            case 
    10:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_cpl_fire")
            }
            case 
    11:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_cpl_mill")
            }
            case 
    12:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_cpl_overrun")
            }
            case 
    13:
            {
                
    server_cmd("amx_on")
                
    client_cmd(id,"amx_map de_cpl_strike")
            }        
        }
        return 
    PLUGIN_HANDLED 
    }

    public 
    client_putinserver(id){
        
        
    set_task(15.0"hosgeldin"id)
    }
    public 
    hosgeldin(id) {
        
        if(
    get_pcvar_num(g_welcomemsg) == 1) {
        new 
    name[32]
        
    get_user_name(idname31)
        
    chat_color(id,"!g[%s] !yServerimize Hosgeldiniz !tSayin !g%s !yIyi vakit gecirmenizi dileriz...",szStag,name)
        }
        
        return 
    PLUGIN_HANDLED
    }



    public 
    PauseHandler(id)
    {
        if(++
    Pauses == 1)
            
    OnOff[id] = true
        
    else
            
    OnOff[id] = false
        
        client_cmd
    (id"amx_pause")

        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdSayNosay(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
        
        
    if(get_pcvar_num(g_SAY) == && set_pcvar_num(g_SAY,1)) {
            
        
    chat_color(0,"!g[%s] !ySay Konusmalari !tKapatildi.",szStag)
        }    
        else if(
    get_pcvar_num(g_SAY) == && set_pcvar_num(g_SAY,0))
            
        
    chat_color(0,"!g[%s] !ySay Konusmalari !tAcildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    stock chat_color(const id, const input[], any:...)
    {
        new 
    count 1players[32]
        static 
    msg[191]
        
    vformat(msg190input3)
        
        
    replace_all(msg190"!g""^4")
        
    replace_all(msg190"!y""^1")
        
    replace_all(msg190"!t""^3")
        
    replace_all(msg190"!team2""^0")
        
        if (
    idplayers[0] = id; else get_players(playerscount"ch")
        {
            for (new 
    0counti++)
            {
                if (
    is_user_connected(players[i]))
                {
                    
    message_begin(MSG_ONE_UNRELIABLEget_user_msgid("SayText"), _players[i])
                    
    write_byte(players[i]);
                    
    write_string(msg);
                    
    message_end();
                }
            }
        }
    }

    public 
    CmdBanTeamiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
        
        new 
    szTeam20 ];
        
    read_argv1szTeam19 );
        
    strtoupperszTeam );
        
        new 
    CsTeams:iTeam;
        if( !
    TrieGetCellg_tTeamDataszTeamiTeam ) ) {
            
    console_printiPlayer"Invalid team." );
            return 
    PLUGIN_HANDLED;
        }
        
        
    read_argv2szTeam19 );
        new 
    iTime str_to_numszTeam );
        
        
    read_argv3szTeam19 );
        new 
    bool:bBanIP = ( str_to_numszTeam ) == );
        
        new 
    iPlayers32 ], iNumiTarget;
        
    get_playersiPlayersiNum"c" );
        
        for( new 
    0iNumi++ ) {
            
    iTarget iPlayers];
            
            if( 
    cs_get_user_teamiTarget ) == iTeam ) {
                
    client_cmdiPlayer"%s #%i %i"bBanIP "amx_banip" "amx_ban"get_user_useridiTarget ), iTime );
            }
        }
        
        
    console_printiPlayer"Banned all %s players."g_szTeamNamesiTeam ] );
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdBanT (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
            
        
    client_cmd(id,"amx_banteam T 999999 1")     
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdBanCT (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
            
        
    client_cmd(id,"amx_banteam CT 999999 1")     
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdBanS (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
            
        
    client_cmd(id,"amx_banteam S 999999 1")     
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdBanAll(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
            
        
    client_cmd(id,"amx_banteam T 999999 1")     
        
    client_cmd(id,"amx_banteam CT 999999 1")
        
    client_cmd(id,"amx_banteam S 999999 1")    
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    FM_PlayerPreThink_Pre(id)
    {
        if(
    get_pcvar_num(g_duck) == 1) {
        if( !
    is_user_alive(id) )
            return 
    FMRES_IGNORED;
            
        if( 
    pev(idpev_oldbuttons)&IN_DUCK && !(pev(idpev_button)&IN_DUCK) )
        {
            static 
    Float:s_fSize[3];
            
    pev(idpev_sizes_fSize);
            if( 
    s_fSize[2]==72.0 )
            {
                
    g_bFakeDuck[id] = true;
                
                
    set_pev(idpev_flags, (pev(idpev_flags)|FL_DUCKING));
            }
        }
             }
        return 
    FMRES_IGNORED;
    }

    public 
    FM_PlayerPostThink_Pre(id)
    {
        if(
    get_pcvar_num(g_duck) == 1) {
            
        if( 
    g_bFakeDuck[id] )
        {
            
    g_bFakeDuck[id] = false;
            
            
    set_pev(idpev_flags, (pev(idpev_flags)&~FL_DUCKING));
        }
        
             }
    }

    public 
    FM_AddToFullPack_Pre(es_handleeenthosthostflagsplayerpset)
    {
        if(
    get_pcvar_num(g_duck) == 1) {
            
        if( 
    ent==g_iFakeEnt && is_user_alive(host) )
        {
            static 
    Float:s_fMaxs[3];
            
    pev(hostpev_velocitys_fMaxs);
            if( 
    s_fMaxs[2]<=0.0 
            {
                
    g_bFakeDuck[0] = true
                
                static 
    Float:s_fMins[3];
                
    pev(hostpev_origins_fMins);
                
    s_fMins[0] -= 16.0;
                
    s_fMins[1] -= 16.0;
                if( 
    pev(hostpev_flags)&FL_DUCKING )
                    
    s_fMins[2] += (s_fMaxs[2]<0.0)?55.0:71.0;
                else 
                    
    s_fMins[2] += (s_fMaxs[2]<0.0)?37.0:53.0;
                
    s_fMaxs[0] = s_fMins[0]+32.0;
                
    s_fMaxs[1] = s_fMins[1]+32.0;
                
    s_fMaxs[2] = s_fMins[2]+2.0;
                
    engfunc(EngFunc_SetSizeg_iFakeEnts_fMinss_fMaxs); 
                                            
            }
        }
        
             }
    }

    public 
    FM_AddToFullPack_Post(es_handleeenthosthostflagsplayerpset)
    {
        if(
    get_pcvar_num(g_duck) == 1) {
            
        if( 
    g_bFakeDuck[0] )
        {
            
    g_bFakeDuck[0] = false;
            
            
    set_es(es_handleES_SolidSOLID_BBOX); 
        }
        
             }
    }

    public 
    cmdDuckNoduck(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
        
        
    if(get_pcvar_num(g_duck) == && set_pcvar_num(g_duck,1)) {
            
        
    chat_color(0,"!g[%s] !yDuck !tKapatildi.",szStag)
        }    
        else if(
    get_pcvar_num(g_duck) == && set_pcvar_num(g_duck,0))
            
        
    chat_color(0,"!g[%s] !yDuck !tAcildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdMacAyari(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
         set_cvar_string
    ("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""7");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""1");    
         
    set_cvar_string("sv_alltalk""0");        
         
    set_cvar_string("mp_startmoney""800");
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""2");
        
    set_cvar_string("mp_forcechasecam""2");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""1.75");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""0.25");
        
    set_cvar_string("mp_maxrounds""0");
        
    set_cvar_string("allow_spectators""1");
        
    set_cvar_string("mp_logmessages""1");
        
    set_cvar_string("sv_restart""1");
            
        
    chat_color(0,"!g[%s] !tMac !yAyarlari Yuklendi.."szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdPubAyari(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
         set_cvar_string
    ("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""0");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""0");            
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""0");
        
    set_cvar_string("mp_forcechasecam""0");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""3");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""3");
        
    set_cvar_string("sv_restart""1");
            
        
    chat_color(0,"!g[%s] !tPublic !yAyarlar Yuklendi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdTaktik(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    set_cvar_string("mp_freezetime""60");
         
    set_cvar_string("mp_roundtime""9");
         
    set_cvar_string("mp_startmoney""16000");
         
    set_cvar_string("sv_restart""1");    
        
        
    chat_color(0,"!g[%s] !tTaktik !yAyarlari Yuklendi.",szStag)
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdNoTaktik(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    set_cvar_string("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""7");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""1");    
         
    set_cvar_string("sv_alltalk""0");        
         
    set_cvar_string("mp_startmoney""800");
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""2");
        
    set_cvar_string("mp_forcechasecam""2");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""1.75");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""0.25");
        
    set_cvar_string("mp_maxrounds""0");
        
    set_cvar_string("allow_spectators""1");
        
    set_cvar_string("mp_logmessages""1");    
        
        
    chat_color(0,"!g[%s] !tTaktik !yAyarlari Kaldirildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdFFAc(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED

         set_cvar_string
    ("mp_friendlyfire""1");            
        
        
    chat_color(0,"!g[%s] !yFriendlyFire Acildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdFFKapa(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED

         set_cvar_string
    ("mp_friendlyfire""0");            
        
        
    chat_color(0,"!g[%s] !yFriendlyFire Kapatildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdTalk(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED

         set_cvar_string
    ("sv_alltalk""1");            
        
        
    chat_color(0,"!g[%s] !yAlltalk Acildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdNoTalk(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED

         set_cvar_string
    ("sv_alltalk""0");            

        
    chat_color(0,"!g[%s] !yAlltalk Kapatildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdSxe (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("amx_rcon __sxei_required 1");
        
        
    chat_color(0,"!g[%s] !tsXe !yInjected !tGerekli !yHale Getirildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdSxeop (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("amx_rcon __sxei_required 0");
        
        
    chat_color(0,"!g[%s] !tsXe !yInjected !tOpsiyonel !yHale Getirildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdNosxe (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("amx_rcon __sxei_required -1");
        
        
    chat_color(0,"!g[%s] !tsXe !yInjected !tKapali !yHale Getirildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }


    public 
    cmdDegis(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        new 
    players[32], num
        get_players
    (playersnum)
        
        new 
    player
        
    for(new 0numi++)
        {
            
    player players[i]
            
            if(
    cs_get_user_team(player) == CS_TEAM_T)
            {
                
    cs_set_user_team(playerCS_TEAM_CT)
            }
            else if(
    cs_get_user_team(player) == CS_TEAM_CT)
            {
                
    cs_set_user_team(playerCS_TEAM_T)
            }
        }
        
        
    chat_color(0,"!g[%s] !tTakimlar !yDegistirildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdUzat(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        new 
    players[32], num
        get_players
    (playersnum)
        
        new 
    player
        
    for(new 0numi++)
        {
            
    player players[i]
            
            if(
    cs_get_user_team(player) == CS_TEAM_T)
            {
                
    cs_set_user_team(playerCS_TEAM_CT)
            }
            else if(
    cs_get_user_team(player) == CS_TEAM_CT)
            {
                
    cs_set_user_team(playerCS_TEAM_T)
            }
        }
        
        
    set_cvar_string("mp_startmoney""10000");
        
    set_cvar_string("sv_restart""1");    
        
        
    chat_color(0,"!g[%s] !tUzatma !yAyarlari Yuklendi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdSs(id) {
        
    client_cmd(id,"spk ^"events/enemy_died^"")
        
    client_cmdid"snapshot" );
        
    chat_color(id,"!g[%s] !yScreenShot Alindi.",szStag)    
       
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdssCT(id) {
        if ( !(
    get_user_flags(id)&ADMIN_CVAR))
        return 
    PLUGIN_CONTINUE;
        new 
    szName33 ];
        
    get_user_nameidszName32 );
        for( new 
    1<= g_iMaxPlayersi++ ) 
        {
        if( 
    is_user_connected) && !is_user_bot) && cs_get_user_team) == CS_TEAM_CT )
        
    client_cmdi"snapshot" );
        }
        
    client_cmd(id,"spk ^"events/enemy_died^"")
        
    chat_color(0,"!g%s !yCounter-Terorists !tTakimindan !yScreenShot Cekti.",szName)     
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdssT(id) {
        if ( !(
    get_user_flags(id)&ADMIN_CVAR))
        return 
    PLUGIN_CONTINUE;
        new 
    szName33 ];
        
    get_user_nameidszName32 );
        for( new 
    1<= g_iMaxPlayersi++ ) 
        {
        if( 
    is_user_connected) && !is_user_bot) && cs_get_user_team) == CS_TEAM_T )
        
    client_cmdi"snapshot" );
        }
        
    client_cmd(id,"spk ^"events/enemy_died^"")
        
    chat_color(0,"!g%s !yTerorists !tTakimindan !yScreenShot Cekti.",szName
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdAllss(id) {
        if ( !(
    get_user_flags(id)&ADMIN_CVAR))
        return 
    PLUGIN_CONTINUE;
        new 
    szName33 ];
        
    get_user_nameidszName32 );
        for( new 
    0<= g_iMaxPlayersi++ ) 
        {
        if( 
    is_user_connected) && !is_user_bot) )
        
    client_cmdi"snapshot" );
        }
        
    client_cmd(0,"spk ^"events/enemy_died^"")
        
    chat_color(0,"!g%s !yHerkesden ScreenShot Cekti.",szName
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdSsmenuidlevelcid ) {
        if(!(
    get_user_flags(id) & ADMIN_CVAR))
        return 
    PLUGIN_CONTINUE;
        if( 
    cmd_accessidlevelcid) ) {
        
    showmenuid );
        }
        return 
    PLUGIN_HANDLED;
    }

    public 
    showmenuid )
    {
        new 
    menu menu_create"\yScreenShot Cekmek istediginiz Oyuncuyu Secin:""submenu" );
        new 
    players32 ], pnumtempid;
        new 
    szName32 ], szTempid10 ];
        
    get_playersplayerspnum"a" );
        for( new 
    iipnumi++ )
        {
        
    tempid players];     
        
    get_user_nametempidszName31 );
        
    num_to_strtempidszTempid);
        
    menu_additemmenuszNameszTempid);
        }
        
    menu_display(idmenu);
        return 
    PLUGIN_HANDLED;
    }

    public 
    submenuidmenuitem )
    {
        if( 
    item == MENU_EXIT )
        {
        
    menu_destroymenu );
        return 
    PLUGIN_HANDLED;
        }
        new 
    data], iName64 ];
        new 
    accesscallback;
        
    menu_item_getinfomenuitemaccessdata,5iName63callback );
        new 
    tempid str_to_numdata );
        if( !
    is_user_bottempid ) ) {
        
    client_cmdtempid"snapshot" );
        new 
    szName32 ], szName232 ];
        
    get_user_nameidszName31 );
        
    get_user_nametempidszName231 );
        
    client_cmd(id,"spk ^"events/enemy_died^"")
        
    chat_color(0,"!g%s !t%s !yOyuncusundan ScreenShot Cekti..",szName,szName2
        }
        
    menu_destroymenu );
        return 
    PLUGIN_HANDLED;
    }  

    public 
    SayPwkoy(id
    {
        static 
    message[64]
        
    read_args (message63)
        
    remove_quotes (message)
        
        if( (
    message[0] == '!' || message[0] == '/' || message[0] == '.'
        && 
    message[1] == 'p' && message[2] == 'a' && message[3] == 's' && message[4] == 's' )
        {
            static 
    pass[31];
            
    strbreak(messagemessage6pass30);
            
    remove_quotes(pass);
              
            {
                
    client_cmd(id"amx_cvar sv_password %s"pass)
            }

            
    chat_color(0,"!g[%s] !yServer Password !g: !t%s"szStag,pass)
            
    chat_color(0,"!g[%s] !yServer Password !g: !t%s"szStag,pass)
            
    chat_color(0,"!g[%s] !yServer Password !g: !t%s"szStag,pass)    
        
            return 
    PLUGIN_HANDLED
        
    }
        return 
    PLUGIN_CONTINUE


    public 
    SayDemo(id
    {
        static 
    message[64]
        
    read_args (message63)
        
    remove_quotes (message)
        
        if( (
    message[0] == '!' || message[0] == '/' || message[0] == '.'
        && 
    message[1] == 'd' && message[2] == 'e' && message[3] == 'm' && message[4] == 'o' )
        {
            static 
    demo[31];
            
    strbreak(messagemessage6demo30);
            
    remove_quotes(demo);
              
            {
                
    client_cmd(id"record %s"demo)
            }

            
    chat_color(0,"!g[%s] !t%s.dem !yKaydediliyor."szStag,demo)    
            
    chat_color(0,"!g[%s] !yDemo Kaydini Bitirmek Icin !g!stop Yaziniz."szStag)    
        
        
            return 
    PLUGIN_HANDLED
        
    }
        return 
    PLUGIN_CONTINUE


    public 
    cmdStop(id) {
        
    client_cmd(id,"spk ^"events/enemy_died^"")
        
    client_cmdid"stop" );
        
    chat_color(id,"!g[%s] !yDemo Kaydedildi.",szStag)    
       
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdSlayT(iCliLvliCmd)
    {
            if (!
    cmd_access(iCliLvliCmd1))
                    return 
    PLUGIN_HANDLED;
     
            for (new 
    iCl 1iCl <= g_iMaxPlayersiCl++)
                    if (
    is_user_alive(iCl) && cs_get_user_team(iCl) == CS_TEAM_T)
                            
    user_kill(iClKILL_FLAG);
     
            
    chat_color(0,"!g[%s] !yTerorists Takimi Slaylandi.",szStag
        
            return 
    PLUGIN_HANDLED;
    }
     
    public 
    cmdSlayCT(iCliLvliCmd)
    {
            if (!
    cmd_access(iCliLvliCmd1))
                    return 
    PLUGIN_HANDLED;
     
            for (new 
    iCl 1iCl <= g_iMaxPlayersiCl++)
                    if (
    is_user_alive(iCl) && cs_get_user_team(iCl) == CS_TEAM_CT)
                            
    user_kill(iClKILL_FLAG);
                
            
    chat_color(0,"!g[%s] !yCounter-Terorists Takimi Slaylandi.",szStag)             
     
            return 
    PLUGIN_HANDLED;
    }  

    public 
    cmdSlayAll (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
            
    console_cmd(id,"say .slayt");
            
    console_cmd(id,"say .slayct");    
        
            
    chat_color(0,"!g[%s] !yTum Oyuncular Slaylandi.",szStag)     
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdSlapTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
        
        new 
    szArg16 ];
        
    read_argv1szArg15 );
        
        new 
    iDamage str_to_numszArg );
        
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum"a" );
        
        new 
    iVictim;
        for( new 
    0iNumi++ ) {
            
    iVictim iPlayers];
            if( 
    cs_get_user_teamiVictim ) == CS_TEAM_T ) {
                if( 
    get_user_healthiVictim ) <= iDamage ) {
                    
    user_killiVictim );
                } else {
                    
    user_slapiVictimiDamage );
                }
            }
        }
        
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
        
        
    chat_color(0,"!g[%s] !yTerorists Takimi Slaplandi.",szStag
        
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
        
        
    log_amx"%s <%s> slapped all terrorist players for %i damage"szNameszSteamIDiDamage );
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdSlapCTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
        
        new 
    szArg16 ];
        
    read_argv1szArg15 );
        
        new 
    iDamage str_to_numszArg );
        
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum"a" );
        
        new 
    iVictim;
        for( new 
    0iNumi++ ) {
            
    iVictim iPlayers];
            if( 
    cs_get_user_teamiVictim ) == CS_TEAM_CT ) {
                if( 
    get_user_healthiVictim ) <= iDamage ) {
                    
    user_killiVictim );
                } else {
                    
    user_slapiVictimiDamage );
                }
            }
        }
        
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
        
        
    chat_color(0,"!g[%s] !yCounter-Terorists Takimi Slaplandi.",szStag
        
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
        
        
    log_amx"%s <%s> slapped all counter-terrorist players for %i damage"szNameszSteamIDiDamage );
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdSlapAlliPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
        
        new 
    szArg16 ];
        
    read_argv1szArg15 );
        
        new 
    iDamage str_to_numszArg );
        
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum"a" );
        
        new 
    iVictim;
        for( new 
    0iNumi++ ) {
            
    iVictim iPlayers];
            if( 
    get_user_healthiVictim ) <= iDamage ) {
                
    user_killiVictim );
            } else {
                
    user_slapiVictimiDamage );
            }
        }
        
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
        
        
    chat_color(0,"!g[%s] !yTum Oyuncular Slaplandi.",szStag
        
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
        
        
    log_amx"%s <%s> slapped all players for %i damage"szNameszSteamIDiDamage );
        
        return 
    PLUGIN_HANDLED;
    }  

    public 
    actionUnBanMenu(id,key) {
        
        switch(
    key) {
        case 
    8: {
            
    displayUnBanMenu(id, ++g_menuPosition[id])
        }
        case 
    9: {
            
    g_menuUnBanLine[id][0] = g_menuUnBanLine[id][0] - (g_menuUnBanLine[id][1])
            if(
    g_menuUnBanLine[id][0] < 0g_menuUnBanLine[id][0] = 0
            displayUnBanMenu
    (id, --g_menuPosition[id])
        }
        default: {
            
            new 
    name[32], authid[32], ipaddress[24]
            
    get_user_authid(idauthid31)
            
    get_user_name(idname31)
            
    get_user_ip(idipaddress231)

            
    log_amx("UnBan: ^"%s<%d><%s><%s>^" unban ^"%s^""name,get_user_userid(id),authid,ipaddress,g_menuUnBanText[id][key])

            switch (
    get_cvar_num("amx_show_activity"))
            {
            
                case 
    2client_print(0print_chat"ADMIN %s: unban %s"nameg_menuUnBanText[id][key])
                case 
    1client_print(0print_chat"ADMIN: unban %s"g_menuUnBanText[id][key])
            }

            if(
    g_menuUnBanType[id] == 1) {
            
    server_cmd("removeip ^"%s^"; writeip"g_menuUnBanText[id][key])
            
    server_exec()
            
    console_print(id"IP ^"%s^" removed from ban list"g_menuUnBanText[id][key])
            }
            
            else {
                
            
    server_cmd("removeid %s; writeid",  g_menuUnBanText[id][key])
            
    console_print(id"Authid ^"%s^" removed from ban list",  g_menuUnBanText[id][key])
            }
        
            
    g_menuUnBanLine[id][0] = g_menuUnBanLine[id][1] = 0
            displayUnBanMenu
    (idg_menuPosition[id] = 0)
            }
        }
        return 
    PLUGIN_HANDLED
    }

    checkSTEAMID(steamid[]) {
      
        new 
    len strlen(steamid)
        if(
    len 10 && equali(steamid"STEAM_"6) && steamid[7] == ':' && steamid[9] == ':' && str_to_num(steamid[10])) {
            return 
    1
        
    }
        return 
    0
    }

    checkIP(ip[]) {
        
        new 
    len strlen(ip)
        new 
    dots 00
        
    while(isdigit(ip[i]) || ip[i]=='.')
            if(
    ip[i++] == '.')
                ++
    dots
        
    if(== len && dots == 3) {
            return 
    1
        
    }
        return 
    0
    }

    displayUnBanMenu(id,pos) {
        if(
    pos 0)
        return

        new 
    menuBody[512]
        new 
    0

        
    new len format(menuBody511g_coloredMenus "\yUnBan Menu\R%d^n\w^n" "UnBan Menu %d^n^n"id"UNBAN_MENU"pos 1)
        
        new 
    keys = (1<<9)
        new 
    textlenline
        
    new type g_menuUnBanType[id]
        new 
    temp[32], banTime[32], disable

        
    if(file_exists(g_bannedCfgFile[type])) {
            
    line g_menuUnBanLine[id][0]
            while((
    line read_file(g_bannedCfgFile[type], lineg_menuSelect[id], 63textlen))) {
                
    temp[0] = '^0'
                
    banTime[0] = '^0'
                
    g_menuUnBanText[id][b][0] = '^0'
                
    disable 0
                
    if(textlen 9)
                    
    disable 1
                
    else if(parse(g_menuSelect[id], temp31banTime31g_menuUnBanText[id][b], 31) != 3)
                    
    disable 1
                
    else if((type == && !checkIP(g_menuUnBanText[id][b])) || (type == && !checkSTEAMID(g_menuUnBanText[id][b])))
                    
    disable 1
                
    if(disable == 0) {
                    
    keys |= (1<<b)
                    if(
    g_coloredMenus)
                    
    len += format(menuBody[len], 511-len"%d. %s\R\r%s^n\w"bg_menuUnBanText[id][b++], banTime)
                    else
                    
    len += format(menuBody[len], 511-len"%d. %s   ( %s )^n"bg_menuUnBanText[id][b++], banTime)
                }
                else {
                    if(
    g_coloredMenus)
                        
    len += format(menuBody[len], 511-len"\d%d. %s^n\w"bg_menuUnBanText[id][b++])
                    else
                        
    len += format(menuBody[len], 511-len"#. %s^n"bg_menuUnBanText[id][b++])
                }
                if(
    == 8) break
            }

            if(
    == && read_file(g_bannedCfgFile[type], lineg_menuSelect[id], 63textlen) > 0) {
            
    format(menuBody[len], 511-len"^n9. More...^n0. %s",idpos "Back" "Exit",id)
            
    keys |= (1<<8)
            }
            else
            
    format(menuBody[len], 511-len"^n0. %s"pos "Back" "Exit",id)

            
    g_menuUnBanLine[id][1] = line g_menuUnBanLine[id][0]
            
    g_menuUnBanLine[id][0] = line
            show_menu
    (idkeysmenuBody, -1"UnBan  Menu")
        }

        return
    }

    public 
    actionUnBanMenuType(id,key) {
        
        switch(
    key) {
            case 
    9: return PLUGIN_HANDLED
            
    default: {
                
    g_menuUnBanType[id] = key // 0 = STEAMID, 1 = IP
                
    g_menuUnBanLine[id][0] = g_menuUnBanLine[id][1] = 0
                displayUnBanMenu
    (idg_menuPosition[id] = 0)
            }
        }
        return 
    PLUGIN_HANDLED
    }

    displayUnBanMenuType(id) {
        
        new 
    menuBody[512]
      
        new 
    len format(menuBody511g_coloredMenus ?  "\yUnBan STEAMID or IP?^n\w^n" :"UnBan STEAMID or IP?^n^n",id)

        new 
    keys = (1<<0)|(1<<1)|(1<<9)

        
    len += format(menuBody[len], 511-len"1. STEAMID^n",id)
        
    len += format(menuBody[len], 511-len"2. IP^n",id)
        
    format(menuBody[len], 511-len"^n0. Exit",id)

        
    show_menu(idkeysmenuBody, -1"UnBan STEAMID or IP?")
    }

    public 
    cmdUnBanMenu(id,level,cid) {
        
        if(!
    cmd_access(id,level,cid,1))
        return 
    PLUGIN_HANDLED

        g_menuUnBanType
    [id] = -1
        displayUnBanMenuType
    (id)
        return 
    PLUGIN_HANDLED
    }

    public 
    aim_prac(id)
    {
        if (
    id && !((get_user_flags(id) & ADMIN_LEVEL_A)))
        {
            
    client_print(idprint_console"[%s] O Komutu Kullanamazsin.",szStag)
            return 
    PLUGIN_CONTINUE
        
    }
        new 
    arg[8]
        
    read_argv(1arg7)

        if((
    equali(arg"on"))||(equali(arg"1")))
        {
            
    set_user_hitzones(,02)
        }
        else
        {
            
    set_user_hitzones(00255)
        }
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdHs (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("aim_prac 1");
        
        
    chat_color(0,"!g[%s] !yHs Mod Acildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdNoHs (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("aim_prac 0");
        
        
    chat_color(0,"!g[%s] !yHs Mod Kapatildi.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    CmdKickTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
     
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum );
     
        new 
    iVictim;
        for( new 
    0iNumi++ ) {
            
    iVictim iPlayers];
            if( 
    cs_get_user_teamiVictim ) == CS_TEAM_T ) {
                
    server_cmd"kick #%i"get_user_useridiVictim ) );
            }
        }
     
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
     
        
    chat_color(0,"!g[%s] !yTerorists Takimi Kicklendi.",szStag
     
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
     
        
    log_amx"%s <%s> kicked all terrorist players"szNameszSteamID );
     
        return 
    PLUGIN_HANDLED;
    }
     
    public 
    CmdKickCTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
     
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum );
     
        new 
    iVictim;
        for( new 
    0iNumi++ ) {
            
    iVictim iPlayers];
            if( 
    cs_get_user_teamiVictim ) == CS_TEAM_CT ) {
                
    server_cmd"kick #%i"get_user_useridiVictim ) );
            }
        }
     
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
     
        
    chat_color(0,"!g[%s] !yCounter-Terorists Takimi Kicklendi.",szStag
     
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
     
        
    log_amx"%s <%s> kicked all counter-terrorist players"szNameszSteamID );
     
        return 
    PLUGIN_HANDLED;
    }
     
    public 
    CmdKickAlliPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
     
        new 
    iPlayers32 ], iNum;
        
    get_playersiPlayersiNum );
     
        for( new 
    0iNumi++ ) {
            
    server_cmd"kick #%i"get_user_useridiPlayers] ) );
        }
     
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
     
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
     
        
    log_amx"%s <%s> kicked all players"szNameszSteamID );
     
        return 
    PLUGIN_HANDLED;
    }  

    public 
    CmdQuitTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
     
        new 
    players[32],inum;
        
    get_players(players,inum,"e","TERRORIST")
        for(new 
    i;i<inum;i++) {
        
    client_cmd(players[i],"quit")
        }
     
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
     
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
     
        
    log_amx"%s <%s> made quit T players"szNameszSteamID );
     
        return 
    PLUGIN_HANDLED;
    }  
    public 
    CmdQuitCTiPlayeriLeveliCId ) {
        if( !
    cmd_accessiPlayeriLeveliCId) ) {
            return 
    PLUGIN_HANDLED;
        }
     
        new 
    players[32],inum;
        
    get_players(players,inum,"e","CT")
        for(new 
    i;i<inum;i++) {
        
    client_cmd(players[i],"quit")
        }
     
        new 
    szName32 ];
        
    get_user_nameiPlayerszName31 );
     
        new 
    szSteamID35 ];
        
    get_user_authidiPlayerszSteamID34 );
     
        
    log_amx"%s <%s> made quit CT players"szNameszSteamID );
     
        return 
    PLUGIN_HANDLED;
    }  

    public 
    cmdMapRes (idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    server_cmd("restart");
        
        
    chat_color(0,"!g[%s] !yMap !tYeniden !yAciliyor.",szStag)
        
        
        return 
    PLUGIN_HANDLED;
    }


    public 
    cmdCptsay(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
        
    if(get_pcvar_num(g_cptsay) == && set_pcvar_num(g_cptsay,0)) {
        
        
    pasarse true    
        chat_color
    (0,"!g[%s] !yCpt' Konusmalari Acildi.",szStag)    
        }    
        else if(
    get_pcvar_num(g_cptsay) == && set_pcvar_num(g_cptsay,1))
        
        
    chat_color(0,"!g[%s] !yCpt' Konusmalari Kapatildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }

    public 
    cmdParaGoster(id

        new 
    iMoney;
        new 
    money_Buffer[100+1];
        
    iMoney cs_get_user_money(id); 
        
    formatmoney_Buffer100"Para : %d$"iMoney ); 
        
        
    engclient_cmdid"say_team"money_Buffer );
        return 
    PLUGIN_HANDLED;
    }

    public 
    PluginMenu(id,level,cid)
    {
        if( !
    cmd_accessidlevelcid) ) 
            return 
    PLUGIN_HANDLED
        
    new menuMenuz[512]
        
    formatex(Menuzcharsmax(Menuz), "\r[%s] \yMenu",szStag)
        
    menu menu_create(Menuz"MenuPlugin")
        
    formatex(Menuzcharsmax(Menuz), "\wMaci Baslat")
        
    menu_additem(menuMenuz"1"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wMac Ayarlari")
        
    menu_additem(menuMenuz"2"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wPublic Ayarlar")
        
    menu_additem(menuMenuz"3"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wSay \yAc \w- \rKapa")
        
    menu_additem(menuMenuz"4"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wDuck \yAc \w- \rKapa")
        
    menu_additem(menuMenuz"5"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wPassword Kaldir")
        
    menu_additem(menuMenuz"6"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTakimlari Degistir")
        
    menu_additem(menuMenuz"7"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTakim Degistirmeyi \yAc \w- \rKapa")
        
    menu_additem(menuMenuz"8"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTaktik Ayarlari Yukle")
        
    menu_additem(menuMenuz"9"ADMIN_CFG)    
        
    formatex(Menuzcharsmax(Menuz), "\wTaktik Ayarlari Kaldir")
        
    menu_additem(menuMenuz"10"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wUzatma Ayarlari")
        
    menu_additem(menuMenuz"11"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wBan Listesi Temizle")
        
    menu_additem(menuMenuz"12"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wT' leri Banla")
        
    menu_additem(menuMenuz"13"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wCT' leri Banla")
        
    menu_additem(menuMenuz"14"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wSpec' leri Banla")
        
    menu_additem(menuMenuz"15"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTum Oyunculari Banla")
        
    menu_additem(menuMenuz"16"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wT' leri Kickle")
        
    menu_additem(menuMenuz"17"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wCT' leri Kickle")
        
    menu_additem(menuMenuz"18"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTum Oyunculari Kickle")
        
    menu_additem(menuMenuz"19"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wT' leri Slayla")
        
    menu_additem(menuMenuz"20"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wCT' leri Slayla")
        
    menu_additem(menuMenuz"21"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTum Oyunculari Slayla")
        
    menu_additem(menuMenuz"22"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wT' leri Slapla")
        
    menu_additem(menuMenuz"23"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wCT' leri Slapla")
        
    menu_additem(menuMenuz"24"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTum Oyunculari Slapla")
        
    menu_additem(menuMenuz"25"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wHs Mod \yAc")
        
    menu_additem(menuMenuz"26"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wHs Mod \rKapa")
        
    menu_additem(menuMenuz"27"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wKick Menu")
        
    menu_additem(menuMenuz"28"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wBan Menu")
        
    menu_additem(menuMenuz"29"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wSlap Menu")
        
    menu_additem(menuMenuz"30"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wTeam Menu")
        
    menu_additem(menuMenuz"31"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wFriendlyFire \yAc")
        
    menu_additem(menuMenuz"32"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wFriendlyFire \rKapa")
        
    menu_additem(menuMenuz"33"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wAlltalk \yAc")
        
    menu_additem(menuMenuz"34"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wAlltalk \rKapa")
        
    menu_additem(menuMenuz"35"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wRestart \r1")
        
    menu_additem(menuMenuz"36"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wRestart \r3")
        
    menu_additem(menuMenuz"37"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wRestart \r5")
        
    menu_additem(menuMenuz"38"ADMIN_CFG)
        
    formatex(Menuzcharsmax(Menuz), "\wMap Menu")
        
    menu_additem(menuMenuz"38"ADMIN_CFG)    
        
    formatex(Menuzcharsmax(Menuz), "\yIleri")
        
    menu_setprop(menu,MPROP_NEXTNAME ,Menuz)
        
    formatex(Menuzcharsmax(Menuz), "\yGeri")
        
    menu_setprop(menu,MPROP_BACKNAME ,Menuz)
        
    menu_setprop(menu,MPROP_EXITMEXIT_ALL)
        
    formatex(Menuzcharsmax(Menuz), "\rKapat")
        
        
        
    menu_setprop(menu,MPROP_EXITNAME,Menuz)
        
        
    menu_display(idmenu0)
        return 
    PLUGIN_HANDLED;
    }

    public 
    MenuPlugin(idmenuitem) {
        
        if (
    item == MENU_EXIT)
        {
            
    menu_destroy(menu)
            
            return 
    PLUGIN_CONTINUE
        
    }
        
        new 
    data[6], iName[64]
        new 
    accesscallback
        menu_item_getinfo
    (menuitemaccessdata,5iName63callback)
        
        new 
    key str_to_num(data)
        
        switch(
    key)
        {
            case 
    1:
            {
                          
                
    client_cmd(id,"say .335")
                
    menu_display(id,menu)
                
            }
            case 
    2:
            {
                          
                
    client_cmd(id,"say .mac")
                
    menu_display(id,menu)
                
            }
            case 
    3:
            {
                          
                
    client_cmd(id,"say .pub")
                
    menu_display(id,menu)
                
            }
            case 
    4:
            {
                          
                
    client_cmd(id,"say .say")
                
    menu_display(id,menu)
                
            }
            case 
    5:
            {
                          
                
    client_cmd(id,"say .duck")
                
    menu_display(id,menu)
                
            }
            case 
    6:
            {
                          
                
    client_cmd(id,"say .nopw")
                
    menu_display(id,menu)
                
            }
            case 
    7:
            {
                          
                
    client_cmd(id,"say .degis")
                
    menu_display(id,menu)
                
            }
            case 
    8:
            {
                          
                
    client_cmd(id,"say .takim")
                
    menu_display(id,menu)
                
            }
            case 
    9:
            {
                          
                
    client_cmd(id,"say .tt")
                
    menu_display(id,menu)
                
            }
            case 
    10:
            {
                          
                
    client_cmd(id,"say .nott")
                
    menu_display(id,menu)
                
            }
            case 
    11:
            {
                          
                
    client_cmd(id,"say .uzat")
                
    menu_display(id,menu)
                
            }
            case 
    12:
            {
                          
                
    client_cmd(id,"say .unban")
                
    menu_display(id,menu)
            }
            case 
    13:
            {
                          
                
    client_cmd(id,"say .bant")
                
    menu_display(id,menu)
                
            }
            case 
    14:
            {
                          
                
    client_cmd(id,"say .banct")
                
    menu_display(id,menu)
            }
            case 
    15:
            {
                          
                
    client_cmd(id,"say .banspec")
                
    menu_display(id,menu)
            }
            case 
    16:
            {
                          
                
    client_cmd(id,"say .banall")
                
    menu_display(id,menu)
                
            }
            case 
    17:
            {
                          
                
    client_cmd(id,"say .kickt")
                
    menu_display(id,menu)
                
            }
            case 
    18:
            {
                          
                
    client_cmd(id,"say .kickct")
                
    menu_display(id,menu)
            
            }
            case 
    19:
            {
                          
                
    client_cmd(id,"say .kickall")
                
    menu_display(id,menu)
                
            }
            case 
    20:
            {
                          
                
    client_cmd(id,"say .slayt")
                
                
    menu_display(id,menu)            
            }
            case 
    21:
            {
                          
                
    client_cmd(id,"say .slayct")
                
                
    menu_display(id,menu)
            }
            case 
    22:
            {
                          
                
    client_cmd(id,"say .slayall")
                
                
    menu_display(id,menu)
            }
            case 
    23:
            {
                          
                
    client_cmd(id,"say .slapt")
                
                
    menu_display(id,menu)
            }
            case 
    24:
            {
                          
                
    client_cmd(id,"say .slapct")
                
                
    menu_display(id,menu)
            }
            case 
    25:
            {
                          
                
    client_cmd(id,"say .slapall")
                
                
    menu_display(id,menu)
            }
            case 
    26:
            {
                          
                
    client_cmd(id,"say .hs")
                
                
    menu_display(id,menu)
            }
            case 
    27:
            {
                          
                
    client_cmd(id,"say .nohs")
                
                
    menu_display(id,menu)
            }
            case 
    28:
            {
                          
                
    client_cmd(id,"say .km")
                
                
    menu_display(id,menu)
            }
            case 
    29:
            {
                          
                
    client_cmd(id,"say .bm")
                
    menu_display(id,menu)
                
            }
            case 
    30:
            {
                          
                
    client_cmd(id,"say .sm")
                
                
    menu_display(id,menu)
            }
            case 
    31:
            {
                          
                
    client_cmd(id,"say .tm")
                
    menu_display(id,menu)
                
            }
            case 
    32:
            {
                          
                
    client_cmd(id,"say .ff")
                
    menu_display(id,menu)
            
            }
            case 
    33:
            {
                          
                
    client_cmd(id,"say .noff")
                
    menu_display(id,menu)
            }
            case 
    34:
            {
                          
                
    client_cmd(id,"say .talk")
                
    menu_display(id,menu)
            }
            case 
    35:
            {
                          
                
    client_cmd(id,"say .notalk")

                
    menu_display(id,menu)
            }
            case 
    36:
            {
                          
                
    client_cmd(id,"say .rr")
                
    menu_display(id,menu)
            }
            case 
    37:
            {
                          
                
    client_cmd(id,"say .rr3")
                
    menu_display(id,menu)
            }
            case 
    38:
            {
                          
                
    client_cmd(id,"say .rr5")
                
    menu_display(id,menu)
            }
            case 
    39:
            {
                          
                
    client_cmd(id,"say .maps")
                
                
    menu_display(id,menu)            
                
            }        
        }
        return 
    PLUGIN_HANDLED 
    }
        
    public 
    cmdMacBitir(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
         
    set_cvar_string("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""0");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""0");            
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""0");
        
    set_cvar_string("mp_forcechasecam""0");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""3");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""3");
        
    set_cvar_string("mt_enable""0");    
        
    set_cvar_string("aim_prac""0");
        
    set_cvar_string("mt_teamlock""0");    
        
    set_cvar_string("mt_duck""0");
        
    chat_color(0,"!g[%s] !yMac bitirme komutu kullanildi...",szStag)
        
    client_cmd(id,"say .pub");
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdMacBitir2(idlevelcid){
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED;
        
        
    rounds_elapsed 0
        
    tt_win 0
        ct_win 
    0
        total 
    0
        totalCT 
    0
        totalTT 
    0        
         set_cvar_string
    ("mp_autokick""0");
         
    set_cvar_string("mp_freezetime""0");
         
    set_cvar_string("mp_autoteambalance""0");      
         
    set_cvar_string("mp_limitteams""0");
         
    set_cvar_string("mp_friendlyfire""0");            
         
    set_cvar_string("mp_timelimit""0");       
         
    set_cvar_string("mp_forcecamera""0");
        
    set_cvar_string("mp_forcechasecam""0");
        
    set_cvar_string("mp_flashlight""1");        
        
    set_cvar_string("mp_tkpunish""0");    
        
    set_cvar_string("mp_c4timer""35");    
        
    set_cvar_string("mp_roundtime""3");
        
    set_cvar_string("mp_footsteps""1");
        
    set_cvar_string("mp_buytime""3");
        
    set_cvar_string("mt_enable""0");    
        
    set_cvar_string("aim_prac""0");
        
    set_cvar_string("mt_teamlock""0");    
        
    set_cvar_string("mt_duck""0");
        
    chat_color(0,"!g[%s] !yMac bitirme komutu kullanildi...",szStag)
        
    client_cmd(id,"say .pub");
        
        
        return 
    PLUGIN_HANDLED;
    }

    public 
    cmdTeamLock(id,level,cid) {
        
        if( !
    cmd_accessidlevelcid) )  
            return 
    PLUGIN_HANDLED
        
        
    if(get_pcvar_num(g_teamlock) == && set_pcvar_num(g_teamlock,1)) {
        
        
    pasarse true
        chat_color
    (0,"!g[%s] !tTakim !yDegistirme Kapatildi.",szStag)
        }    
        else if(
    get_pcvar_num(g_teamlock) == && set_pcvar_num(g_teamlock,0))
            
        
    chat_color(0,"!g[%s] !tTakim !yDegistirme Acildi.",szStag)
        
        return 
    PLUGIN_HANDLED
    }


    public 
    frag_part2(id[]) client_cmd(id[0],"snapshot")

    public 
    frag_part3(id[]) client_cmd(id[0],"-showscores")

    public 
    frag_part1(id) {
         
        
    client_cmd(id,"+showscores");
        
    chat_color(id,"!g[%s] !yFrag Skorlariniz Kaydedildi.",szStag)
        
    set_task(0.3,"frag_part2",0);
        
    set_task(0.6,"frag_part3",0);
        
        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 }
    */ 

    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/


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

    Standart Cevap: Mac Botuna İstek Kod

    berk supersin usta tesekkurler..

  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: Mac Botuna İstek Kod

    Çözülmüş İsteklere taşındı.

    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/


Benzer Konular

  1. [İSTEK] Top 15 Lazım :) [İSTEK]
    By TagaL in forum Çözülmüş İstekler
    Cevaplar: 5
    Son Mesaj: 10-07-12, 20:01
  2. İstek
    By muzaffer1 in forum Çözülmüş İstekler
    Cevaplar: 2
    Son Mesaj: 06-02-12, 19:05

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

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