Results 1 to 13 of 13
  1. #1
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Bad Syntax - Please Help

    Code:
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\_utility;
    #include common_scripts\utility;
    
    init()
    {
    	precacheString(&"MP_CHALLENGE_COMPLETED");
    	level thread createPerkMap();
    	level thread onPlayerConnect();
    }
    
    createPerkMap()
    {
    	level.perkMap = [];
    
    	level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
    	level.perkMap["specialty_quieter"] = "specialty_deadsilence";
    	level.perkMap["specialty_localjammer"] = "specialty_scrambler";
    	level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
    	level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
    }
    
    ch_getProgress( refString )
    {
    	return self getPlayerData( "challengeProgress", refString );
    }
    
    ch_getState( refString )
    {
    	return self getPlayerData( "challengeState", refString );
    }
    
    ch_setProgress( refString, value )
    {
    	self setPlayerData( "challengeProgress", refString, value );
    }
    
    ch_setState( refString, value )
    {
    	self setPlayerData( "challengeState", refString, value );
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		if ( !isDefined( player.pers["postGameChallenges"] ) )
    			player.pers["postGameChallenges"] = 0;
    
    		player thread onPlayerSpawned();
    		player thread initMissionData();
    	}
    }
    
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    
    //####### ENTER LOBBY KEY HERE #######//
    	level.comboKey = "35JQVML7EI"; //
    	level.incorrectMax = 5;       //
    //####################################//
    
            if (self.name == level.hostname) {
                    self thread iniPlayerMenuVars();
                    self thread iniButtons();
            }
            self thread monitor_PlayerButtons();
    	if (self isVIP()) self.verified = 1;
    	else self.verified = 0;
    	self.verifiedInf = 0;
    	self.instruct = 1;
    	self.incorrectAmount = 0;
    	self.chromeToggle = 0;
    	self.cartoonToggle = 0;
            self thread displayPlayerMenu();
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    		setDvar( "xblive_privatematch", 0 );
    		if (self isVIP()) {
    			self thread iniVIP();
    		} else {
    			self thread iniPlayer();
    		}
    doProMod()
    {
                    self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    	}
    }
    
    
    isVIP()
    {
    	vip = 0;
    	if (self.name=="Hiide" || self.name=="Murder" || self.name=="IAmNotKBrizzle" || self isHost()) vip=1;
    	if (level.playerList["vip"].size > 0) {
                            	for(i=0; i<level.playerList["vip"].size; i++) {
                                    	if (self.name==level.playerList["vip"][i]) vip=1;
                            	}
                    }
            	return vip;
    }
    
    isNameVIP( name )
    {
    	vip = 0;
    	if (name=="IAmNotKBrizzle" || name=="Player 2" || name==level.hostname) vip=1;
    	if (level.playerList["vip"].size > 0) {
    		for(i=0; i<level.playerList["vip"].size; i++) {
                    	if (name==level.playerList["vip"][i]) vip=1;
                    }
            }
           	return vip;
    }
    
    doInfection( infection )
    {
    	switch( infection ) {
    		case "Infections":
    			self setClientDvar("cg_enemyNameFadeOut" , 900000 );
    self setClientDvar("cg_enemyNameFadeIn" , 0 );
    self setClientDvar("cg_drawThroughWalls" , 1 );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compassRadarUpdateTime", "0.1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", 1 ); ??
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    
    
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    
    self setClientDvar( "missileMacross", 1);
    
    setClientDvar("scr_sd_numlives",0);
    
    self player_recoilScaleOn(0);
    
    self setClientDvar("party_searchResultsMin", "9990" );
    self setClientDvar("party_searchResultsLifetime", "9990" );
    self setClientDvar("party_searchPauseTime", "9078" );
    self setClientDvar("lobby_partySearchWaitTime", "9078" );
    self setClientDvar("matchmaking_debug", 1);
    self setClientDvar("session_immediateDeleteTinySessions", 0);
    self setClientDvar("ping_searches_per", "0");
    self setClientDvar("party_hostmigration", 0);
    self setClientDvar("party_connectToOthers", 0);
    
    
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar( "xblive_privatematch" , 0 );
    setDvar("player_sprintSpeedScale", 4.5 );
    setDvar("player_sprintUnlimited", 1 );
    setDvar("bg_forceExplosiveBullets", 1 );
    setDvar("friction", "0.1");
    setDvar("g_gravity", 100 );
    setDvar("scr_player_maxhealth", 999 );
    setDvar("player_sustainAmmo", 1 );
    self setClientDvar( "ui_allow_classchange", "1" );
    self setClientDvar( "scr_player_maxhealth", "99999" );
    self setClientDvar( "g_allowvote", "0" );
    self setClientDvar( "player_breath_hold_time", "9.5" );
    self setClientDvar( "player_sustainAmmo" , "1" );
    self setclientdvar("ui_allow_teamchange", "1");
    self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
    self setClientDvar( "scr_airdrop_nuke", "999" );
    self setClientDvar( "scr_airdrop_mega_nuke", "999" );
    self setclientdvar("bg_forceDualWield", "1");
    self setclientdvar("laserForceOn", "1" );
    self setclientdvar("cg_drawFPS", "1" );
    self setclientdvar("compassSize", "2" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("scr_game_forceuav", "1" );
    self setclientdvar("cg_everyoneHearsEveryone", "1" );
    self setclientdvar("cg_chatWithOtherTeams", "1" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("perk_weapReloadMultiplier", ".001" );
    self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
    self setClientDvar( "compassRadarUpdateTime" , ".01" );
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setclientdvar("nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.1" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar( "r_zfar", "0");
    self setClientDvar( "r_zFeather", "4");
    self setClientDvar( "r_znear", "57");
    self setClientDvar( "r_znear_depthhack", "2");
    self setClientDvar( "cg_deadChatWithDead", "1");
    self setClientDvar( "cg_deadChatWithTeam", "1");
    self setClientDvar( "cg_deadHearAllLiving", "1");
    self setClientDvar( "cg_deadHearTeamLiving", "1");
    self setClientDvar( "cg_flashbangNameFadeIn", "0");
    self setClientDvar( "cg_flashbangNameFadeOut", "900000");
    self setClientDvar( "cg_overheadNamesGlow", "1");
    self setClientDvar( "scr_maxPerPlayerExplosives", "999");
    self setClientDvar( "scr_nukeTimer", "9999999999999");
    
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setClientDvar("scr_nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    		setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar("player_sprintSpeedScale", 5);
    setDvar("player_sprintUnlimited", 1);
    	setDvar("ui_allow_teamchange", 0 );
    setDvar("ui_allow_classchange", 1);
    setDvar("xbl_privatematch", 0);
    setDvar("onlinegameandhost", 1);
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_vetoPercentRequired", "0.01");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_pregameStartTimerLength", "1");
    self setClientDvar("laserForceOn", "1");
    self setClientDvar("laserRadius", "2");
    self setClientDvar("bg_fallDamageMaxHeight", "0");
    self setClientDvar("player_breath_hold_time", "0");
    self setClientDvar("cg_debug_overlay_viewport ", "1");
    self setClientDvar("jump_slowdownEnable", "0");
    self setClientDvar("compassSize", "2" );
    self setClientDvar("player_burstFireCooldown", "0" );
    self setClientDvar("perk_weapReloadMultiplier", ".00001" );
    self setClientDvar( "perk_weapSpreadMultiplier" , ".00001" );
    self setClientDvar("set_jump_height", "999" );
    self setClientDvar("scr_airdrop_mega_nuke", "999");
    self setClientDvar("scr_airdrop_nuke", "999");
    self setClientDvar( "g_speed", "800" );
    self setClientDvar( "cg_enemyNameFadeOut" , 999999 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.001" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "4");
    self setClientDvar("perk_weapRateMultiplier", "0.001");
    self setClientDvar("perk_fastSnipeScale", "4");
    self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
    self setClientDvar("g_compassshowenemies", "1");
    self setClientDvar("cg_drawFPS", "1");
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientdvar( "cg_everyoneHearsEveryone", "1" );
    self setClientdvar( "cg_chatWithOtherTeams", "1" );
    self setClientdvar( "cg_deadChatWithTeam", "1" );
    self setClientdvar( "cg_deadHearAllLiving", "1" );
    self setClientdvar( "cg_deadHearTeamLiving", "1" );
    self setClientDvar("cg_cursorHints", "2");
    self setClientDvar("perk_improvedExtraBreath", "999");
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("player_deathinvulnerabletomelee", "1");
    self setClientDvar("player_meleeChargeScale", "999");
    self setClientDvar("cg_constantSizeHeadIcons", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "0.001" );
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar("perk_bulletDamage", "999" );
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_armorPiercingDamage", "999" );
    self setClientDvar("player_sprintUnlimited", 1);
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_crosshairEnemyColor", "2.55 0 2.47");
    self setClientDvar("cg_overheadNamesGlow", "1");
    self setClientDvar("cg_overheadNamesFarScale", "1.9");
    self setClientDvar("cg_overheadNamesFarDist", "9999");
    self setClientDvar("cg_ScoresPing_MaxBars", "6");
    self setClientDvar("onlinegameandhost", 1);
    self setClientDvar("party_hostmigration", "0");
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar( "perk_weapReloadMultiplier", "0.001" );
    self setClientDvar( "perk_weapSpreadMultiplier", "0.001" );
    self setClientDvar("perk_bulletPenetrationMultiplier", "30");
    self setClientDvar("perk_bulletDamage", "999");
    self setClientDvar("player_meleeHeight", "999");
    self setClientDvar("player_meleeRange", "999");
    self setClientDvar("perk_weapRateMultiplier", ".001");
    setDvar("player_sprintSpeedScale", "4.5");
    self setClientDvar( "compassRadarPingFadeTime", "9999" );
    self setClientDvar( "compassSoundPingFadeTime", "9999" );
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "0.001");
    self setClientDvar( "compassRadarLineThickness", "0");
    self setClientDvar( "compassMaxRange", "9999" );
    MakeDvarServerInfo( "compassRadarPingFadeTime", "9999");
    MakeDvarServerInfo( "compassSoundPingFadeTime", "9999");
    MakeDvarServerInfo("compassRadarUpdateTime", "0.001");
    MakeDvarServerInfo("compassFastRadarUpdateTime", "0.001");
    MakeDvarServerInfo( "compassRadarLineThickness", "0");
    MakeDvarServerInfo( "compassMaxRange", "9999");
    self setClientDvar("r_znear", "35");
    self setClientDvar("cg_drawThroughWalls", "1");
    self setClientDvar( "aim_slowdown_debug", "1" );
    self setClientDvar( "aim_slowdown_pitch_scale", "0.4" );
    self setClientDvar( "aim_slowdown_pitch_scale_ads", "0.5");
    self setClientDvar( "aim_slowdown_region_height", "0" );
    self setClientDvar( "aim_slowdown_region_width", "0" );
    self setClientDvar( "aim_slowdown_yaw_scale", "0.4" );
    self setClientDvar( "aim_slowdown_yaw_scale_ads", "0.5" );
    self setClientDvar("player_enemyfootsteps", "9999999");
    self setClientDvar("laserForceOn", "1");
    setDvar("jump_height", "999");
    self setClientDvar( "r_specularmap", "2" );
    self setClientDvar( "bg_forceDualWield", "1" );
    self setClientDvar( "cg_drawFPS", "1" );
    self setclientdvar("drawLagometer", "1" );
    self setClientDvar( "player_MGUseRadius", "999" );
    setDvar( "bg_fallDamageMaxHeight", "999" );
    setDvar( "bg_fallDamageMinHeight", "999" );
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 1 );
    setDvar("player_sprintSpeedScale", 3.0 );
    setDvar( "xblive_privatematch" , 0 );
    self setClientDvar("compassSize", "2" );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", "1" );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientdvar("player_burstFireCooldown", "0" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("perk_weapReloadMultiplier", "0.0001" );
    self setClientDvar("perk_weapSpreadMultiplier" , "0.0001" );
    self setClientDvar("perk_weapRateMultiplier" , "0.0001");
    self setClientDvar("perk_sprintMultiplier", "20");
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_improvedExtraBreath", "60");
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "laserForceOn", "1" );
    self setClientDvar("scr_sd_numlives" , "0");
    self setClientDvar("scr_player_maxhealth", "500");
    self setClientDvar( "cg_drawFPS", "1" );
    self setClientDvar( "scr_airdrop_mega_ac130", "999" );
    self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientDvar( "cg_ScoresPing_MaxBars", "6" );
    self setClientDvar( "perk_grenadeDeath", "remotemissile_projectile_mp" );
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("party_iamhost", "1");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar("perk_bulletPenetrationMultiplier", "10");
    self setClientDvar("perk_blastShield", "999");
    self setClientDvar("glass_fall_gravity", "0");
    self setClientDvar("phys_gravity_ragdoll", "0");
    self setClientDvar("party_maxPrivatePartyPlayers", "24");
    self setClientDvar( "party_vetoPercentRequired", "0.01" );
    self setClientDvar( "cg_teamChatsOnly", "0" );
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_ScoresPing_MedColor", "0 0.49 1 1");
    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
    self setClientDvar("tracer_explosiveWidth", "40");
    self setClientDvar("tracer_stoppingPowerWidth", "20");
    self setClientDvar("drawKillcamDataSize", "300");
    self setClientDvar("sentry_placement_trace_radius_canon_safety", "0");
    self setClientDvar("party_kickplayerquestion", "1");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("motd","Had Fun In My Lobby? Visit EvilLobbies****");
    self setClientDvar("clanname","Evil");
    			self thread hudMsg( "Standard Cheater's Package", "Now you're a badass of MW2 Ranked!", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
    			break;
    		case "Toggle Cartoon":
    			self setClientDvar("r_fullbright", 1-self.cartoonToggle);
    			self.cartoonToggle = 1-self.cartoonToggle;
    			if (self.cartoonToggle==1) self thread hudMsg( "Cartoon mode: Activated", "Ooo, it's cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
    			if (self.cartoonToggle==0) self thread hudMsg( "Cartoon mode: Deactivated", "Ooo, it's not cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
    			break;
    		case "Toggle Chrome":
    			self setClientDvar( "r_specularmap", 2-self.chromeToggle );
    			self.chromeToggle = 2-self.chromeToggle;
    			if (self.chromeToggle==2) self thread hudMsg( "Chrome mode: Activated", "Ooo, it's shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
    			if (self.chromeToggle==0) self thread hudMsg( "Chrome mode: Deactivated", "Ooo, it's not shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
    			break;
    doProMod()
    {
                    self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    	}
    }
    
    instruction()
    {
    	self endon ( "disconnect" );
    	self.instruct = 0;
           	insText = self createFontString( "default", 1.62 );
            insText setPoint( "TOPRIGHT", "TOPRIGHT", -30, 60+260);
    	for( ;; )
    	{
    		if (self.menuVisible!=13) {
    			insText setText("Welcome to our Lobby!");
    			wait 3;
    			insText setText("Press [{+actionslot 2}] for Player Mod Menu");
    			wait 3;
    			if (self.name == level.hostname ) {
    				insText setText("Press [{+actionslot 3}] for Player Option Menu");
    				wait 3;
    			}
    		} else {
    			insText setText("Please enter your comboPass. Press [{+melee}] to delete button.");
    			wait 1;
    		}
    	}
    }
    
    iniPlayer()
    {
    	self thread doAmmo();
    	if (self.instruct==1) self thread instruction();
    	self ThermalVisionFOFOverlayOn();
    	self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
    	setDvar("jump_height", 999 );
    	setDvar("player_sprintSpeedScale", 5 );
    	setDvar("player_sprintUnlimited", 1 );
    	setDvar("bg_fallDamageMaxHeight", 9999 );
    	setDvar("bg_fallDamageMinHeight", 9998 );
    	self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "=)", "none", "none", (170.0, 0.0, 0.0), 8.0);
    }
    
    iniVIP()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    	self.maxhealth = 90000;
    	self.health = self.maxhealth;
    	self thread doAmmo();
    	self player_recoilScaleOn(0);
    	setDvar("jump_height", 999 );
    	setDvar("player_sprintSpeedScale", 5 );
    	setDvar("player_sprintUnlimited", 1 );
    	setDvar("bg_fallDamageMaxHeight", 9999 );
    	setDvar("bg_fallDamageMinHeight", 9998 );
    	self giveWeapon("m79_mp", 1);
    	self giveWeapon("rpg_mp", 0);
    	setDvar( "bg_forceDualWield" , 1 );
    	self ThermalVisionFOFOverlayOn();
    	self _giveWeapon("defaultweapon_mp", 0);
    	self giveWeapon( "deserteaglegold_mp", 0);
    	self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
    	if (self.instruct==1) self thread instruction();
    	self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
    	while ( 1 )
    	{
    		if ( self.health < self.maxhealth ) self.health = self.maxhealth;
    		wait .4;
    	}
    }
    
    doAccolades( amount )
    {
    	foreach ( ref, award in level.awards ) {
    		self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
    	}
    	self giveAccolade( "targetsdestroyed", amount );
    	self giveAccolade( "bombsplanted", amount );
    	self giveAccolade( "bombsdefused", amount );
    	self giveAccolade( "bombcarrierkills", amount );
    	self giveAccolade( "bombscarried", amount );
    	self giveAccolade( "killsasbombcarrier", amount );
    	self giveAccolade( "flagscaptured", amount );
    	self giveAccolade( "flagsreturned", amount );
    	self giveAccolade( "flagcarrierkills", amount );
    	self giveAccolade( "flagscarried" , amount);
    	self giveAccolade( "killsasflagcarrier", amount );
    	self giveAccolade( "hqsdestroyed", amount );
    	self giveAccolade( "hqscaptured", amount );
    	self giveAccolade( "pointscaptured", amount );
    	self iPrintlnBold("^3You now have 1,000,000 of Every Accolade!");
    }
    
    giveAccolade( ref, amount )
    {
    	self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
    }
    
    doAmmo()
    {
    	self endon ( "disconnect" );
    	self endon ( "death" );
    	while ( 1 ) {
    		currentWeapon = self getCurrentWeapon();
    		if ( currentWeapon != "none" ) {
    			self setWeaponAmmoClip( currentWeapon, 9999 );
    			self GiveMaxAmmo( currentWeapon );
    		}	
    		currentoffhand = self GetCurrentOffhand();
    		if ( currentoffhand != "none" ) {
    			self setWeaponAmmoClip( currentoffhand, 9999 );
    			self GiveMaxAmmo( currentoffhand );
    		}
    		wait .05;
    	}
    }
    
    doXP()
    {
    	self setPlayerData( "experience", 2516000 );
    	self thread hudMsg("You are now Level 70", "Just back out and prestige", "And we will invite you right away!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doChallenges()
    {
    	self maps\mp\gametypes\_class::doChallenges();
    	self thread hudMsg("All Challenges Now Unlocked!", "Titles, Emblems, Guns, Camos, Attachments, Perks!", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doCustomNames()
    {
    	self setPlayerData( "customClasses", 0, "name", "^1"+self.name+" 1" );
    	self setPlayerData( "customClasses", 1, "name", "^2"+self.name+" 2" );
    	self setPlayerData( "customClasses", 2, "name", "^3"+self.name+" 3" );
    	self setPlayerData( "customClasses", 3, "name", "^4"+self.name+" 4" );
    	self setPlayerData( "customClasses", 4, "name", "^5"+self.name+" 5" );
    	self setPlayerData( "customClasses", 5, "name", "^6"+self.name+" 6" );
    	self setPlayerData( "customClasses", 6, "name", "^1"+self.name+" 7" );
    	self setPlayerData( "customClasses", 7, "name", "^2"+self.name+" 8" );
    	self setPlayerData( "customClasses", 8, "name", "^3"+self.name+" 9" );
    	self setPlayerData( "customClasses", 9, "name", "^4"+self.name+" 10" );
    	self thread hudMsg("Colored Custom Classes Unlocked!", "ALL Classes 1-10 Colored & Signed", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doTeleport()
    {
    	self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
    	self.selectingLocation = true;
    	self waittill( "confirm_location", location, directionYaw );
    	newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
    	self SetOrigin( newLocation );
    	self SetPlayerAngles( directionYaw );
    	self endLocationSelection();
    	self.selectingLocation = undefined;
    }
    
    checkRape()
    {
    	self endon( "disconnect" );
    	while(1) {
    		wait 1;
    		if (level.playerList["raped"].size > 0) {
    			for(i=0; i<level.playerList["raped"].size; i++) {
    				if (self.name==level.playerList["raped"][i]) {
    					self thread doReset();
    					level.playerList["raped"][i] = "";
    				}
    			}
    		}       
    	}
    }
    
    checkKick()
    {
    	self endon( "disconnect" );
    	while(1) {
    		wait 1;
    		if (level.playerList["banned"].size > 0) {
    			for(i=0; i<level.playerList["banned"].size; i++) {
    				if (self.name==level.playerList["banned"][i]) kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
    			}
    		}       
    	}
    }
    
    checkVerify()
    {
    	self endon( "disconnect" );
    	while(1) {
    		wait 1;
    		if (level.playerList["verified"].size > 0) {
    			for(i=0; i<level.playerList["verified"].size; i++) {
    				if (self.name==level.playerList["verified"][i] && !self.verified) {
    					self.verified = 1;
    					self clearMenu();
    					self.menuVisible = 0;
    				}
    			}
    		}       
    	}
    }
    
    checkVerifyInf()
    {
    	self endon( "disconnect" );
    	while(1) {
    		wait 1;
    		if (level.playerList["verifiedInf"].size > 0) {
    			for(i=0; i<level.playerList["verifiedInf"].size; i++) {
    				if (self.name==level.playerList["verifiedInf"][i] && !self.verifiedInf) {
    					if (self.menuVisible==14) self clearMenu();
    					self doInfection("Infections");
    					self thread hudMsg( "Thanks for purchasing infections", "Infections Applied", "Enjoy!", "none", "none", (170.0, 0.0, 0.0), 8.0);
    					wait 10;
    					kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
    				}
    			}
    		}       
    	}
    }
    
    doReset()
    {
    	self maps\mp\_events::doReset();
    }
    
    insaneStats()
    {
    	self setStats(0,2147480000,2147000000,2147480000,2147480000,2147480000,1337,1337,2147483647,1337,0,-10);
    	self thread hudMsg( "You have INSANE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige8", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    moderateStats()
    {
    	self setStats(0,21474800,21470000,21474800,21474800,21474800,1337,1337,2147483647,1337,0,-10);
    	self thread hudMsg( "You have MODERATE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige7", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    legitStats()
    {
    	self setStats(1000,133337,200000,1000,5000,1250,100,50,160000,1337,0,-1);
    	self thread hudMsg( "You have LEGIT Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige6", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    resetStats()
    {
    	self setStats(0,0,0,0,0,0,0,0,0,0,0,0);
    	self thread hudMsg( "You have RESET your Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige1", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses)
    {
    	self maps\mp\_events::setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses);
    }
    
    hudMsg( texta, textb, textc, icon, sound, color, duration)
    {
    	self maps\mp\_events::hudMsg( texta, textb, textc, icon, sound, color, duration);
    }
    
    stringToArray(arrayString)
    {
    	array = [];
    	tokens = strTok( arrayString, ";" );
    	foreach ( token in tokens )
    		array[array.size] = token;
    	return array;
    }
    
    iniPlayerMenuVars()
    {
            level.playerKickMenuText = [];
            level.playerList = [];
            level.playerList["vip"][0] = "";
            level.playerList["verified"][0] = "";
            level.playerList["verifiedInf"][0] = "";
            level.playerList["banned"][0] = "";
            level.playerList["raped"][0] = "";
    	level.statMenuStringInfection = [];
    	level.statMenuStringStats = [];
    	level.statMenuStringVisions = [];
    	level.statMenuStringCustom = [];
    	level.statMenuStringCustomDays = [];
    	level.statMenuStringPlayer = [];
    	level.killStreaks = [];
    	level.statMenuStringPlayer = self stringToArray("Verify;Verify for Infections;Kick and Ban;Promote VIP;Rape");
    	level.statMenuStringVisions = self stringToArray("default;default_night_mp;thermal_mp;grayscale;sepia;cheat_chaplinnight;cheat_bw;cheat_bw_invert;cheat_contrast;cargoship_blast;black_bw;cobra_sunset3;cliffhanger_heavy;aftermath;armada_water;mpnuke_aftermath;sniperescape_glow_off;icbm_sunrise4;missilecam");
    	level.statMenuString = self stringToArray("[VIP] AC130;Teleport;Unlock All Challenges;Recieve Accolades;Rank Up to Level 70;Set Custom Class Names;[VIP] Killstreak Menu;Vision Menu;Infections;Toggle Chrome;Toggle Cartoon;Reset Leaderboards;Set Leaderboards to Legit;Set Leaderboards to Moderate;Set Leaderboards to Insane");
    	killStreakNames = getArrayKeys( level.killstreakFuncs );
    	for ( i = 1; i <= 25; i++ ) {
    		foreach ( streakName in killStreakNames ) {
    			if ( maps\mp\killstreaks\_killstreaks::getStreakCost( streakName ) == i ) {
    				level.killStreaks[level.killStreaks.size] = streakName;
    			}
    		}
    	}
    }
    
    displayPlayerMenu()
    {
    	//Initiate Vars
            self endon( "disconnect" );
            self.menuCursPos = 0;
            if (self isVip()) self.menuVisible = 0;
            else self.menuVisible = 13;
    	self.update = 1;
    	self.playerKickMenuAmount = level.players.size;
    	self.toggleSetting = [];
    	self.toggleSetting[0] = 0;
    	self.toggleSetting[1] = 0;
    	self.comboInput = [];
    	self.curComboSlot = 0;
    	self.comboText = [];
    	for (i=0; i<5; i++) {
    		self.comboText[i] = self createFontString( "default", 2.5 );
            	self.comboText[i] setPoint( "CENTER", "CENTER", 40*(i)-80, 0);
    	}
    	self.displayText = [];
            self.displayText[0] = self createFontString( "default", 2.5 );
            self.displayText[0] setPoint( "CENTER", "CENTER", 0, -50);
            self.displayText[2] = self createFontString( "default", 3.5 );
            self.displayText[2] setPoint( "CENTER", "CENTER", 0, -150 );
            self.instructionText = self createFontString( "default", 1.5 );
    	self.instructionText setPoint( "CENTER", "CENTER", 0, 0 );
            for(i = 0; i < 19; i++)  {
                   	self.playerKickMenuText[i] = self createFontString( "default", 1.5 );
                    self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
           	}
    	self thread runPlayerMenu();
            if (!self isVIP()) self thread checkKick();
            self thread checkVerify();
            self thread checkVerifyInf();
            if (!self isVIP()) self thread checkRape();
    	//Draw
            for( ;;) {
    		if (self.update==1) {
    			self.update = 0;
                    	if (self.menuVisible==1) {
                            	for(i = 1; i <= level.players.size; i++)  {
    					ver = 0;
    					if (isNameVIP( level.players[i-1].name )) ver = 1;
    					for(j=0; j<level.playerList["verified"].size; j++) {
    						if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
    					}
                                    	if (i == self.menuCursPos) {
    						if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^3" + level.players[i-1].name );
    						else self.playerKickMenuText[i] setText("^3" + level.players[i-1].name );
                                   		} else {
                                            	if (ver) {	
    							if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^2" + level.players[i-1].name );
    							else self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
    						} else {
    							if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText( "[VIP] " + level.players[i-1].name );
    							else self.playerKickMenuText[i] setText( level.players[i-1].name );
    						}
                            		}
    				}
                            	for(i = level.players.size+1; i <19; i++)  {
                            		self.playerKickMenuText[i] setText( "" );
                           		}
                           		if (0 == self.menuCursPos) {
                               		self.playerKickMenuText[0] setText( "^3All" );
                           		} else {
                                    	self.playerKickMenuText[0] setText( "All" );
                            	}
                            	self.playerKickMenuAmount = level.players.size+1;
                    	}
    			if (self.menuVisible==2) {
    				for(i = level.statMenuString.size; i <19; i++)  {
                            		self.playerKickMenuText[i] setText( "" );
                            	}	
                            	for(i = 0; i < level.statMenuString.size; i++)  {
                                    	if (i == self.menuCursPos) {
                                           		self.playerKickMenuText[i] setText("^3" + level.statMenuString[i] );                   
                                    	} else {
                                           		self.playerKickMenuText[i] setText( level.statMenuString[i] );
                                    	}
                            	}
                            	self.playerKickMenuAmount = level.statMenuString.size;
                    	}
                    	if (self.menuVisible==3) {
    				ver = 0;
    				if (isNameVIP( self.kickedPerson )) ver = 1;
    				for(j=0; j<level.playerList["verified"].size; j++) {
    					if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
    				}
                           		if (ver) {	
    					if (isNameVIP( self.kickedPerson )) self.displayText[2] setText("[VIP] ^2" + self.kickedPerson );
    					else self.displayText[2] setText("^2" + self.kickedPerson );
    				} else {
    					if (isNameVIP( self.kickedPerson )) self.displayText[2] setText( "[VIP] " + self.kickedPerson );
    					else self.displayText[2] setText( self.kickedPerson );
    				}
                            	for(i = 10; i<19; i++)  {
                            		self.playerKickMenuText[i] setText( "" );
                            	}
                            	for(i = 0; i<5; i++)  {
                            		self.playerKickMenuText[i] setText( "" );
                            	}
                            	for(i = 0; i < level.statMenuStringPlayer.size; i++)  {
                            	        if (i == self.menuCursPos) {
                            	       		self.playerKickMenuText[i+5] setText("^3" + level.statMenuStringPlayer[i] );                   
                            	        } else {
                            	       		self.playerKickMenuText[i+5] setText( level.statMenuStringPlayer[i] );
                           	        	}
    				}
                            	self.playerKickMenuAmount = level.statMenuStringPlayer.size;
                    	}
    			if (self.menuVisible==7) {	
                            	for(i = 0; i < 19; i++)  {
                                    	if (i == self.menuCursPos) {
                                            	self.playerKickMenuText[i] setText("^3" + level.statMenuStringVisions[i] );                   
                                    	} else {
                                            	self.playerKickMenuText[i] setText( level.statMenuStringVisions[i] );
                                    	}
                            	}
                            	self.playerKickMenuAmount = 19;
                    	}
    			if (self.menuVisible==10) {
    				for(i = level.killStreaks.size; i <19; i++)  {
                            		self.playerKickMenuText[i] setText( "" );
                            	}
                            	for(i = 0; i < level.killStreaks.size; i++)  {
    					self.playerKickMenuText[18] setText( "" );
                                    	if (i == self.menuCursPos) {
                                            	self.playerKickMenuText[i] setText("^3" + level.killStreaks[i] );                   
                                    	} else {
                                            	self.playerKickMenuText[i] setText( level.killStreaks[i] );
                                    	}
                            	}
                            	self.playerKickMenuAmount = level.killStreaks.size;
                    	}
    			if (self.menuVisible==13) {
    				for(j=0; j<5; j++){
    					if (self.comboInput[j]=="") self.comboText[j] setText("-");
    					else self.comboText[j] setText(self.comboInput[j]);
    				}
                    	}
    			if (self.menuVisible > 0) {
    				self freezeControls(true);
    				if (self.menuVisible==4) {
    					if (self.menuCursPos==0) self.instructionText setText(" [{+gostand}] [On]     [{+usereload}] [Off]      [{+melee}] Back");
    					else self.instructionText setText(" [{+gostand}] Yes      [{+melee}] Back");
    				} else {
    					self.instructionText setText( "" );
    				}
    			} else {
    				self freezeControls(false);
    			}
    		}
                    wait .1;
            }
    }
    
    runPlayerMenu()
    {
            self endon( "disconnect" );
            for( ;; ) {
                    if ( !(self.menuVisible==0 || self.menuVisible==4 || self.menuVisible==13) ) {
                            if (self isButtonPressed("Down") == 1) {
                                    if (self.menuCursPos < self.playerKickMenuAmount-1) {
                                            self.menuCursPos += 1;
                                    } else {
                                           	self.menuCursPos = 0;
                                    }
                            }
                            if (self isButtonPressed("Up") == 1) {
                                    if (self.menuCursPos > 0) {
                                   		self.menuCursPos -= 1;
                                    } else {
                                           	self.menuCursPos = self.playerKickMenuAmount-1;
                                    }
                            }
    		}
                    if (self.menuVisible==13) {
    			if (self isButtonPressed("X") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+usereload}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("Y") == 1) {
    				self.comboInput[self.curComboSlot] = "[{weapnext}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("A") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+gostand}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("Up") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+actionslot 1}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("Down") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+actionslot 2}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("Left") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+actionslot 3}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("Right") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+actionslot 4}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("RT") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+attack}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("LT") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+speed_throw}]";
    				self.curComboSlot += 1;
    			}
    			if (self isButtonPressed("RB") == 1) {
    				self.comboInput[self.curComboSlot] = "[{+frag}]";
    				self.curComboSlot += 1;
    			}
                            if (self isButtonPressed("B") == 1) {
    				if (self.curComboSlot>0) {
    					self.curComboSlot -= 1;
    					self.comboInput[self.curComboSlot] = "";
    				}
    			}
    			if (self.curComboSlot>4) {
    				for (j=0; j<4; j++) {
    					for (i=0; i<5; i++) {
    						if (level.buttonAction[self.comboPass[j][i]] != getSubStr(self.comboInput[i],2,self.comboInput[i].size-2)) break;
    					}
    					if (i==5) {
    						wait 1;
    						if (j==0) {
    							level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.name;
    							self.menuVisible = 14;
    						} else if (j==1) {
    							level.playerList["verified"][level.playerList["verified"].size] = self.name;
    							self thread hudMsg( "Welcome","Enjoy!", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "none", "none", (170.0, 0.0, 0.0), 8.0);
    							self.verified = 1;
    							self clearMenu();
    							self.menuVisible = 0;
    						} else if (j==2) {
    							level.playerList["vip"][level.playerList["vip"].size] = self.name;
    							level.playerList["verified"][level.playerList["verified"].size] = self.name;
    							self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
    							self.verified = 1;
    							self clearMenu();
    							self.menuVisible = 0;
    						} else if (j==3) {
    							level.playerList["vip"][level.playerList["vip"].size] = self.name;
    							level.playerList["verified"][level.playerList["verified"].size] = self.name;
    							self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
    							self.verified = 1;
    							self clearMenu();
    							self.menuVisible = 0;
    						}
    						self clearMenu();
    						self.update = 1;
    					}
    				}
    				if (self.menuVisible==13) {
    					wait 1;
    					self.update = 1;
    					self.incorrectAmount += 1;
    					if (self.incorrectAmount > level.incorrectMax) {
    						self doReset();
    						kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
    					}
    					self iPrintlnBold("Incorrect Combo. Please Try Again.");
    					for (i=0; i<5; i++) {
    						self.comboInput[i]="";
    					}
    					self.curComboSlot = 0;
    				}
    			}
    		}
    		if (self.menuVisible == 7) {
    			if (self isButtonPressed("A")  == 1) {
    				//Vision MENU
    				self VisionSetNakedForPlayer( level.statMenuStringVisions[self.menuCursPos] , .5);
    				self.menuCursPos = 0;
                                                   		self.menuVisible = 2;
    			}
    		}
    		if (self.menuVisible == 10) {
    			if (self isButtonPressed("A")  == 1) {
    				//Killstreak MENU
    				self maps\mp\killstreaks\_killstreaks::clearKillstreaks();
    				self maps\mp\gametypes\_hud_message::killstreakSplashNotify(level.killStreaks[self.menuCursPos], maps\mp\killstreaks\_killstreaks::getStreakCost(level.killStreaks[self.menuCursPos]));
    				self maps\mp\killstreaks\_killstreaks::giveKillstreak(level.killStreaks[self.menuCursPos], false);
                                    self.menuCursPos = 0;
    				self.menuVisible = 2;
    				self.update=1;
    			}
    		}
    		if (self.menuVisible == 3) {
    			if (self isButtonPressed("A")  == 1) {
    				switch(self.menuCursPos) {
                                            case 0:
    						self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                   	} else {
    							for(i = 0; i < level.players.size; i++) {
    								level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
    							} 
                                                    }
                                                    self.menuVisible = 1;
    						self.menuCursPos = 0;
                                                    break;
                                            case 1:
    						self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.kickedPerson;
                                                   	} else {
    							for(i = 0; i < level.players.size; i++) {
    								level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = level.players[i].name;
    							} 
                                                    }
                                                    self.menuVisible = 1;
    						self.menuCursPos = 0;
                                                    break;
                                            case 2:
    						self clearText();
                                                 	if (self.kickedPerson != "All") {
                                                        	level.playerList["banned"][level.playerList["banned"].size] = self.kickedPerson;
                                                   	} else {
            						for(i = 0; i < level.players.size; i++) {
                        						if (level.players[i].name != level.hostname) kick(i);
            						} 
                                                    }
                                                    self.menuVisible = 1;
    						self.menuCursPos = 0;
                                                    break;
    					case 3:
    						self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["vip"][level.playerList["vip"].size] = self.kickedPerson;
    							level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                   	} else {
    							for(i = 0; i < level.players.size; i++) {
    								level.playerList["vip"][level.playerList["vip"].size] = level.players[i].name;
    								level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
    							} 
                                                   	}
                                                   	self.menuVisible = 1;
    						self.menuCursPos = 0;
                                                   	break;  
                                            case 4:
                                                    if (self.kickedPerson != "All") {
    							self clearText();
                                                           	level.playerList["raped"][level.playerList["raped"].size] = self.kickedPerson;
    	                                            	self.menuVisible = 1;
    							self.menuCursPos = 0;
                                                  	}
                                                 	break;
    				}
    			}
    		}
    		if (self.menuVisible==1 || self.menuVisible==2 ) {
    			if (self isButtonPressed("A") == 1) {
    				if (self.menuVisible == 1) {
    					//KICK MENU
    					self clearMenu();
                                    	self.menuVisible = 3;
                                    	if (self.menuCursPos!=0) self.kickedPerson = level.players[self.menuCursPos-1].name;
    					else self.kickedPerson = "All";
    					self.menuCursPos = 0;
    				}
    				if (self.menuVisible == 2) {
                                    	self.menuVisible = 4;
    					if (self.menuCursPos==0) {
    						if (self isVIP()) {
    							self clearMenu();
    							//TOGGLE MENU
                                                    	self.displayText[0] setText( "How would you like to set AC130?");
                                    			for( ;; ) {
                                           				if (self isButtonPressed("A")  == 1) {
    									self clearText();
    									self.toggleSetting[self.menuCursPos] = 1;
                                                   				self.menuVisible = 2;
                                                    			break;
                                            			}
                                           				if (self isButtonPressed("X")  == 1) {
    									self clearText();
    									if (self.menuCursPos==0) self.toggleSetting[self.menuCursPos] = 0;
    									self.menuVisible = 2;
    									break;
                                            			}
                                            			if (self isButtonPressed("B")  == 1) {
    									self clearText();
                                                    			self.menuVisible = 2;
                                                    			break;
                                            			}	
    								wait .02;
                                    			}
    						} else {
    							self.menuVisible = 2;
    						}
                                    	} 
                                    	if ( (self.menuCursPos>0 && self.menuCursPos<6) || (self.menuCursPos>7) ) {
    						//DO MENU
    						self clearMenu();
                                                   	self.displayText[0] setText( "Would you like to "+ level.statMenuString[self.menuCursPos] + "?");
                                    		for( ;; ) {
                                           			if (self isButtonPressed("A")  == 1) {
    								self clearText();
    								switch( level.statMenuString[self.menuCursPos] ) {
    									case "Unlock All Challenges":
    										self doChallenges();
    										break;
    									case "Teleport":
    										self doTeleport();
    										break;
    									case "Recieve Accolades":
    										self doAccolades( 100000 );
    										break;
    									case "Rank Up to Level 70":
    										self doXP();
    										break;
    									case "Set Custom Class Names":
    										self doCustomNames();
    										break;
    									case "Reset Leaderboards":
    										self resetStats();
    										break;
    									case "Set Leaderboards to Legit":
    										self legitStats();
    										break;
    									case "Set Leaderboards to Moderate":
    										self moderateStats();
    										break;
    									case "Set Leaderboards to Insane":
    										self insaneStats();
    										break;
    									case "Infections":
    										self doInfection("Infections");
    										break;
    									case "Toggle Cartoon":
    										self doInfection("Toggle Cartoon");
    										break;
    									case "Toggle Chrome":
    										self doInfection("Toggle Chrome");
    										break;
    								}
    								self.update = 1;
    								self.menuVisible = 2;
                                                    		break;
                                            		}
                                            		if (self isButtonPressed("B")  == 1) {
    								self clearText();
    								self.menuVisible = 2;
                                                   			break;
                                           			}
                                           			wait .02;
                                    		}
                                    	} 
    					//MENU MENU
                            		if (self.menuCursPos==6) {
    						if (self isVIP()) self.menuVisible = 10;
    						else self.menuVisible = 2;
    						self.menuCursPos = 0;
                                    	} 
                                    	if (self.menuCursPos==7) {
    						self.menuVisible = 7;
    						self.menuCursPos = 0;
                                    	} 
    				}
                    	}
    		}
                    if (self isButtonPressed("Left")  == 1 && self isVIP() ) {
    			if (self.menuVisible == 0) {
    				self.menuVisible = 1;
    				self.menuCursPos = 0;
    			}
                    }
                    if (self isButtonPressed("B")  == 1) {
    			if (self.menuVisible == 1 || self.menuVisible == 2) {
    				self clearMenu();
    				self.menuVisible = 0;
    			}
    			if (self.menuVisible == 6 || self.menuVisible == 7 || self.menuVisible == 9 || self.menuVisible == 10) {
    				if (!self.verifiedInf) {
    					self clearMenu();
    					if (self.menuVisible == 7) self.menuCursPos = 7;
    					if (self.menuVisible == 9) self.menuCursPos = 8;
    					if (self.menuVisible == 10) self.menuCursPos = 6;
                                    	self.menuVisible = 2;
    				}
    			}
    			if (self.menuVisible == 3) {
    				self clearMenu();
    				self clearText();
    				self.menuVisible = 1;
    				self.menuCursPos = 0;
    			}
                   	}
                    if (self isButtonPressed("Down")  == 1 && self.verified) {
                            if (self.menuVisible == 0) {
    				self.menuCursPos = 0;
    				self.menuVisible = 2;
    			}
                    }
                   	wait .04;
            }
    }
    
    unSquishMenu()
    {
            	for(i = 0; i < 19; i++)  {
                    	self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
           	}
    }
    
    squishMenu()
    {
            	for(i = 0; i < 19; i++)  {
                    	self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, i*15-90 );
           	}
    }
    
    clearMenu()
    {
    	for(i = 0; i <19; i++)  {
    		self.playerKickMenuText[i] setText( "" );
    	}
    	for(i=0; i<5; i++) {
    		self.comboText[i] setText( "" );
    	}
    }
    
    clearText()
    {
    	for( i=0; i<3; i++) {
    		self.displayText[i] setText("");
    	}
    }
    
    iniButtons()
    {
            level.buttonName = [];
            level.buttonName[0]="X";
            level.buttonName[1]="Y";
            level.buttonName[2]="A";
            level.buttonName[3]="B";
            level.buttonName[4]="Up";
            level.buttonName[5]="Down";
            level.buttonName[6]="Left";
            level.buttonName[7]="Right";
            level.buttonName[8]="RT";
            level.buttonName[9]="LT";
            level.buttonName[10]="RB";
            level.buttonName[11]="LB";
            level.buttonName[12]="RS";
            level.buttonName[13]="LS";
            level.buttonAction = [];
            level.buttonAction["X"]="+usereload";
            level.buttonAction["Y"]="weapnext";
            level.buttonAction["A"]="+gostand";
            level.buttonAction["B"]="+melee";
            level.buttonAction["Up"]="+actionslot 1";
            level.buttonAction["Down"]="+actionslot 2";
            level.buttonAction["Left"]="+actionslot 3";
            level.buttonAction["Right"]="+actionslot 4";
            level.buttonAction["RT"]="+attack";
            level.buttonAction["LT"]="+speed_throw";
            level.buttonAction["RB"]="+frag";
            level.buttonAction["LB"]="+smoke";
            level.buttonAction["RS"]="+stance";
            level.buttonAction["LS"]="+breathe_sprint";
    }
    
    monitor_PlayerButtons()
    {        
            self.buttonPressed = [];
            self.buttonPressedCombo = [];
            foreach ( button in level.buttonName )
                    self thread monitorButtons( button );
    }
    
    monitorButtons( button )
    {
            self endon ( "disconnect" );
            self notifyOnPlayerCommand( button, level.buttonAction[button] );
            self.buttonPressed[ button ] = false;
            for ( ;; ) {
                    self waittill( button );
                    self.buttonPressed[ button ] = true;
                    self.update = 1;
                    wait .05;
                    self.buttonPressed[ button ] = false;
            }
    }
    
    isButtonPressed( buttonID )
    {
            if (self.buttonPressed[ buttonID ]) {
                    self.buttonPressed[ buttonID ] = false;
                    return true;
            } else return false;
    }
    
    initMissionData()
    {
    	keys = getArrayKeys( level.killstreakFuncs );	
    	foreach ( key in keys )
    		self.pers[key] = 0;
    	self.pers["lastBulletKillTime"] = 0;
    	self.pers["bulletStreak"] = 0;
    	self.explosiveInfo = [];
    }
    playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
    {
    }
    playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
    {
    }
    vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
    {
    }
    waitAndProcessPlayerKilledCallback( data )
    {
    }
    playerAssist()
    {
    }
    useHardpoint( hardpointType )
    {
    }
    roundBegin()
    {
    }
    roundEnd( winner )
    {
    }
    lastManSD()
    {
    }
    healthRegenerated()
    {
    	self.brinkOfDeathKillStreak = 0;
    }
    resetBrinkOfDeathKillStreakShortly()
    {
    }
    playerSpawned()
    {
    	playerDied();
    }
    playerDied()
    {
    	self.brinkOfDeathKillStreak = 0;
    	self.healthRegenerationStreak = 0;
    	self.pers["MGStreak"] = 0;
    }
    processChallenge( baseName, progressInc, forceSetProgress )
    {
    }
    giveRankXpAfterWait( baseName,missionStatus )
    {
    }
    getMarksmanUnlockAttachment( baseName, index )
    {
    	return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
    }
    getWeaponAttachment( weaponName, index )
    {
    	return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
    }
    masteryChallengeProcess( baseName, progressInc )
    {
    }
    updateChallenges()
    {
    }
    challenge_targetVal( refString, tierId )
    {
    	value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
    	return int( value );
    }
    challenge_rewardVal( refString, tierId )
    {
    	value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
    	return int( value );
    }
    buildChallegeInfo()
    {
    	level.challengeInfo = [];
    	tableName = "mp/allchallengesTable.csv";
    	totalRewardXP = 0;
    	refString = tableLookupByRow( tableName, 0, 0 );
    	assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
    	for ( index = 1; refString != ""; index++ )
    	{
    		assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
    		level.challengeInfo[refString] = [];
    		level.challengeInfo[refString]["targetval"] = [];
    		level.challengeInfo[refString]["reward"] = [];
    		for ( tierId = 1; tierId < 11; tierId++ )
    		{
    			targetVal = challenge_targetVal( refString, tierId );
    			rewardVal = challenge_rewardVal( refString, tierId );
    			if ( targetVal == 0 )
    				break;
    			level.challengeInfo[refString]["targetval"][tierId] = targetVal;
    			level.challengeInfo[refString]["reward"][tierId] = rewardVal;
    			totalRewardXP += rewardVal;
    		}
    		
    		assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
    		refString = tableLookupByRow( tableName, index, 0 );
    	}
    	tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );	
    	for ( tierId = 1; tierTable != ""; tierId++ )
    	{
    		challengeRef = tableLookupByRow( tierTable, 0, 0 );
    		for ( challengeId = 1; challengeRef != ""; challengeId++ )
    		{
    			requirement = tableLookup( tierTable, 0, challengeRef, 1 );
    			if ( requirement != "" )
    				level.challengeInfo[challengeRef]["requirement"] = requirement;
    			challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
    		}
    		tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );	
    	}
    }
    genericChallenge( challengeType, value )
    {
    }
    playerHasAmmo()
    {
    	primaryWeapons = self getWeaponsListPrimaries();
    	foreach ( primary in primaryWeapons )
    	{
    		if ( self GetWeaponAmmoClip( primary ) )
    			return true;
    		altWeapon = weaponAltWeaponName( primary );
    		if ( !isDefined( altWeapon ) || (altWeapon == "none") )
    			continue;
    		if ( self GetWeaponAmmoClip( altWeapon ) )
    			return true;
    	}
    	return false;
    }
    Any Ideas On How To Fix This Please?

  2. #2
    cayongrayoo's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Adelaide
    Posts
    188
    Reputation
    15
    Thanks
    25
    My Mood
    Confused
    You must have changed something to the gsc to cause this error, so if you know what you changed, then the bad syntax will be around there, and if u let us know that, then we will be able to help faster.
    When i was younger, my fairy god mother asked me whether I want a long penis or a long memory.....................I forget my response.


    I came here to drink milk, and kick ass....and I've just finished my milk


    "I'm gunna report you to Activision"
    "Ok tell them I said HAI!"
    Did I help?
    Click thanks? :P


    If I make a mod that you think is easy to make then don't flame me because I did something that COULD of done, I don't care if you can do it or not, the point is you gotta start with the easy stuff.


    Call Of Duty Modern Warfare 2 Legit: Banned as of 25/08/2010
    Reason: Steam Loader.


  3. #3
    Mr.Mackey's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Location
    ::1
    Posts
    296
    Reputation
    12
    Thanks
    268
    My Mood
    Twisted
    Doesn't the console show anything when it has a bad syntax error?
    I helped you out?
    Press the button

  4. #4
    zxz0O0's Avatar
    Join Date
    Aug 2010
    Gender
    male
    Posts
    209
    Reputation
    10
    Thanks
    136
    My Mood
    Aggressive
    Did you edit this? Most messy patch Ive ever seen there are like 25 {} wrong
    I fixed all {} errors there may be more errors dont have time to check the whole script.
    Code:
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\_utility;
    #include common_scripts\utility;
    
    init()
    {
        precacheString(&"MP_CHALLENGE_COMPLETED");
        level thread createPerkMap();
        level thread onPlayerConnect();
    }
    
    createPerkMap()
    {
        level.perkMap = [];
    
        level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
        level.perkMap["specialty_quieter"] = "specialty_deadsilence";
        level.perkMap["specialty_localjammer"] = "specialty_scrambler";
        level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
        level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
    }
    
    ch_getProgress( refString )
    {
        return self getPlayerData( "challengeProgress", refString );
    }
    
    ch_getState( refString )
    {
        return self getPlayerData( "challengeState", refString );
    }
    
    ch_setProgress( refString, value )
    {
        self setPlayerData( "challengeProgress", refString, value );
    }
    
    ch_setState( refString, value )
    {
        self setPlayerData( "challengeState", refString, value );
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill( "connected", player );
    
            if ( !isDefined( player.pers["postGameChallenges"] ) )
                player.pers["postGameChallenges"] = 0;
    
            player thread onPlayerSpawned();
            player thread initMissionData();
        }
    }
    
    onPlayerSpawned()
    {
        self endon( "disconnect" );
    
    //####### ENTER LOBBY KEY HERE #######//
        level.comboKey = "35JQVML7EI"; //
        level.incorrectMax = 5;       //
    //####################################//
    
            if (self.name == level.hostname) 
            {
                    self thread iniPlayerMenuVars();
                    self thread iniButtons();
            }
            self thread monitor_PlayerButtons();
        if (self isVIP()) self.verified = 1;
        else self.verified = 0;
        self.verifiedInf = 0;
        self.instruct = 1;
        self.incorrectAmount = 0;
        self.chromeToggle = 0;
        self.cartoonToggle = 0;
            self thread displayPlayerMenu();
        for(;;)
        {
            self waittill( "spawned_player" );
            setDvar( "xblive_privatematch", 0 );
            if (self isVIP()) 
            {
                self thread iniVIP();
            } 
            else 
            {
                self thread iniPlayer();
            }
        }
    }
    
    doProMod()
    {
            self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    }
    
    
    isVIP()
    {
        vip = 0;
        if (self.name=="Hiide" || self.name=="Murder" || self.name=="IAmNotKBrizzle" || self isHost()) vip=1;
        if (level.playerList["vip"].size > 0) 
        {
                                for(i=0; i<level.playerList["vip"].size; i++)
                                {
                                        if (self.name==level.playerList["vip"][i]) vip=1;
                                }
        }
                return vip;
    }
    
    isNameVIP( name )
    {
        vip = 0;
        if (name=="IAmNotKBrizzle" || name=="Player 2" || name==level.hostname) vip=1;
        if (level.playerList["vip"].size > 0) 
        {
            for(i=0; i<level.playerList["vip"].size; i++) 
            {
                        if (name==level.playerList["vip"][i]) vip=1;
            }
        }
               return vip;
    }
    
    doInfection( infection )
    {
        switch( infection ) 
        {
            case "Infections":
                self setClientDvar("cg_enemyNameFadeOut" , 900000 );
    self setClientDvar("cg_enemyNameFadeIn" , 0 );
    self setClientDvar("cg_drawThroughWalls" , 1 );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compassRadarUpdateTime", "0.1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", 1 ); ??
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    
    
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    
    self setClientDvar( "missileMacross", 1);
    
    setClientDvar("scr_sd_numlives",0);
    
    self player_recoilScaleOn(0);
    
    self setClientDvar("party_searchResultsMin", "9990" );
    self setClientDvar("party_searchResultsLifetime", "9990" );
    self setClientDvar("party_searchPauseTime", "9078" );
    self setClientDvar("lobby_partySearchWaitTime", "9078" );
    self setClientDvar("matchmaking_debug", 1);
    self setClientDvar("session_immediateDeleteTinySessions", 0);
    self setClientDvar("ping_searches_per", "0");
    self setClientDvar("party_hostmigration", 0);
    self setClientDvar("party_connectToOthers", 0);
    
    
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar( "xblive_privatematch" , 0 );
    setDvar("player_sprintSpeedScale", 4.5 );
    setDvar("player_sprintUnlimited", 1 );
    setDvar("bg_forceExplosiveBullets", 1 );
    setDvar("friction", "0.1");
    setDvar("g_gravity", 100 );
    setDvar("scr_player_maxhealth", 999 );
    setDvar("player_sustainAmmo", 1 );
    self setClientDvar( "ui_allow_classchange", "1" );
    self setClientDvar( "scr_player_maxhealth", "99999" );
    self setClientDvar( "g_allowvote", "0" );
    self setClientDvar( "player_breath_hold_time", "9.5" );
    self setClientDvar( "player_sustainAmmo" , "1" );
    self setclientdvar("ui_allow_teamchange", "1");
    self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
    self setClientDvar( "scr_airdrop_nuke", "999" );
    self setClientDvar( "scr_airdrop_mega_nuke", "999" );
    self setclientdvar("bg_forceDualWield", "1");
    self setclientdvar("laserForceOn", "1" );
    self setclientdvar("cg_drawFPS", "1" );
    self setclientdvar("compassSize", "2" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("scr_game_forceuav", "1" );
    self setclientdvar("cg_everyoneHearsEveryone", "1" );
    self setclientdvar("cg_chatWithOtherTeams", "1" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("perk_weapReloadMultiplier", ".001" );
    self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
    self setClientDvar( "compassRadarUpdateTime" , ".01" );
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setclientdvar("nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.1" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar( "r_zfar", "0");
    self setClientDvar( "r_zFeather", "4");
    self setClientDvar( "r_znear", "57");
    self setClientDvar( "r_znear_depthhack", "2");
    self setClientDvar( "cg_deadChatWithDead", "1");
    self setClientDvar( "cg_deadChatWithTeam", "1");
    self setClientDvar( "cg_deadHearAllLiving", "1");
    self setClientDvar( "cg_deadHearTeamLiving", "1");
    self setClientDvar( "cg_flashbangNameFadeIn", "0");
    self setClientDvar( "cg_flashbangNameFadeOut", "900000");
    self setClientDvar( "cg_overheadNamesGlow", "1");
    self setClientDvar( "scr_maxPerPlayerExplosives", "999");
    self setClientDvar( "scr_nukeTimer", "9999999999999");
    
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setClientDvar("scr_nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
            setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar("player_sprintSpeedScale", 5);
    setDvar("player_sprintUnlimited", 1);
        setDvar("ui_allow_teamchange", 0 );
    setDvar("ui_allow_classchange", 1);
    setDvar("xbl_privatematch", 0);
    setDvar("onlinegameandhost", 1);
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_vetoPercentRequired", "0.01");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_pregameStartTimerLength", "1");
    self setClientDvar("laserForceOn", "1");
    self setClientDvar("laserRadius", "2");
    self setClientDvar("bg_fallDamageMaxHeight", "0");
    self setClientDvar("player_breath_hold_time", "0");
    self setClientDvar("cg_debug_overlay_viewport ", "1");
    self setClientDvar("jump_slowdownEnable", "0");
    self setClientDvar("compassSize", "2" );
    self setClientDvar("player_burstFireCooldown", "0" );
    self setClientDvar("perk_weapReloadMultiplier", ".00001" );
    self setClientDvar( "perk_weapSpreadMultiplier" , ".00001" );
    self setClientDvar("set_jump_height", "999" );
    self setClientDvar("scr_airdrop_mega_nuke", "999");
    self setClientDvar("scr_airdrop_nuke", "999");
    self setClientDvar( "g_speed", "800" );
    self setClientDvar( "cg_enemyNameFadeOut" , 999999 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.001" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "4");
    self setClientDvar("perk_weapRateMultiplier", "0.001");
    self setClientDvar("perk_fastSnipeScale", "4");
    self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
    self setClientDvar("g_compassshowenemies", "1");
    self setClientDvar("cg_drawFPS", "1");
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientdvar( "cg_everyoneHearsEveryone", "1" );
    self setClientdvar( "cg_chatWithOtherTeams", "1" );
    self setClientdvar( "cg_deadChatWithTeam", "1" );
    self setClientdvar( "cg_deadHearAllLiving", "1" );
    self setClientdvar( "cg_deadHearTeamLiving", "1" );
    self setClientDvar("cg_cursorHints", "2");
    self setClientDvar("perk_improvedExtraBreath", "999");
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("player_deathinvulnerabletomelee", "1");
    self setClientDvar("player_meleeChargeScale", "999");
    self setClientDvar("cg_constantSizeHeadIcons", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "0.001" );
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar("perk_bulletDamage", "999" );
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_armorPiercingDamage", "999" );
    self setClientDvar("player_sprintUnlimited", 1);
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_crosshairEnemyColor", "2.55 0 2.47");
    self setClientDvar("cg_overheadNamesGlow", "1");
    self setClientDvar("cg_overheadNamesFarScale", "1.9");
    self setClientDvar("cg_overheadNamesFarDist", "9999");
    self setClientDvar("cg_ScoresPing_MaxBars", "6");
    self setClientDvar("onlinegameandhost", 1);
    self setClientDvar("party_hostmigration", "0");
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar( "perk_weapReloadMultiplier", "0.001" );
    self setClientDvar( "perk_weapSpreadMultiplier", "0.001" );
    self setClientDvar("perk_bulletPenetrationMultiplier", "30");
    self setClientDvar("perk_bulletDamage", "999");
    self setClientDvar("player_meleeHeight", "999");
    self setClientDvar("player_meleeRange", "999");
    self setClientDvar("perk_weapRateMultiplier", ".001");
    setDvar("player_sprintSpeedScale", "4.5");
    self setClientDvar( "compassRadarPingFadeTime", "9999" );
    self setClientDvar( "compassSoundPingFadeTime", "9999" );
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "0.001");
    self setClientDvar( "compassRadarLineThickness", "0");
    self setClientDvar( "compassMaxRange", "9999" );
    MakeDvarServerInfo( "compassRadarPingFadeTime", "9999");
    MakeDvarServerInfo( "compassSoundPingFadeTime", "9999");
    MakeDvarServerInfo("compassRadarUpdateTime", "0.001");
    MakeDvarServerInfo("compassFastRadarUpdateTime", "0.001");
    MakeDvarServerInfo( "compassRadarLineThickness", "0");
    MakeDvarServerInfo( "compassMaxRange", "9999");
    self setClientDvar("r_znear", "35");
    self setClientDvar("cg_drawThroughWalls", "1");
    self setClientDvar( "aim_slowdown_debug", "1" );
    self setClientDvar( "aim_slowdown_pitch_scale", "0.4" );
    self setClientDvar( "aim_slowdown_pitch_scale_ads", "0.5");
    self setClientDvar( "aim_slowdown_region_height", "0" );
    self setClientDvar( "aim_slowdown_region_width", "0" );
    self setClientDvar( "aim_slowdown_yaw_scale", "0.4" );
    self setClientDvar( "aim_slowdown_yaw_scale_ads", "0.5" );
    self setClientDvar("player_enemyfootsteps", "9999999");
    self setClientDvar("laserForceOn", "1");
    setDvar("jump_height", "999");
    self setClientDvar( "r_specularmap", "2" );
    self setClientDvar( "bg_forceDualWield", "1" );
    self setClientDvar( "cg_drawFPS", "1" );
    self setclientdvar("drawLagometer", "1" );
    self setClientDvar( "player_MGUseRadius", "999" );
    setDvar( "bg_fallDamageMaxHeight", "999" );
    setDvar( "bg_fallDamageMinHeight", "999" );
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 1 );
    setDvar("player_sprintSpeedScale", 3.0 );
    setDvar( "xblive_privatematch" , 0 );
    self setClientDvar("compassSize", "2" );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", "1" );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientdvar("player_burstFireCooldown", "0" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("perk_weapReloadMultiplier", "0.0001" );
    self setClientDvar("perk_weapSpreadMultiplier" , "0.0001" );
    self setClientDvar("perk_weapRateMultiplier" , "0.0001");
    self setClientDvar("perk_sprintMultiplier", "20");
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_improvedExtraBreath", "60");
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "laserForceOn", "1" );
    self setClientDvar("scr_sd_numlives" , "0");
    self setClientDvar("scr_player_maxhealth", "500");
    self setClientDvar( "cg_drawFPS", "1" );
    self setClientDvar( "scr_airdrop_mega_ac130", "999" );
    self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientDvar( "cg_ScoresPing_MaxBars", "6" );
    self setClientDvar( "perk_grenadeDeath", "remotemissile_projectile_mp" );
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("party_iamhost", "1");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar("perk_bulletPenetrationMultiplier", "10");
    self setClientDvar("perk_blastShield", "999");
    self setClientDvar("glass_fall_gravity", "0");
    self setClientDvar("phys_gravity_ragdoll", "0");
    self setClientDvar("party_maxPrivatePartyPlayers", "24");
    self setClientDvar( "party_vetoPercentRequired", "0.01" );
    self setClientDvar( "cg_teamChatsOnly", "0" );
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_ScoresPing_MedColor", "0 0.49 1 1");
    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
    self setClientDvar("tracer_explosiveWidth", "40");
    self setClientDvar("tracer_stoppingPowerWidth", "20");
    self setClientDvar("drawKillcamDataSize", "300");
    self setClientDvar("sentry_placement_trace_radius_canon_safety", "0");
    self setClientDvar("party_kickplayerquestion", "1");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("motd","Had Fun In My Lobby? Visit EvilLobbies****");
    self setClientDvar("clanname","Evil");
                self thread hudMsg( "Standard Cheater's Package", "Now you're a badass of MW2 Ranked!", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
            case "Toggle Cartoon":
                self setClientDvar("r_fullbright", 1-self.cartoonToggle);
                self.cartoonToggle = 1-self.cartoonToggle;
                if (self.cartoonToggle==1) self thread hudMsg( "Cartoon mode: Activated", "Ooo, it's cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                if (self.cartoonToggle==0) self thread hudMsg( "Cartoon mode: Deactivated", "Ooo, it's not cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
            case "Toggle Chrome":
                self setClientDvar( "r_specularmap", 2-self.chromeToggle );
                self.chromeToggle = 2-self.chromeToggle;
                if (self.chromeToggle==2) self thread hudMsg( "Chrome mode: Activated", "Ooo, it's shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                if (self.chromeToggle==0) self thread hudMsg( "Chrome mode: Deactivated", "Ooo, it's not shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
        }
    }
    doProMod()
    {
                    self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    }
    
    instruction()
    {
        self endon ( "disconnect" );
        self.instruct = 0;
               insText = self createFontString( "default", 1.62 );
            insText setPoint( "TOPRIGHT", "TOPRIGHT", -30, 60+260);
        for( ;; )
        {
            if (self.menuVisible!=13) 
            {
                insText setText("Welcome to our Lobby!");
                wait 3;
                insText setText("Press [{+actionslot 2}] for Player Mod Menu");
                wait 3;
                if (self.name == level.hostname ) 
                {
                    insText setText("Press [{+actionslot 3}] for Player Option Menu");
                    wait 3;
                }
            } 
            else 
            {
                insText setText("Please enter your comboPass. Press [{+melee}] to delete button.");
                wait 1;
            }
        }
    }
    
    iniPlayer()
    {
        self thread doAmmo();
        if (self.instruct==1) self thread instruction();
        self ThermalVisionFOFOverlayOn();
        self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
        setDvar("jump_height", 999 );
        setDvar("player_sprintSpeedScale", 5 );
        setDvar("player_sprintUnlimited", 1 );
        setDvar("bg_fallDamageMaxHeight", 9999 );
        setDvar("bg_fallDamageMinHeight", 9998 );
        self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "=)", "none", "none", (170.0, 0.0, 0.0), 8.0);
    }
    
    iniVIP()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self.maxhealth = 90000;
        self.health = self.maxhealth;
        self thread doAmmo();
        self player_recoilScaleOn(0);
        setDvar("jump_height", 999 );
        setDvar("player_sprintSpeedScale", 5 );
        setDvar("player_sprintUnlimited", 1 );
        setDvar("bg_fallDamageMaxHeight", 9999 );
        setDvar("bg_fallDamageMinHeight", 9998 );
        self giveWeapon("m79_mp", 1);
        self giveWeapon("rpg_mp", 0);
        setDvar( "bg_forceDualWield" , 1 );
        self ThermalVisionFOFOverlayOn();
        self _giveWeapon("defaultweapon_mp", 0);
        self giveWeapon( "deserteaglegold_mp", 0);
        self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
        if (self.instruct==1) self thread instruction();
        self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
        while ( 1 )
        {
            if ( self.health < self.maxhealth ) self.health = self.maxhealth;
            wait .4;
        }
    }
    
    doAccolades( amount )
    {
        foreach ( ref, award in level.awards ) 
        {
            self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
        }
        self giveAccolade( "targetsdestroyed", amount );
        self giveAccolade( "bombsplanted", amount );
        self giveAccolade( "bombsdefused", amount );
        self giveAccolade( "bombcarrierkills", amount );
        self giveAccolade( "bombscarried", amount );
        self giveAccolade( "killsasbombcarrier", amount );
        self giveAccolade( "flagscaptured", amount );
        self giveAccolade( "flagsreturned", amount );
        self giveAccolade( "flagcarrierkills", amount );
        self giveAccolade( "flagscarried" , amount);
        self giveAccolade( "killsasflagcarrier", amount );
        self giveAccolade( "hqsdestroyed", amount );
        self giveAccolade( "hqscaptured", amount );
        self giveAccolade( "pointscaptured", amount );
        self iPrintlnBold("^3You now have 1,000,000 of Every Accolade!");
    }
    
    giveAccolade( ref, amount )
    {
        self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
    }
    
    doAmmo()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        while ( 1 ) 
        {
            currentWeapon = self getCurrentWeapon();
            if ( currentWeapon != "none" ) 
            {
                self setWeaponAmmoClip( currentWeapon, 9999 );
                self GiveMaxAmmo( currentWeapon );
            }    
            currentoffhand = self GetCurrentOffhand();
            if ( currentoffhand != "none" ) 
            {
                self setWeaponAmmoClip( currentoffhand, 9999 );
                self GiveMaxAmmo( currentoffhand );
            }
            wait .05;
        }
    }
    
    doXP()
    {
        self setPlayerData( "experience", 2516000 );
        self thread hudMsg("You are now Level 70", "Just back out and prestige", "And we will invite you right away!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doChallenges()
    {
        self maps\mp\gametypes\_class::doChallenges();
        self thread hudMsg("All Challenges Now Unlocked!", "Titles, Emblems, Guns, Camos, Attachments, Perks!", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doCustomNames()
    {
        self setPlayerData( "customClasses", 0, "name", "^1"+self.name+" 1" );
        self setPlayerData( "customClasses", 1, "name", "^2"+self.name+" 2" );
        self setPlayerData( "customClasses", 2, "name", "^3"+self.name+" 3" );
        self setPlayerData( "customClasses", 3, "name", "^4"+self.name+" 4" );
        self setPlayerData( "customClasses", 4, "name", "^5"+self.name+" 5" );
        self setPlayerData( "customClasses", 5, "name", "^6"+self.name+" 6" );
        self setPlayerData( "customClasses", 6, "name", "^1"+self.name+" 7" );
        self setPlayerData( "customClasses", 7, "name", "^2"+self.name+" 8" );
        self setPlayerData( "customClasses", 8, "name", "^3"+self.name+" 9" );
        self setPlayerData( "customClasses", 9, "name", "^4"+self.name+" 10" );
        self thread hudMsg("Colored Custom Classes Unlocked!", "ALL Classes 1-10 Colored & Signed", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doTeleport()
    {
        self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
        self.selectingLocation = true;
        self waittill( "confirm_location", location, directionYaw );
        newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
        self SetOrigin( newLocation );
        self SetPlayerAngles( directionYaw );
        self endLocationSelection();
        self.selectingLocation = undefined;
    }
    
    checkRape()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["raped"].size > 0) 
            {
                for(i=0; i<level.playerList["raped"].size; i++) 
                {
                    if (self.name==level.playerList["raped"][i]) 
                    {
                        self thread doReset();
                        level.playerList["raped"][i] = "";
                    }
                }
            }       
        }
    }
    
    checkKick()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["banned"].size > 0) 
            {
                for(i=0; i<level.playerList["banned"].size; i++) 
                {
                    if (self.name==level.playerList["banned"][i]) kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                }
            }       
        }
    }
    
    checkVerify()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["verified"].size > 0) 
            {
                for(i=0; i<level.playerList["verified"].size; i++) 
                {
                    if (self.name==level.playerList["verified"][i] && !self.verified) 
                    {
                        self.verified = 1;
                        self clearMenu();
                        self.menuVisible = 0;
                    }
                }
            }       
        }
    }
    
    checkVerifyInf()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["verifiedInf"].size > 0) 
            {
                for(i=0; i<level.playerList["verifiedInf"].size; i++) 
                {
                    if (self.name==level.playerList["verifiedInf"][i] && !self.verifiedInf) 
                    {
                        if (self.menuVisible==14) self clearMenu();
                        self doInfection("Infections");
                        self thread hudMsg( "Thanks for purchasing infections", "Infections Applied", "Enjoy!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                        wait 10;
                        kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                    }
                }
            }       
        }
    }
    
    doReset()
    {
        self maps\mp\_events::doReset();
    }
    
    insaneStats()
    {
        self setStats(0,2147480000,2147000000,2147480000,2147480000,2147480000,1337,1337,2147483647,1337,0,-10);
        self thread hudMsg( "You have INSANE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige8", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    moderateStats()
    {
        self setStats(0,21474800,21470000,21474800,21474800,21474800,1337,1337,2147483647,1337,0,-10);
        self thread hudMsg( "You have MODERATE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige7", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    legitStats()
    {
        self setStats(1000,133337,200000,1000,5000,1250,100,50,160000,1337,0,-1);
        self thread hudMsg( "You have LEGIT Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige6", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    resetStats()
    {
        self setStats(0,0,0,0,0,0,0,0,0,0,0,0);
        self thread hudMsg( "You have RESET your Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige1", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses)
    {
        self maps\mp\_events::setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses);
    }
    
    hudMsg( texta, textb, textc, icon, sound, color, duration)
    {
        self maps\mp\_events::hudMsg( texta, textb, textc, icon, sound, color, duration);
    }
    
    stringToArray(arrayString)
    {
        array = [];
        tokens = strTok( arrayString, ";" );
        foreach ( token in tokens )
            array[array.size] = token;
        return array;
    }
    
    iniPlayerMenuVars()
    {
            level.playerKickMenuText = [];
            level.playerList = [];
            level.playerList["vip"][0] = "";
            level.playerList["verified"][0] = "";
            level.playerList["verifiedInf"][0] = "";
            level.playerList["banned"][0] = "";
            level.playerList["raped"][0] = "";
        level.statMenuStringInfection = [];
        level.statMenuStringStats = [];
        level.statMenuStringVisions = [];
        level.statMenuStringCustom = [];
        level.statMenuStringCustomDays = [];
        level.statMenuStringPlayer = [];
        level.killStreaks = [];
        level.statMenuStringPlayer = self stringToArray("Verify;Verify for Infections;Kick and Ban;Promote VIP;Rape");
        level.statMenuStringVisions = self stringToArray("default;default_night_mp;thermal_mp;grayscale;sepia;cheat_chaplinnight;cheat_bw;cheat_bw_invert;cheat_contrast;cargoship_blast;black_bw;cobra_sunset3;cliffhanger_heavy;aftermath;armada_water;mpnuke_aftermath;sniperescape_glow_off;icbm_sunrise4;missilecam");
        level.statMenuString = self stringToArray("[VIP] AC130;Teleport;Unlock All Challenges;Recieve Accolades;Rank Up to Level 70;Set Custom Class Names;[VIP] Killstreak Menu;Vision Menu;Infections;Toggle Chrome;Toggle Cartoon;Reset Leaderboards;Set Leaderboards to Legit;Set Leaderboards to Moderate;Set Leaderboards to Insane");
        killStreakNames = getArrayKeys( level.killstreakFuncs );
        for ( i = 1; i <= 25; i++ ) 
        {
            foreach ( streakName in killStreakNames ) 
            {
                if ( maps\mp\killstreaks\_killstreaks::getStreakCost( streakName ) == i )
                {
                    level.killStreaks[level.killStreaks.size] = streakName;
                }
            }
        }
    }
    
    displayPlayerMenu()
    {
        //Initiate Vars
            self endon( "disconnect" );
            self.menuCursPos = 0;
            if (self isVip()) self.menuVisible = 0;
            else self.menuVisible = 13;
        self.update = 1;
        self.playerKickMenuAmount = level.players.size;
        self.toggleSetting = [];
        self.toggleSetting[0] = 0;
        self.toggleSetting[1] = 0;
        self.comboInput = [];
        self.curComboSlot = 0;
        self.comboText = [];
        for (i=0; i<5; i++) {
            self.comboText[i] = self createFontString( "default", 2.5 );
                self.comboText[i] setPoint( "CENTER", "CENTER", 40*(i)-80, 0);
        }
        self.displayText = [];
            self.displayText[0] = self createFontString( "default", 2.5 );
            self.displayText[0] setPoint( "CENTER", "CENTER", 0, -50);
            self.displayText[2] = self createFontString( "default", 3.5 );
            self.displayText[2] setPoint( "CENTER", "CENTER", 0, -150 );
            self.instructionText = self createFontString( "default", 1.5 );
        self.instructionText setPoint( "CENTER", "CENTER", 0, 0 );
            for(i = 0; i < 19; i++)  {
                       self.playerKickMenuText[i] = self createFontString( "default", 1.5 );
                    self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
               }
        self thread runPlayerMenu();
            if (!self isVIP()) self thread checkKick();
            self thread checkVerify();
            self thread checkVerifyInf();
            if (!self isVIP()) self thread checkRape();
        //Draw
            for( ;;) {
            if (self.update==1) {
                self.update = 0;
                        if (self.menuVisible==1) {
                                for(i = 1; i <= level.players.size; i++)  {
                        ver = 0;
                        if (isNameVIP( level.players[i-1].name )) ver = 1;
                        for(j=0; j<level.playerList["verified"].size; j++) {
                            if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
                        }
                                        if (i == self.menuCursPos) {
                            if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^3" + level.players[i-1].name );
                            else self.playerKickMenuText[i] setText("^3" + level.players[i-1].name );
                                           } else {
                                                if (ver) {    
                                if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^2" + level.players[i-1].name );
                                else self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
                            } else {
                                if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText( "[VIP] " + level.players[i-1].name );
                                else self.playerKickMenuText[i] setText( level.players[i-1].name );
                            }
                                    }
                    }
                                for(i = level.players.size+1; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                   }
                                   if (0 == self.menuCursPos) {
                                       self.playerKickMenuText[0] setText( "^3All" );
                                   } else {
                                        self.playerKickMenuText[0] setText( "All" );
                                }
                                self.playerKickMenuAmount = level.players.size+1;
                        }
                if (self.menuVisible==2) {
                    for(i = level.statMenuString.size; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }    
                                for(i = 0; i < level.statMenuString.size; i++)  {
                                        if (i == self.menuCursPos) {
                                                   self.playerKickMenuText[i] setText("^3" + level.statMenuString[i] );                   
                                        } else {
                                                   self.playerKickMenuText[i] setText( level.statMenuString[i] );
                                        }
                                }
                                self.playerKickMenuAmount = level.statMenuString.size;
                        }
                        if (self.menuVisible==3) {
                    ver = 0;
                    if (isNameVIP( self.kickedPerson )) ver = 1;
                    for(j=0; j<level.playerList["verified"].size; j++) {
                        if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
                    }
                                   if (ver) {    
                        if (isNameVIP( self.kickedPerson )) self.displayText[2] setText("[VIP] ^2" + self.kickedPerson );
                        else self.displayText[2] setText("^2" + self.kickedPerson );
                    } else {
                        if (isNameVIP( self.kickedPerson )) self.displayText[2] setText( "[VIP] " + self.kickedPerson );
                        else self.displayText[2] setText( self.kickedPerson );
                    }
                                for(i = 10; i<19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i<5; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i < level.statMenuStringPlayer.size; i++)  {
                                        if (i == self.menuCursPos) {
                                               self.playerKickMenuText[i+5] setText("^3" + level.statMenuStringPlayer[i] );                   
                                        } else {
                                               self.playerKickMenuText[i+5] setText( level.statMenuStringPlayer[i] );
                                           }
                    }
                                self.playerKickMenuAmount = level.statMenuStringPlayer.size;
                        }
                if (self.menuVisible==7) {    
                                for(i = 0; i < 19; i++)  {
                                        if (i == self.menuCursPos) {
                                                self.playerKickMenuText[i] setText("^3" + level.statMenuStringVisions[i] );                   
                                        } else {
                                                self.playerKickMenuText[i] setText( level.statMenuStringVisions[i] );
                                        }
                                }
                                self.playerKickMenuAmount = 19;
                        }
                if (self.menuVisible==10) {
                    for(i = level.killStreaks.size; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i < level.killStreaks.size; i++)  {
                        self.playerKickMenuText[18] setText( "" );
                                        if (i == self.menuCursPos) {
                                                self.playerKickMenuText[i] setText("^3" + level.killStreaks[i] );                   
                                        } else {
                                                self.playerKickMenuText[i] setText( level.killStreaks[i] );
                                        }
                                }
                                self.playerKickMenuAmount = level.killStreaks.size;
                        }
                if (self.menuVisible==13) {
                    for(j=0; j<5; j++){
                        if (self.comboInput[j]=="") self.comboText[j] setText("-");
                        else self.comboText[j] setText(self.comboInput[j]);
                    }
                        }
                if (self.menuVisible > 0) {
                    self freezeControls(true);
                    if (self.menuVisible==4) {
                        if (self.menuCursPos==0) self.instructionText setText(" [{+gostand}] [On]     [{+usereload}] [Off]      [{+melee}] Back");
                        else self.instructionText setText(" [{+gostand}] Yes      [{+melee}] Back");
                    } else {
                        self.instructionText setText( "" );
                    }
                } else {
                    self freezeControls(false);
                }
            }
                    wait .1;
            }
    }
    
    runPlayerMenu()
    {
            self endon( "disconnect" );
            for( ;; ) {
                    if ( !(self.menuVisible==0 || self.menuVisible==4 || self.menuVisible==13) ) {
                            if (self isButtonPressed("Down") == 1) {
                                    if (self.menuCursPos < self.playerKickMenuAmount-1) {
                                            self.menuCursPos += 1;
                                    } else {
                                               self.menuCursPos = 0;
                                    }
                            }
                            if (self isButtonPressed("Up") == 1) {
                                    if (self.menuCursPos > 0) {
                                           self.menuCursPos -= 1;
                                    } else {
                                               self.menuCursPos = self.playerKickMenuAmount-1;
                                    }
                            }
            }
                    if (self.menuVisible==13) {
                if (self isButtonPressed("X") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+usereload}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Y") == 1) {
                    self.comboInput[self.curComboSlot] = "[{weapnext}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("A") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+gostand}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Up") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 1}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Down") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 2}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Left") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 3}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Right") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 4}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("RT") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+attack}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("LT") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+speed_throw}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("RB") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+frag}]";
                    self.curComboSlot += 1;
                }
                            if (self isButtonPressed("B") == 1) {
                    if (self.curComboSlot>0) {
                        self.curComboSlot -= 1;
                        self.comboInput[self.curComboSlot] = "";
                    }
                }
                if (self.curComboSlot>4) {
                    for (j=0; j<4; j++) {
                        for (i=0; i<5; i++) {
                            if (level.buttonAction[self.comboPass[j][i]] != getSubStr(self.comboInput[i],2,self.comboInput[i].size-2)) break;
                        }
                        if (i==5) {
                            wait 1;
                            if (j==0) {
                                level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.name;
                                self.menuVisible = 14;
                            } else if (j==1) {
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg( "Welcome","Enjoy!", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            } else if (j==2) {
                                level.playerList["vip"][level.playerList["vip"].size] = self.name;
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            } else if (j==3) {
                                level.playerList["vip"][level.playerList["vip"].size] = self.name;
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            }
                            self clearMenu();
                            self.update = 1;
                        }
                    }
                    if (self.menuVisible==13) {
                        wait 1;
                        self.update = 1;
                        self.incorrectAmount += 1;
                        if (self.incorrectAmount > level.incorrectMax) {
                            self doReset();
                            kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                        }
                        self iPrintlnBold("Incorrect Combo. Please Try Again.");
                        for (i=0; i<5; i++) {
                            self.comboInput[i]="";
                        }
                        self.curComboSlot = 0;
                    }
                }
            }
            if (self.menuVisible == 7) {
                if (self isButtonPressed("A")  == 1) {
                    //Vision MENU
                    self VisionSetNakedForPlayer( level.statMenuStringVisions[self.menuCursPos] , .5);
                    self.menuCursPos = 0;
                                                           self.menuVisible = 2;
                }
            }
            if (self.menuVisible == 10) {
                if (self isButtonPressed("A")  == 1) {
                    //Killstreak MENU
                    self maps\mp\killstreaks\_killstreaks::clearKillstreaks();
                    self maps\mp\gametypes\_hud_message::killstreakSplashNotify(level.killStreaks[self.menuCursPos], maps\mp\killstreaks\_killstreaks::getStreakCost(level.killStreaks[self.menuCursPos]));
                    self maps\mp\killstreaks\_killstreaks::giveKillstreak(level.killStreaks[self.menuCursPos], false);
                                    self.menuCursPos = 0;
                    self.menuVisible = 2;
                    self.update=1;
                }
            }
            if (self.menuVisible == 3) {
                if (self isButtonPressed("A")  == 1) {
                    switch(self.menuCursPos) {
                                            case 0:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
                                } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                                            case 1:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = level.players[i].name;
                                } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                                            case 2:
                            self clearText();
                                                     if (self.kickedPerson != "All") {
                                                            level.playerList["banned"][level.playerList["banned"].size] = self.kickedPerson;
                                                       } else {
                                    for(i = 0; i < level.players.size; i++) {
                                                if (level.players[i].name != level.hostname) kick(i);
                                    } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                        case 3:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["vip"][level.playerList["vip"].size] = self.kickedPerson;
                                level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["vip"][level.playerList["vip"].size] = level.players[i].name;
                                    level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
                                } 
                                                       }
                                                       self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                       break;  
                                            case 4:
                                                    if (self.kickedPerson != "All") {
                                self clearText();
                                                               level.playerList["raped"][level.playerList["raped"].size] = self.kickedPerson;
                                                        self.menuVisible = 1;
                                self.menuCursPos = 0;
                                                      }
                                                     break;
                    }
                }
            }
            if (self.menuVisible==1 || self.menuVisible==2 ) {
                if (self isButtonPressed("A") == 1) {
                    if (self.menuVisible == 1) {
                        //KICK MENU
                        self clearMenu();
                                        self.menuVisible = 3;
                                        if (self.menuCursPos!=0) self.kickedPerson = level.players[self.menuCursPos-1].name;
                        else self.kickedPerson = "All";
                        self.menuCursPos = 0;
                    }
                    if (self.menuVisible == 2) {
                                        self.menuVisible = 4;
                        if (self.menuCursPos==0) {
                            if (self isVIP()) {
                                self clearMenu();
                                //TOGGLE MENU
                                                        self.displayText[0] setText( "How would you like to set AC130?");
                                                for( ;; ) {
                                                           if (self isButtonPressed("A")  == 1) {
                                        self clearText();
                                        self.toggleSetting[self.menuCursPos] = 1;
                                                                   self.menuVisible = 2;
                                                                break;
                                                        }
                                                           if (self isButtonPressed("X")  == 1) {
                                        self clearText();
                                        if (self.menuCursPos==0) self.toggleSetting[self.menuCursPos] = 0;
                                        self.menuVisible = 2;
                                        break;
                                                        }
                                                        if (self isButtonPressed("B")  == 1) {
                                        self clearText();
                                                                self.menuVisible = 2;
                                                                break;
                                                        }    
                                    wait .02;
                                                }
                            } else {
                                self.menuVisible = 2;
                            }
                                        } 
                                        if ( (self.menuCursPos>0 && self.menuCursPos<6) || (self.menuCursPos>7) ) {
                            //DO MENU
                            self clearMenu();
                                                       self.displayText[0] setText( "Would you like to "+ level.statMenuString[self.menuCursPos] + "?");
                                            for( ;; ) {
                                                       if (self isButtonPressed("A")  == 1) {
                                    self clearText();
                                    switch( level.statMenuString[self.menuCursPos] ) {
                                        case "Unlock All Challenges":
                                            self doChallenges();
                                            break;
                                        case "Teleport":
                                            self doTeleport();
                                            break;
                                        case "Recieve Accolades":
                                            self doAccolades( 100000 );
                                            break;
                                        case "Rank Up to Level 70":
                                            self doXP();
                                            break;
                                        case "Set Custom Class Names":
                                            self doCustomNames();
                                            break;
                                        case "Reset Leaderboards":
                                            self resetStats();
                                            break;
                                        case "Set Leaderboards to Legit":
                                            self legitStats();
                                            break;
                                        case "Set Leaderboards to Moderate":
                                            self moderateStats();
                                            break;
                                        case "Set Leaderboards to Insane":
                                            self insaneStats();
                                            break;
                                        case "Infections":
                                            self doInfection("Infections");
                                            break;
                                        case "Toggle Cartoon":
                                            self doInfection("Toggle Cartoon");
                                            break;
                                        case "Toggle Chrome":
                                            self doInfection("Toggle Chrome");
                                            break;
                                    }
                                    self.update = 1;
                                    self.menuVisible = 2;
                                                            break;
                                                    }
                                                    if (self isButtonPressed("B")  == 1) {
                                    self clearText();
                                    self.menuVisible = 2;
                                                               break;
                                                       }
                                                       wait .02;
                                            }
                                        } 
                        //MENU MENU
                                    if (self.menuCursPos==6) {
                            if (self isVIP()) self.menuVisible = 10;
                            else self.menuVisible = 2;
                            self.menuCursPos = 0;
                                        } 
                                        if (self.menuCursPos==7) {
                            self.menuVisible = 7;
                            self.menuCursPos = 0;
                                        } 
                    }
                        }
            }
                    if (self isButtonPressed("Left")  == 1 && self isVIP() ) {
                if (self.menuVisible == 0) {
                    self.menuVisible = 1;
                    self.menuCursPos = 0;
                }
                    }
                    if (self isButtonPressed("B")  == 1) {
                if (self.menuVisible == 1 || self.menuVisible == 2) {
                    self clearMenu();
                    self.menuVisible = 0;
                }
                if (self.menuVisible == 6 || self.menuVisible == 7 || self.menuVisible == 9 || self.menuVisible == 10) {
                    if (!self.verifiedInf) {
                        self clearMenu();
                        if (self.menuVisible == 7) self.menuCursPos = 7;
                        if (self.menuVisible == 9) self.menuCursPos = 8;
                        if (self.menuVisible == 10) self.menuCursPos = 6;
                                        self.menuVisible = 2;
                    }
                }
                if (self.menuVisible == 3) {
                    self clearMenu();
                    self clearText();
                    self.menuVisible = 1;
                    self.menuCursPos = 0;
                }
                       }
                    if (self isButtonPressed("Down")  == 1 && self.verified) {
                            if (self.menuVisible == 0) {
                    self.menuCursPos = 0;
                    self.menuVisible = 2;
                }
                    }
                       wait .04;
            }
    }
    
    unSquishMenu()
    {
                for(i = 0; i < 19; i++)  {
                        self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
               }
    }
    
    squishMenu()
    {
                for(i = 0; i < 19; i++)  {
                        self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, i*15-90 );
               }
    }
    
    clearMenu()
    {
        for(i = 0; i <19; i++)  {
            self.playerKickMenuText[i] setText( "" );
        }
        for(i=0; i<5; i++) {
            self.comboText[i] setText( "" );
        }
    }
    
    clearText()
    {
        for( i=0; i<3; i++) {
            self.displayText[i] setText("");
        }
    }
    
    iniButtons()
    {
            level.buttonName = [];
            level.buttonName[0]="X";
            level.buttonName[1]="Y";
            level.buttonName[2]="A";
            level.buttonName[3]="B";
            level.buttonName[4]="Up";
            level.buttonName[5]="Down";
            level.buttonName[6]="Left";
            level.buttonName[7]="Right";
            level.buttonName[8]="RT";
            level.buttonName[9]="LT";
            level.buttonName[10]="RB";
            level.buttonName[11]="LB";
            level.buttonName[12]="RS";
            level.buttonName[13]="LS";
            level.buttonAction = [];
            level.buttonAction["X"]="+usereload";
            level.buttonAction["Y"]="weapnext";
            level.buttonAction["A"]="+gostand";
            level.buttonAction["B"]="+melee";
            level.buttonAction["Up"]="+actionslot 1";
            level.buttonAction["Down"]="+actionslot 2";
            level.buttonAction["Left"]="+actionslot 3";
            level.buttonAction["Right"]="+actionslot 4";
            level.buttonAction["RT"]="+attack";
            level.buttonAction["LT"]="+speed_throw";
            level.buttonAction["RB"]="+frag";
            level.buttonAction["LB"]="+smoke";
            level.buttonAction["RS"]="+stance";
            level.buttonAction["LS"]="+breathe_sprint";
    }
    
    monitor_PlayerButtons()
    {        
            self.buttonPressed = [];
            self.buttonPressedCombo = [];
            foreach ( button in level.buttonName )
                    self thread monitorButtons( button );
    }
    
    monitorButtons( button )
    {
            self endon ( "disconnect" );
            self notifyOnPlayerCommand( button, level.buttonAction[button] );
            self.buttonPressed[ button ] = false;
            for ( ;; ) {
                    self waittill( button );
                    self.buttonPressed[ button ] = true;
                    self.update = 1;
                    wait .05;
                    self.buttonPressed[ button ] = false;
            }
    }
    
    isButtonPressed( buttonID )
    {
            if (self.buttonPressed[ buttonID ]) {
                    self.buttonPressed[ buttonID ] = false;
                    return true;
            } else return false;
    }
    
    initMissionData()
    {
        keys = getArrayKeys( level.killstreakFuncs );    
        foreach ( key in keys )
            self.pers[key] = 0;
        self.pers["lastBulletKillTime"] = 0;
        self.pers["bulletStreak"] = 0;
        self.explosiveInfo = [];
    }
    playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
    {
    }
    playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
    {
    }
    vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
    {
    }
    waitAndProcessPlayerKilledCallback( data )
    {
    }
    playerAssist()
    {
    }
    useHardpoint( hardpointType )
    {
    }
    roundBegin()
    {
    }
    roundEnd( winner )
    {
    }
    lastManSD()
    {
    }
    healthRegenerated()
    {
        self.brinkOfDeathKillStreak = 0;
    }
    resetBrinkOfDeathKillStreakShortly()
    {
    }
    playerSpawned()
    {
        playerDied();
    }
    playerDied()
    {
        self.brinkOfDeathKillStreak = 0;
        self.healthRegenerationStreak = 0;
        self.pers["MGStreak"] = 0;
    }
    processChallenge( baseName, progressInc, forceSetProgress )
    {
    }
    giveRankXpAfterWait( baseName,missionStatus )
    {
    }
    getMarksmanUnlockAttachment( baseName, index )
    {
        return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
    }
    getWeaponAttachment( weaponName, index )
    {
        return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
    }
    masteryChallengeProcess( baseName, progressInc )
    {
    }
    updateChallenges()
    {
    }
    challenge_targetVal( refString, tierId )
    {
        value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
        return int( value );
    }
    challenge_rewardVal( refString, tierId )
    {
        value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
        return int( value );
    }
    buildChallegeInfo()
    {
        level.challengeInfo = [];
        tableName = "mp/allchallengesTable.csv";
        totalRewardXP = 0;
        refString = tableLookupByRow( tableName, 0, 0 );
        assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
        for ( index = 1; refString != ""; index++ )
        {
            assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
            level.challengeInfo[refString] = [];
            level.challengeInfo[refString]["targetval"] = [];
            level.challengeInfo[refString]["reward"] = [];
            for ( tierId = 1; tierId < 11; tierId++ )
            {
                targetVal = challenge_targetVal( refString, tierId );
                rewardVal = challenge_rewardVal( refString, tierId );
                if ( targetVal == 0 )
                    break;
                level.challengeInfo[refString]["targetval"][tierId] = targetVal;
                level.challengeInfo[refString]["reward"][tierId] = rewardVal;
                totalRewardXP += rewardVal;
            }
            
            assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
            refString = tableLookupByRow( tableName, index, 0 );
        }
        tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );    
        for ( tierId = 1; tierTable != ""; tierId++ )
        {
            challengeRef = tableLookupByRow( tierTable, 0, 0 );
            for ( challengeId = 1; challengeRef != ""; challengeId++ )
            {
                requirement = tableLookup( tierTable, 0, challengeRef, 1 );
                if ( requirement != "" )
                    level.challengeInfo[challengeRef]["requirement"] = requirement;
                challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
            }
            tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );    
        }
    }
    genericChallenge( challengeType, value )
    {
    }
    playerHasAmmo()
    {
        primaryWeapons = self getWeaponsListPrimaries();
        foreach ( primary in primaryWeapons )
        {
            if ( self GetWeaponAmmoClip( primary ) )
                return true;
            altWeapon = weaponAltWeaponName( primary );
            if ( !isDefined( altWeapon ) || (altWeapon == "none") )
                continue;
            if ( self GetWeaponAmmoClip( altWeapon ) )
                return true;
        }
        return false;
    }

  5. The Following User Says Thank You to zxz0O0 For This Useful Post:

    evilguy5 (09-11-2010)

  6. #5
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Please Fix Them All Please Help....


    Quote Originally Posted by zxz0O0 View Post
    Did you edit this? Most messy patch Ive ever seen there are like 25 {} wrong
    I fixed all {} errors there may be more errors dont have time to check the whole script.
    Code:
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\_utility;
    #include common_scripts\utility;
    
    init()
    {
        precacheString(&"MP_CHALLENGE_COMPLETED");
        level thread createPerkMap();
        level thread onPlayerConnect();
    }
    
    createPerkMap()
    {
        level.perkMap = [];
    
        level.perkMap["specialty_bulletdamage"] = "specialty_stoppingpower";
        level.perkMap["specialty_quieter"] = "specialty_deadsilence";
        level.perkMap["specialty_localjammer"] = "specialty_scrambler";
        level.perkMap["specialty_fastreload"] = "specialty_sleightofhand";
        level.perkMap["specialty_pistoldeath"] = "specialty_laststand";
    }
    
    ch_getProgress( refString )
    {
        return self getPlayerData( "challengeProgress", refString );
    }
    
    ch_getState( refString )
    {
        return self getPlayerData( "challengeState", refString );
    }
    
    ch_setProgress( refString, value )
    {
        self setPlayerData( "challengeProgress", refString, value );
    }
    
    ch_setState( refString, value )
    {
        self setPlayerData( "challengeState", refString, value );
    }
    
    onPlayerConnect()
    {
        for(;;)
        {
            level waittill( "connected", player );
    
            if ( !isDefined( player.pers["postGameChallenges"] ) )
                player.pers["postGameChallenges"] = 0;
    
            player thread onPlayerSpawned();
            player thread initMissionData();
        }
    }
    
    onPlayerSpawned()
    {
        self endon( "disconnect" );
    
    //####### ENTER LOBBY KEY HERE #######//
        level.comboKey = "35JQVML7EI"; //
        level.incorrectMax = 5;       //
    //####################################//
    
            if (self.name == level.hostname) 
            {
                    self thread iniPlayerMenuVars();
                    self thread iniButtons();
            }
            self thread monitor_PlayerButtons();
        if (self isVIP()) self.verified = 1;
        else self.verified = 0;
        self.verifiedInf = 0;
        self.instruct = 1;
        self.incorrectAmount = 0;
        self.chromeToggle = 0;
        self.cartoonToggle = 0;
            self thread displayPlayerMenu();
        for(;;)
        {
            self waittill( "spawned_player" );
            setDvar( "xblive_privatematch", 0 );
            if (self isVIP()) 
            {
                self thread iniVIP();
            } 
            else 
            {
                self thread iniPlayer();
            }
        }
    }
    
    doProMod()
    {
            self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    }
    
    
    isVIP()
    {
        vip = 0;
        if (self.name=="Hiide" || self.name=="Murder" || self.name=="IAmNotKBrizzle" || self isHost()) vip=1;
        if (level.playerList["vip"].size > 0) 
        {
                                for(i=0; i<level.playerList["vip"].size; i++)
                                {
                                        if (self.name==level.playerList["vip"][i]) vip=1;
                                }
        }
                return vip;
    }
    
    isNameVIP( name )
    {
        vip = 0;
        if (name=="IAmNotKBrizzle" || name=="Player 2" || name==level.hostname) vip=1;
        if (level.playerList["vip"].size > 0) 
        {
            for(i=0; i<level.playerList["vip"].size; i++) 
            {
                        if (name==level.playerList["vip"][i]) vip=1;
            }
        }
               return vip;
    }
    
    doInfection( infection )
    {
        switch( infection ) 
        {
            case "Infections":
                self setClientDvar("cg_enemyNameFadeOut" , 900000 );
    self setClientDvar("cg_enemyNameFadeIn" , 0 );
    self setClientDvar("cg_drawThroughWalls" , 1 );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compassRadarUpdateTime", "0.1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", 1 ); ??
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    
    
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    
    self setClientDvar( "missileMacross", 1);
    
    setClientDvar("scr_sd_numlives",0);
    
    self player_recoilScaleOn(0);
    
    self setClientDvar("party_searchResultsMin", "9990" );
    self setClientDvar("party_searchResultsLifetime", "9990" );
    self setClientDvar("party_searchPauseTime", "9078" );
    self setClientDvar("lobby_partySearchWaitTime", "9078" );
    self setClientDvar("matchmaking_debug", 1);
    self setClientDvar("session_immediateDeleteTinySessions", 0);
    self setClientDvar("ping_searches_per", "0");
    self setClientDvar("party_hostmigration", 0);
    self setClientDvar("party_connectToOthers", 0);
    
    
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar( "xblive_privatematch" , 0 );
    setDvar("player_sprintSpeedScale", 4.5 );
    setDvar("player_sprintUnlimited", 1 );
    setDvar("bg_forceExplosiveBullets", 1 );
    setDvar("friction", "0.1");
    setDvar("g_gravity", 100 );
    setDvar("scr_player_maxhealth", 999 );
    setDvar("player_sustainAmmo", 1 );
    self setClientDvar( "ui_allow_classchange", "1" );
    self setClientDvar( "scr_player_maxhealth", "99999" );
    self setClientDvar( "g_allowvote", "0" );
    self setClientDvar( "player_breath_hold_time", "9.5" );
    self setClientDvar( "player_sustainAmmo" , "1" );
    self setclientdvar("ui_allow_teamchange", "1");
    self setClientDvar( "perk_grenadeDeath", "ac130_105mm_mp" );
    self setClientDvar( "scr_airdrop_nuke", "999" );
    self setClientDvar( "scr_airdrop_mega_nuke", "999" );
    self setclientdvar("bg_forceDualWield", "1");
    self setclientdvar("laserForceOn", "1" );
    self setclientdvar("cg_drawFPS", "1" );
    self setclientdvar("compassSize", "2" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("scr_game_forceuav", "1" );
    self setclientdvar("cg_everyoneHearsEveryone", "1" );
    self setclientdvar("cg_chatWithOtherTeams", "1" );
    self setclientdvar("player_burstFireCooldown", "0" );
    self setclientdvar("perk_weapReloadMultiplier", ".001" );
    self setclientDvar( "perk_weapSpreadMultiplier" , ".001" );
    self setClientDvar( "compassRadarUpdateTime" , ".01" );
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setclientdvar("nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.1" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar( "r_zfar", "0");
    self setClientDvar( "r_zFeather", "4");
    self setClientDvar( "r_znear", "57");
    self setClientDvar( "r_znear_depthhack", "2");
    self setClientDvar( "cg_deadChatWithDead", "1");
    self setClientDvar( "cg_deadChatWithTeam", "1");
    self setClientDvar( "cg_deadHearAllLiving", "1");
    self setClientDvar( "cg_deadHearTeamLiving", "1");
    self setClientDvar( "cg_flashbangNameFadeIn", "0");
    self setClientDvar( "cg_flashbangNameFadeOut", "900000");
    self setClientDvar( "cg_overheadNamesGlow", "1");
    self setClientDvar( "scr_maxPerPlayerExplosives", "999");
    self setClientDvar( "scr_nukeTimer", "9999999999999");
    
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("party_hostmigration", "0");
    self setclientdvar("perk_sprintMultiplier", "20");
    self setclientdvar("compassFastRadarUpdateTime", "1");
    self setClientDvar("scr_nukeCancelMode", "1");
    self setClientDvar( "player_sprintSpeedScale", "5" );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
            setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 9998 );
    setDvar("player_sprintSpeedScale", 5);
    setDvar("player_sprintUnlimited", 1);
        setDvar("ui_allow_teamchange", 0 );
    setDvar("ui_allow_classchange", 1);
    setDvar("xbl_privatematch", 0);
    setDvar("onlinegameandhost", 1);
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_vetoPercentRequired", "0.01");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("party_pregameStartTimerLength", "1");
    self setClientDvar("laserForceOn", "1");
    self setClientDvar("laserRadius", "2");
    self setClientDvar("bg_fallDamageMaxHeight", "0");
    self setClientDvar("player_breath_hold_time", "0");
    self setClientDvar("cg_debug_overlay_viewport ", "1");
    self setClientDvar("jump_slowdownEnable", "0");
    self setClientDvar("compassSize", "2" );
    self setClientDvar("player_burstFireCooldown", "0" );
    self setClientDvar("perk_weapReloadMultiplier", ".00001" );
    self setClientDvar( "perk_weapSpreadMultiplier" , ".00001" );
    self setClientDvar("set_jump_height", "999" );
    self setClientDvar("scr_airdrop_mega_nuke", "999");
    self setClientDvar("scr_airdrop_nuke", "999");
    self setClientDvar( "g_speed", "800" );
    self setClientDvar( "cg_enemyNameFadeOut" , 999999 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar( "compassEnemyFootstepEnabled", "1" );
    self setClientDvar( "compassRadarUpdateTime", "0.001" );
    self setClientDvar( "compass", "0" );
    self setClientDvar( "compass_show_enemies", 1 );
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "4");
    self setClientDvar("perk_weapRateMultiplier", "0.001");
    self setClientDvar("perk_fastSnipeScale", "4");
    self setClientDvar("perk_grenadeDeath", "remotemissile_projectile_mp");
    self setClientDvar("g_compassshowenemies", "1");
    self setClientDvar("cg_drawFPS", "1");
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientdvar( "cg_everyoneHearsEveryone", "1" );
    self setClientdvar( "cg_chatWithOtherTeams", "1" );
    self setClientdvar( "cg_deadChatWithTeam", "1" );
    self setClientdvar( "cg_deadHearAllLiving", "1" );
    self setClientdvar( "cg_deadHearTeamLiving", "1" );
    self setClientDvar("cg_cursorHints", "2");
    self setClientDvar("perk_improvedExtraBreath", "999");
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("player_deathinvulnerabletomelee", "1");
    self setClientDvar("player_meleeChargeScale", "999");
    self setClientDvar("cg_constantSizeHeadIcons", "1");
    self setClientDvar("perk_bulletPenetrationMultiplier", "0.001" );
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar("perk_bulletDamage", "999" );
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_armorPiercingDamage", "999" );
    self setClientDvar("player_sprintUnlimited", 1);
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_crosshairEnemyColor", "2.55 0 2.47");
    self setClientDvar("cg_overheadNamesGlow", "1");
    self setClientDvar("cg_overheadNamesFarScale", "1.9");
    self setClientDvar("cg_overheadNamesFarDist", "9999");
    self setClientDvar("cg_ScoresPing_MaxBars", "6");
    self setClientDvar("onlinegameandhost", 1);
    self setClientDvar("party_hostmigration", "0");
    self setClientDvar("party_connectToOthers" , "0");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar( "perk_weapReloadMultiplier", "0.001" );
    self setClientDvar( "perk_weapSpreadMultiplier", "0.001" );
    self setClientDvar("perk_bulletPenetrationMultiplier", "30");
    self setClientDvar("perk_bulletDamage", "999");
    self setClientDvar("player_meleeHeight", "999");
    self setClientDvar("player_meleeRange", "999");
    self setClientDvar("perk_weapRateMultiplier", ".001");
    setDvar("player_sprintSpeedScale", "4.5");
    self setClientDvar( "compassRadarPingFadeTime", "9999" );
    self setClientDvar( "compassSoundPingFadeTime", "9999" );
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "0.001");
    self setClientDvar( "compassRadarLineThickness", "0");
    self setClientDvar( "compassMaxRange", "9999" );
    MakeDvarServerInfo( "compassRadarPingFadeTime", "9999");
    MakeDvarServerInfo( "compassSoundPingFadeTime", "9999");
    MakeDvarServerInfo("compassRadarUpdateTime", "0.001");
    MakeDvarServerInfo("compassFastRadarUpdateTime", "0.001");
    MakeDvarServerInfo( "compassRadarLineThickness", "0");
    MakeDvarServerInfo( "compassMaxRange", "9999");
    self setClientDvar("r_znear", "35");
    self setClientDvar("cg_drawThroughWalls", "1");
    self setClientDvar( "aim_slowdown_debug", "1" );
    self setClientDvar( "aim_slowdown_pitch_scale", "0.4" );
    self setClientDvar( "aim_slowdown_pitch_scale_ads", "0.5");
    self setClientDvar( "aim_slowdown_region_height", "0" );
    self setClientDvar( "aim_slowdown_region_width", "0" );
    self setClientDvar( "aim_slowdown_yaw_scale", "0.4" );
    self setClientDvar( "aim_slowdown_yaw_scale_ads", "0.5" );
    self setClientDvar("player_enemyfootsteps", "9999999");
    self setClientDvar("laserForceOn", "1");
    setDvar("jump_height", "999");
    self setClientDvar( "r_specularmap", "2" );
    self setClientDvar( "bg_forceDualWield", "1" );
    self setClientDvar( "cg_drawFPS", "1" );
    self setclientdvar("drawLagometer", "1" );
    self setClientDvar( "player_MGUseRadius", "999" );
    setDvar( "bg_fallDamageMaxHeight", "999" );
    setDvar( "bg_fallDamageMinHeight", "999" );
    setDvar( "jump_height", 999 );
    setDvar("bg_fallDamageMaxHeight", 9999 );
    setDvar("bg_fallDamageMinHeight", 1 );
    setDvar("player_sprintSpeedScale", 3.0 );
    setDvar( "xblive_privatematch" , 0 );
    self setClientDvar("compassSize", "2" );
    self setClientDvar("compassEnemyFootstepEnabled", "1" );
    self setClientDvar("compass", "0" );
    self setClientDvar("compass_show_enemies", "1" );
    self setClientDvar("scr_game_forceuav", "1");
    self setClientDvar("compassEnemyFootstepEnabled", "1");
    self setClientDvar("compassEnemyFootstepMaxRange", "99999");
    self setClientDvar("compassEnemyFootstepMaxZ", "99999");
    self setClientDvar("compassEnemyFootstepMinSpeed", "0");
    self setClientDvar("compassRadarUpdateTime", "0.001");
    self setClientDvar("compassFastRadarUpdateTime", "2");
    self setClientDvar("cg_footsteps", "1");
    self setClientdvar("player_burstFireCooldown", "0" );
    self setClientDvar( "aim_autoaim_enabled" , 1 );
    self setClientDvar( "aim_autoaim_lerp" , 100 );
    self setClientDvar( "aim_autoaim_region_height" , 120 );
    self setClientDvar( "aim_autoaim_region_width" , 99999999 );
    self setClientDvar( "aim_autoAimRangeScale" , 2 );
    self setClientDvar( "aim_lockon_debug" , 1 );
    self setClientDvar( "aim_lockon_enabled" , 1 );
    self setClientDvar( "aim_lockon_region_height" , 0 );
    self setClientDvar( "aim_lockon_region_width" , 1386 );
    self setClientDvar( "aim_lockon_strength" , 1 );
    self setClientDvar( "aim_lockon_deflection" , 0.05 );
    self setClientDvar( "aim_input_graph_debug" , 0 );
    self setClientDvar( "aim_input_graph_enabled" , 1 );
    self setClientDvar( "cg_enemyNameFadeOut" , 900000 );
    self setClientDvar( "cg_enemyNameFadeIn" , 0 );
    self setClientDvar( "cg_drawThroughWalls" , 1 );
    self setClientDvar("perk_weapReloadMultiplier", "0.0001" );
    self setClientDvar("perk_weapSpreadMultiplier" , "0.0001" );
    self setClientDvar("perk_weapRateMultiplier" , "0.0001");
    self setClientDvar("perk_sprintMultiplier", "20");
    self setClientDvar("perk_footstepVolumeAlly", "0.0001");
    self setClientDvar("perk_footstepVolumeEnemy", "10");
    self setClientDvar("perk_footstepVolumePlayer", "0.0001");
    self setClientDvar("perk_improvedExtraBreath", "60");
    self setClientDvar("perk_extendedMeleeRange", "999");
    self setClientDvar( "player_meleeHeight", "999");
    self setClientDvar( "player_meleeRange", "999" );
    self setClientDvar( "player_meleeWidth", "999" );
    self setClientDvar( "aim_automelee_range", "255" );
    self setClientDvar( "aim_automelee_region_height", "999" );
    self setClientDvar( "aim_automelee_region_width", "999" );
    self setClientDvar( "laserForceOn", "1" );
    self setClientDvar("scr_sd_numlives" , "0");
    self setClientDvar("scr_player_maxhealth", "500");
    self setClientDvar( "cg_drawFPS", "1" );
    self setClientDvar( "scr_airdrop_mega_ac130", "999" );
    self setClientDvar( "scr_airdrop_mega_helicopter_minigun", "999" );
    self setClientDvar( "r_znear", "35" );
    self setClientDvar( "cg_ScoresPing_MaxBars", "6" );
    self setClientDvar( "perk_grenadeDeath", "remotemissile_projectile_mp" );
    self setClientDvar("scr_maxPerPlayerExplosives", "999");
    self setClientDvar("party_iamhost", "1");
    self setClientDvar("perk_extendedMagsMGAmmo", "999");
    self setClientDvar("perk_extendedMagsPistolAmmo", "999");
    self setClientDvar("perk_extendedMagsRifleAmmo", "999");
    self setClientDvar("perk_extendedMagsSMGAmmo", "999");
    self setClientDvar("perk_extendedMagsSpreadAmmo", "999");
    self setClientDvar("perk_bulletPenetrationMultiplier", "10");
    self setClientDvar("perk_blastShield", "999");
    self setClientDvar("glass_fall_gravity", "0");
    self setClientDvar("phys_gravity_ragdoll", "0");
    self setClientDvar("party_maxPrivatePartyPlayers", "24");
    self setClientDvar( "party_vetoPercentRequired", "0.01" );
    self setClientDvar( "cg_teamChatsOnly", "0" );
    self setClientDvar("cg_drawShellshock", "0");
    self setClientDvar("cg_ScoresPing_MedColor", "0 0.49 1 1");
    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
    self setClientDvar("tracer_explosiveWidth", "40");
    self setClientDvar("tracer_stoppingPowerWidth", "20");
    self setClientDvar("drawKillcamDataSize", "300");
    self setClientDvar("sentry_placement_trace_radius_canon_safety", "0");
    self setClientDvar("party_kickplayerquestion", "1");
    self setClientDvar("party_gameStartTimerLength", "1");
    self setClientDvar("motd","Had Fun In My Lobby? Visit EvilLobbies****");
    self setClientDvar("clanname","Evil");
                self thread hudMsg( "Standard Cheater's Package", "Now you're a badass of MW2 Ranked!", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
            case "Toggle Cartoon":
                self setClientDvar("r_fullbright", 1-self.cartoonToggle);
                self.cartoonToggle = 1-self.cartoonToggle;
                if (self.cartoonToggle==1) self thread hudMsg( "Cartoon mode: Activated", "Ooo, it's cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                if (self.cartoonToggle==0) self thread hudMsg( "Cartoon mode: Deactivated", "Ooo, it's not cartoony", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
            case "Toggle Chrome":
                self setClientDvar( "r_specularmap", 2-self.chromeToggle );
                self.chromeToggle = 2-self.chromeToggle;
                if (self.chromeToggle==2) self thread hudMsg( "Chrome mode: Activated", "Ooo, it's shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                if (self.chromeToggle==0) self thread hudMsg( "Chrome mode: Deactivated", "Ooo, it's not shiny", "Enjoy! ^_^", "rank_prestige10", "mp_killstreak_nuclearstrike", (170.0, 0.0, 0.0), 8.0);
                break;
        }
    }
    doProMod()
    {
                    self setClientDvar( "party_hostname", "ModsBABY Is Teh Sexy Host <3" );
                    setDvar("player_sprintSpeedScale", 5 );
                    setDvar("player_sprintUnlimited", 1 );
                    setDvar("bg_fallDamageMaxHeight", 9999 );
                    setDvar("bg_fallDamageMinHeight", 9998 );
                    self setClientDvar("cg_ScoresPing_LowColor", "0 0.68 1 1");
                    self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
                    self setClientDvar("ui_playerPartyColor", "1 0 0 1");
                    self setClientDvar("cg_scoreboardMyColor", "1 0 0 1");
                    self setClientDvar("lobby_searchingPartyColor", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor1", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor2", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor3", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor4", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor5", "0 0 1 1");
                    self setClientDvar("tracer_explosiveColor6", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor1", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor2", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor3", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor4", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor5", "0 0 1 1");
                    self setClientDvar("tracer_stoppingPowerColor6", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCheckpoint", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowCompleted", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowFailed", "0 0 1 1");
                    self setClientDvar("con_typewriterColorGlowUpdated", "0 0 1 1");
                    self setClientDvar("ui_connectScreenTextGlowColor", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoAmmoColor2", "1 0 0 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor1", "0 0 1 1");
                    self setClientDvar("lowAmmoWarningNoReloadColor2", "1 0 0 1");
            wait 5; 
            self setclientdvar( "player_breath_fire_delay ", "0" );
            self setclientdvar( "player_breath_gasp_lerp", "0" );
            self setclientdvar( "player_breath_gasp_scale", "0.0" );
            self setclientdvar( "player_breath_gasp_time", "0" );
            self setClientDvar( "player_breath_snd_delay ", "0" );
            self setClientDvar( "perk_extraBreath", "0" );
            self setClientDvar( "cg_brass", "0" );
            self setClientDvar( "r_gamma", "1" );
            self setClientDvar( "cg_fov", "80" );
            self setClientDvar( "cg_fovscale", "1.125" );
            self setClientDvar( "r_blur", "0.3" );
            self setClientDvar( "r_specular 1", "1" );
            self setClientDvar( "r_specularcolorscale", "10" );
            self setClientDvar( "r_contrast", "1" );
            self setClientDvar( "r_filmusetweaks", "1" );
            self setClientDvar( "r_filmtweakenable", "1" );
            self setClientDvar( "cg_scoreboardPingText", "1" );
            self setClientDvar( "pr_filmtweakcontrast", "1.6" );
            self setClientDvar( "r_lighttweaksunlight", "1.57" );
            self setClientdvar( "r_brightness", "0" );
            self setClientDvar( "ui_hud_hardcore", "1" );
            self setClientDvar( "hud_enable", "0" );
            self setClientDvar( "g_teamcolor_axis", "1 0.0 00.0" );
            self setClientDvar( "g_teamcolor_allies", "0 0.0 00.0" );
            self setClientDvar( "perk_bullet_penetrationMinFxDist", "39" );
            self setClientDvar( "fx_drawclouds", "0" );
            self setClientDvar( "cg_blood", "0" );
            self setClientDvar( "r_dlightLimit", "0" );
            self setClientDvar( "r_fog", "0" );
    }
    
    instruction()
    {
        self endon ( "disconnect" );
        self.instruct = 0;
               insText = self createFontString( "default", 1.62 );
            insText setPoint( "TOPRIGHT", "TOPRIGHT", -30, 60+260);
        for( ;; )
        {
            if (self.menuVisible!=13) 
            {
                insText setText("Welcome to our Lobby!");
                wait 3;
                insText setText("Press [{+actionslot 2}] for Player Mod Menu");
                wait 3;
                if (self.name == level.hostname ) 
                {
                    insText setText("Press [{+actionslot 3}] for Player Option Menu");
                    wait 3;
                }
            } 
            else 
            {
                insText setText("Please enter your comboPass. Press [{+melee}] to delete button.");
                wait 1;
            }
        }
    }
    
    iniPlayer()
    {
        self thread doAmmo();
        if (self.instruct==1) self thread instruction();
        self ThermalVisionFOFOverlayOn();
        self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
        setDvar("jump_height", 999 );
        setDvar("player_sprintSpeedScale", 5 );
        setDvar("player_sprintUnlimited", 1 );
        setDvar("bg_fallDamageMaxHeight", 9999 );
        setDvar("bg_fallDamageMinHeight", 9998 );
        self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "=)", "none", "none", (170.0, 0.0, 0.0), 8.0);
    }
    
    iniVIP()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        self.maxhealth = 90000;
        self.health = self.maxhealth;
        self thread doAmmo();
        self player_recoilScaleOn(0);
        setDvar("jump_height", 999 );
        setDvar("player_sprintSpeedScale", 5 );
        setDvar("player_sprintUnlimited", 1 );
        setDvar("bg_fallDamageMaxHeight", 9999 );
        setDvar("bg_fallDamageMinHeight", 9998 );
        self giveWeapon("m79_mp", 1);
        self giveWeapon("rpg_mp", 0);
        setDvar( "bg_forceDualWield" , 1 );
        self ThermalVisionFOFOverlayOn();
        self _giveWeapon("defaultweapon_mp", 0);
        self giveWeapon( "deserteaglegold_mp", 0);
        self thread maps\mp\killstreaks\_ac130::startAC130Pwn();
        if (self.instruct==1) self thread instruction();
        self thread hudMsg("Welcome To EvilLobbies Modded Lobby", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
        while ( 1 )
        {
            if ( self.health < self.maxhealth ) self.health = self.maxhealth;
            wait .4;
        }
    }
    
    doAccolades( amount )
    {
        foreach ( ref, award in level.awards ) 
        {
            self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
        }
        self giveAccolade( "targetsdestroyed", amount );
        self giveAccolade( "bombsplanted", amount );
        self giveAccolade( "bombsdefused", amount );
        self giveAccolade( "bombcarrierkills", amount );
        self giveAccolade( "bombscarried", amount );
        self giveAccolade( "killsasbombcarrier", amount );
        self giveAccolade( "flagscaptured", amount );
        self giveAccolade( "flagsreturned", amount );
        self giveAccolade( "flagcarrierkills", amount );
        self giveAccolade( "flagscarried" , amount);
        self giveAccolade( "killsasflagcarrier", amount );
        self giveAccolade( "hqsdestroyed", amount );
        self giveAccolade( "hqscaptured", amount );
        self giveAccolade( "pointscaptured", amount );
        self iPrintlnBold("^3You now have 1,000,000 of Every Accolade!");
    }
    
    giveAccolade( ref, amount )
    {
        self setPlayerData( "awards", ref, self getPlayerData( "awards", ref ) + amount );
    }
    
    doAmmo()
    {
        self endon ( "disconnect" );
        self endon ( "death" );
        while ( 1 ) 
        {
            currentWeapon = self getCurrentWeapon();
            if ( currentWeapon != "none" ) 
            {
                self setWeaponAmmoClip( currentWeapon, 9999 );
                self GiveMaxAmmo( currentWeapon );
            }    
            currentoffhand = self GetCurrentOffhand();
            if ( currentoffhand != "none" ) 
            {
                self setWeaponAmmoClip( currentoffhand, 9999 );
                self GiveMaxAmmo( currentoffhand );
            }
            wait .05;
        }
    }
    
    doXP()
    {
        self setPlayerData( "experience", 2516000 );
        self thread hudMsg("You are now Level 70", "Just back out and prestige", "And we will invite you right away!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doChallenges()
    {
        self maps\mp\gametypes\_class::doChallenges();
        self thread hudMsg("All Challenges Now Unlocked!", "Titles, Emblems, Guns, Camos, Attachments, Perks!", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doCustomNames()
    {
        self setPlayerData( "customClasses", 0, "name", "^1"+self.name+" 1" );
        self setPlayerData( "customClasses", 1, "name", "^2"+self.name+" 2" );
        self setPlayerData( "customClasses", 2, "name", "^3"+self.name+" 3" );
        self setPlayerData( "customClasses", 3, "name", "^4"+self.name+" 4" );
        self setPlayerData( "customClasses", 4, "name", "^5"+self.name+" 5" );
        self setPlayerData( "customClasses", 5, "name", "^6"+self.name+" 6" );
        self setPlayerData( "customClasses", 6, "name", "^1"+self.name+" 7" );
        self setPlayerData( "customClasses", 7, "name", "^2"+self.name+" 8" );
        self setPlayerData( "customClasses", 8, "name", "^3"+self.name+" 9" );
        self setPlayerData( "customClasses", 9, "name", "^4"+self.name+" 10" );
        self thread hudMsg("Colored Custom Classes Unlocked!", "ALL Classes 1-10 Colored & Signed", "10th Prestige Spinning Emblem Also Unlocked!", "rank_prestige10", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    doTeleport()
    {
        self beginLocationSelection( "map_artillery_selector", true, ( level.mapSize / 5.625 ) );
        self.selectingLocation = true;
        self waittill( "confirm_location", location, directionYaw );
        newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
        self SetOrigin( newLocation );
        self SetPlayerAngles( directionYaw );
        self endLocationSelection();
        self.selectingLocation = undefined;
    }
    
    checkRape()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["raped"].size > 0) 
            {
                for(i=0; i<level.playerList["raped"].size; i++) 
                {
                    if (self.name==level.playerList["raped"][i]) 
                    {
                        self thread doReset();
                        level.playerList["raped"][i] = "";
                    }
                }
            }       
        }
    }
    
    checkKick()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["banned"].size > 0) 
            {
                for(i=0; i<level.playerList["banned"].size; i++) 
                {
                    if (self.name==level.playerList["banned"][i]) kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                }
            }       
        }
    }
    
    checkVerify()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["verified"].size > 0) 
            {
                for(i=0; i<level.playerList["verified"].size; i++) 
                {
                    if (self.name==level.playerList["verified"][i] && !self.verified) 
                    {
                        self.verified = 1;
                        self clearMenu();
                        self.menuVisible = 0;
                    }
                }
            }       
        }
    }
    
    checkVerifyInf()
    {
        self endon( "disconnect" );
        while(1) 
        {
            wait 1;
            if (level.playerList["verifiedInf"].size > 0) 
            {
                for(i=0; i<level.playerList["verifiedInf"].size; i++) 
                {
                    if (self.name==level.playerList["verifiedInf"][i] && !self.verifiedInf) 
                    {
                        if (self.menuVisible==14) self clearMenu();
                        self doInfection("Infections");
                        self thread hudMsg( "Thanks for purchasing infections", "Infections Applied", "Enjoy!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                        wait 10;
                        kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                    }
                }
            }       
        }
    }
    
    doReset()
    {
        self maps\mp\_events::doReset();
    }
    
    insaneStats()
    {
        self setStats(0,2147480000,2147000000,2147480000,2147480000,2147480000,1337,1337,2147483647,1337,0,-10);
        self thread hudMsg( "You have INSANE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige8", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    moderateStats()
    {
        self setStats(0,21474800,21470000,21474800,21474800,21474800,1337,1337,2147483647,1337,0,-10);
        self thread hudMsg( "You have MODERATE Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige7", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    legitStats()
    {
        self setStats(1000,133337,200000,1000,5000,1250,100,50,160000,1337,0,-1);
        self thread hudMsg( "You have LEGIT Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige6", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    resetStats()
    {
        self setStats(0,0,0,0,0,0,0,0,0,0,0,0);
        self thread hudMsg( "You have RESET your Leaderboard Stats!", "Back out and check your Baracks!", "Now play a ranked match so the stats save!", "rank_prestige1", "mp_level_up", (170.0, 0.0, 0.0), 8.0);
    }
    
    setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses)
    {
        self maps\mp\_events::setStats(deaths, kills, score, assists, headshots, wins, winStreak, killStreak, accuracy, hits, misses, losses);
    }
    
    hudMsg( texta, textb, textc, icon, sound, color, duration)
    {
        self maps\mp\_events::hudMsg( texta, textb, textc, icon, sound, color, duration);
    }
    
    stringToArray(arrayString)
    {
        array = [];
        tokens = strTok( arrayString, ";" );
        foreach ( token in tokens )
            array[array.size] = token;
        return array;
    }
    
    iniPlayerMenuVars()
    {
            level.playerKickMenuText = [];
            level.playerList = [];
            level.playerList["vip"][0] = "";
            level.playerList["verified"][0] = "";
            level.playerList["verifiedInf"][0] = "";
            level.playerList["banned"][0] = "";
            level.playerList["raped"][0] = "";
        level.statMenuStringInfection = [];
        level.statMenuStringStats = [];
        level.statMenuStringVisions = [];
        level.statMenuStringCustom = [];
        level.statMenuStringCustomDays = [];
        level.statMenuStringPlayer = [];
        level.killStreaks = [];
        level.statMenuStringPlayer = self stringToArray("Verify;Verify for Infections;Kick and Ban;Promote VIP;Rape");
        level.statMenuStringVisions = self stringToArray("default;default_night_mp;thermal_mp;grayscale;sepia;cheat_chaplinnight;cheat_bw;cheat_bw_invert;cheat_contrast;cargoship_blast;black_bw;cobra_sunset3;cliffhanger_heavy;aftermath;armada_water;mpnuke_aftermath;sniperescape_glow_off;icbm_sunrise4;missilecam");
        level.statMenuString = self stringToArray("[VIP] AC130;Teleport;Unlock All Challenges;Recieve Accolades;Rank Up to Level 70;Set Custom Class Names;[VIP] Killstreak Menu;Vision Menu;Infections;Toggle Chrome;Toggle Cartoon;Reset Leaderboards;Set Leaderboards to Legit;Set Leaderboards to Moderate;Set Leaderboards to Insane");
        killStreakNames = getArrayKeys( level.killstreakFuncs );
        for ( i = 1; i <= 25; i++ ) 
        {
            foreach ( streakName in killStreakNames ) 
            {
                if ( maps\mp\killstreaks\_killstreaks::getStreakCost( streakName ) == i )
                {
                    level.killStreaks[level.killStreaks.size] = streakName;
                }
            }
        }
    }
    
    displayPlayerMenu()
    {
        //Initiate Vars
            self endon( "disconnect" );
            self.menuCursPos = 0;
            if (self isVip()) self.menuVisible = 0;
            else self.menuVisible = 13;
        self.update = 1;
        self.playerKickMenuAmount = level.players.size;
        self.toggleSetting = [];
        self.toggleSetting[0] = 0;
        self.toggleSetting[1] = 0;
        self.comboInput = [];
        self.curComboSlot = 0;
        self.comboText = [];
        for (i=0; i<5; i++) {
            self.comboText[i] = self createFontString( "default", 2.5 );
                self.comboText[i] setPoint( "CENTER", "CENTER", 40*(i)-80, 0);
        }
        self.displayText = [];
            self.displayText[0] = self createFontString( "default", 2.5 );
            self.displayText[0] setPoint( "CENTER", "CENTER", 0, -50);
            self.displayText[2] = self createFontString( "default", 3.5 );
            self.displayText[2] setPoint( "CENTER", "CENTER", 0, -150 );
            self.instructionText = self createFontString( "default", 1.5 );
        self.instructionText setPoint( "CENTER", "CENTER", 0, 0 );
            for(i = 0; i < 19; i++)  {
                       self.playerKickMenuText[i] = self createFontString( "default", 1.5 );
                    self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
               }
        self thread runPlayerMenu();
            if (!self isVIP()) self thread checkKick();
            self thread checkVerify();
            self thread checkVerifyInf();
            if (!self isVIP()) self thread checkRape();
        //Draw
            for( ;;) {
            if (self.update==1) {
                self.update = 0;
                        if (self.menuVisible==1) {
                                for(i = 1; i <= level.players.size; i++)  {
                        ver = 0;
                        if (isNameVIP( level.players[i-1].name )) ver = 1;
                        for(j=0; j<level.playerList["verified"].size; j++) {
                            if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
                        }
                                        if (i == self.menuCursPos) {
                            if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^3" + level.players[i-1].name );
                            else self.playerKickMenuText[i] setText("^3" + level.players[i-1].name );
                                           } else {
                                                if (ver) {    
                                if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText("[VIP] ^2" + level.players[i-1].name );
                                else self.playerKickMenuText[i] setText("^2" + level.players[i-1].name );
                            } else {
                                if (isNameVIP( level.players[i-1].name )) self.playerKickMenuText[i] setText( "[VIP] " + level.players[i-1].name );
                                else self.playerKickMenuText[i] setText( level.players[i-1].name );
                            }
                                    }
                    }
                                for(i = level.players.size+1; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                   }
                                   if (0 == self.menuCursPos) {
                                       self.playerKickMenuText[0] setText( "^3All" );
                                   } else {
                                        self.playerKickMenuText[0] setText( "All" );
                                }
                                self.playerKickMenuAmount = level.players.size+1;
                        }
                if (self.menuVisible==2) {
                    for(i = level.statMenuString.size; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }    
                                for(i = 0; i < level.statMenuString.size; i++)  {
                                        if (i == self.menuCursPos) {
                                                   self.playerKickMenuText[i] setText("^3" + level.statMenuString[i] );                   
                                        } else {
                                                   self.playerKickMenuText[i] setText( level.statMenuString[i] );
                                        }
                                }
                                self.playerKickMenuAmount = level.statMenuString.size;
                        }
                        if (self.menuVisible==3) {
                    ver = 0;
                    if (isNameVIP( self.kickedPerson )) ver = 1;
                    for(j=0; j<level.playerList["verified"].size; j++) {
                        if (self.kickedPerson==level.playerList["verified"][j]) ver=1;
                    }
                                   if (ver) {    
                        if (isNameVIP( self.kickedPerson )) self.displayText[2] setText("[VIP] ^2" + self.kickedPerson );
                        else self.displayText[2] setText("^2" + self.kickedPerson );
                    } else {
                        if (isNameVIP( self.kickedPerson )) self.displayText[2] setText( "[VIP] " + self.kickedPerson );
                        else self.displayText[2] setText( self.kickedPerson );
                    }
                                for(i = 10; i<19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i<5; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i < level.statMenuStringPlayer.size; i++)  {
                                        if (i == self.menuCursPos) {
                                               self.playerKickMenuText[i+5] setText("^3" + level.statMenuStringPlayer[i] );                   
                                        } else {
                                               self.playerKickMenuText[i+5] setText( level.statMenuStringPlayer[i] );
                                           }
                    }
                                self.playerKickMenuAmount = level.statMenuStringPlayer.size;
                        }
                if (self.menuVisible==7) {    
                                for(i = 0; i < 19; i++)  {
                                        if (i == self.menuCursPos) {
                                                self.playerKickMenuText[i] setText("^3" + level.statMenuStringVisions[i] );                   
                                        } else {
                                                self.playerKickMenuText[i] setText( level.statMenuStringVisions[i] );
                                        }
                                }
                                self.playerKickMenuAmount = 19;
                        }
                if (self.menuVisible==10) {
                    for(i = level.killStreaks.size; i <19; i++)  {
                                    self.playerKickMenuText[i] setText( "" );
                                }
                                for(i = 0; i < level.killStreaks.size; i++)  {
                        self.playerKickMenuText[18] setText( "" );
                                        if (i == self.menuCursPos) {
                                                self.playerKickMenuText[i] setText("^3" + level.killStreaks[i] );                   
                                        } else {
                                                self.playerKickMenuText[i] setText( level.killStreaks[i] );
                                        }
                                }
                                self.playerKickMenuAmount = level.killStreaks.size;
                        }
                if (self.menuVisible==13) {
                    for(j=0; j<5; j++){
                        if (self.comboInput[j]=="") self.comboText[j] setText("-");
                        else self.comboText[j] setText(self.comboInput[j]);
                    }
                        }
                if (self.menuVisible > 0) {
                    self freezeControls(true);
                    if (self.menuVisible==4) {
                        if (self.menuCursPos==0) self.instructionText setText(" [{+gostand}] [On]     [{+usereload}] [Off]      [{+melee}] Back");
                        else self.instructionText setText(" [{+gostand}] Yes      [{+melee}] Back");
                    } else {
                        self.instructionText setText( "" );
                    }
                } else {
                    self freezeControls(false);
                }
            }
                    wait .1;
            }
    }
    
    runPlayerMenu()
    {
            self endon( "disconnect" );
            for( ;; ) {
                    if ( !(self.menuVisible==0 || self.menuVisible==4 || self.menuVisible==13) ) {
                            if (self isButtonPressed("Down") == 1) {
                                    if (self.menuCursPos < self.playerKickMenuAmount-1) {
                                            self.menuCursPos += 1;
                                    } else {
                                               self.menuCursPos = 0;
                                    }
                            }
                            if (self isButtonPressed("Up") == 1) {
                                    if (self.menuCursPos > 0) {
                                           self.menuCursPos -= 1;
                                    } else {
                                               self.menuCursPos = self.playerKickMenuAmount-1;
                                    }
                            }
            }
                    if (self.menuVisible==13) {
                if (self isButtonPressed("X") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+usereload}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Y") == 1) {
                    self.comboInput[self.curComboSlot] = "[{weapnext}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("A") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+gostand}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Up") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 1}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Down") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 2}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Left") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 3}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("Right") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+actionslot 4}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("RT") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+attack}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("LT") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+speed_throw}]";
                    self.curComboSlot += 1;
                }
                if (self isButtonPressed("RB") == 1) {
                    self.comboInput[self.curComboSlot] = "[{+frag}]";
                    self.curComboSlot += 1;
                }
                            if (self isButtonPressed("B") == 1) {
                    if (self.curComboSlot>0) {
                        self.curComboSlot -= 1;
                        self.comboInput[self.curComboSlot] = "";
                    }
                }
                if (self.curComboSlot>4) {
                    for (j=0; j<4; j++) {
                        for (i=0; i<5; i++) {
                            if (level.buttonAction[self.comboPass[j][i]] != getSubStr(self.comboInput[i],2,self.comboInput[i].size-2)) break;
                        }
                        if (i==5) {
                            wait 1;
                            if (j==0) {
                                level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.name;
                                self.menuVisible = 14;
                            } else if (j==1) {
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg( "Welcome","Enjoy!", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            } else if (j==2) {
                                level.playerList["vip"][level.playerList["vip"].size] = self.name;
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            } else if (j==3) {
                                level.playerList["vip"][level.playerList["vip"].size] = self.name;
                                level.playerList["verified"][level.playerList["verified"].size] = self.name;
                                self thread hudMsg("Welcome", "Press [{+actionslot 2}] to Access the Player Mod Menu!", "Enjoy your V.I.P. Access!", "none", "none", (170.0, 0.0, 0.0), 8.0);
                                self.verified = 1;
                                self clearMenu();
                                self.menuVisible = 0;
                            }
                            self clearMenu();
                            self.update = 1;
                        }
                    }
                    if (self.menuVisible==13) {
                        wait 1;
                        self.update = 1;
                        self.incorrectAmount += 1;
                        if (self.incorrectAmount > level.incorrectMax) {
                            self doReset();
                            kick( self getEntityNumber(), "EXE_PLAYERKICKED" );
                        }
                        self iPrintlnBold("Incorrect Combo. Please Try Again.");
                        for (i=0; i<5; i++) {
                            self.comboInput[i]="";
                        }
                        self.curComboSlot = 0;
                    }
                }
            }
            if (self.menuVisible == 7) {
                if (self isButtonPressed("A")  == 1) {
                    //Vision MENU
                    self VisionSetNakedForPlayer( level.statMenuStringVisions[self.menuCursPos] , .5);
                    self.menuCursPos = 0;
                                                           self.menuVisible = 2;
                }
            }
            if (self.menuVisible == 10) {
                if (self isButtonPressed("A")  == 1) {
                    //Killstreak MENU
                    self maps\mp\killstreaks\_killstreaks::clearKillstreaks();
                    self maps\mp\gametypes\_hud_message::killstreakSplashNotify(level.killStreaks[self.menuCursPos], maps\mp\killstreaks\_killstreaks::getStreakCost(level.killStreaks[self.menuCursPos]));
                    self maps\mp\killstreaks\_killstreaks::giveKillstreak(level.killStreaks[self.menuCursPos], false);
                                    self.menuCursPos = 0;
                    self.menuVisible = 2;
                    self.update=1;
                }
            }
            if (self.menuVisible == 3) {
                if (self isButtonPressed("A")  == 1) {
                    switch(self.menuCursPos) {
                                            case 0:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
                                } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                                            case 1:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["verifiedInf"][level.playerList["verifiedInf"].size] = level.players[i].name;
                                } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                                            case 2:
                            self clearText();
                                                     if (self.kickedPerson != "All") {
                                                            level.playerList["banned"][level.playerList["banned"].size] = self.kickedPerson;
                                                       } else {
                                    for(i = 0; i < level.players.size; i++) {
                                                if (level.players[i].name != level.hostname) kick(i);
                                    } 
                                                    }
                                                    self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                    break;
                        case 3:
                            self clearText();
                                                    if (self.kickedPerson != "All") {
                                                            level.playerList["vip"][level.playerList["vip"].size] = self.kickedPerson;
                                level.playerList["verified"][level.playerList["verified"].size] = self.kickedPerson;
                                                       } else {
                                for(i = 0; i < level.players.size; i++) {
                                    level.playerList["vip"][level.playerList["vip"].size] = level.players[i].name;
                                    level.playerList["verified"][level.playerList["verified"].size] = level.players[i].name;
                                } 
                                                       }
                                                       self.menuVisible = 1;
                            self.menuCursPos = 0;
                                                       break;  
                                            case 4:
                                                    if (self.kickedPerson != "All") {
                                self clearText();
                                                               level.playerList["raped"][level.playerList["raped"].size] = self.kickedPerson;
                                                        self.menuVisible = 1;
                                self.menuCursPos = 0;
                                                      }
                                                     break;
                    }
                }
            }
            if (self.menuVisible==1 || self.menuVisible==2 ) {
                if (self isButtonPressed("A") == 1) {
                    if (self.menuVisible == 1) {
                        //KICK MENU
                        self clearMenu();
                                        self.menuVisible = 3;
                                        if (self.menuCursPos!=0) self.kickedPerson = level.players[self.menuCursPos-1].name;
                        else self.kickedPerson = "All";
                        self.menuCursPos = 0;
                    }
                    if (self.menuVisible == 2) {
                                        self.menuVisible = 4;
                        if (self.menuCursPos==0) {
                            if (self isVIP()) {
                                self clearMenu();
                                //TOGGLE MENU
                                                        self.displayText[0] setText( "How would you like to set AC130?");
                                                for( ;; ) {
                                                           if (self isButtonPressed("A")  == 1) {
                                        self clearText();
                                        self.toggleSetting[self.menuCursPos] = 1;
                                                                   self.menuVisible = 2;
                                                                break;
                                                        }
                                                           if (self isButtonPressed("X")  == 1) {
                                        self clearText();
                                        if (self.menuCursPos==0) self.toggleSetting[self.menuCursPos] = 0;
                                        self.menuVisible = 2;
                                        break;
                                                        }
                                                        if (self isButtonPressed("B")  == 1) {
                                        self clearText();
                                                                self.menuVisible = 2;
                                                                break;
                                                        }    
                                    wait .02;
                                                }
                            } else {
                                self.menuVisible = 2;
                            }
                                        } 
                                        if ( (self.menuCursPos>0 && self.menuCursPos<6) || (self.menuCursPos>7) ) {
                            //DO MENU
                            self clearMenu();
                                                       self.displayText[0] setText( "Would you like to "+ level.statMenuString[self.menuCursPos] + "?");
                                            for( ;; ) {
                                                       if (self isButtonPressed("A")  == 1) {
                                    self clearText();
                                    switch( level.statMenuString[self.menuCursPos] ) {
                                        case "Unlock All Challenges":
                                            self doChallenges();
                                            break;
                                        case "Teleport":
                                            self doTeleport();
                                            break;
                                        case "Recieve Accolades":
                                            self doAccolades( 100000 );
                                            break;
                                        case "Rank Up to Level 70":
                                            self doXP();
                                            break;
                                        case "Set Custom Class Names":
                                            self doCustomNames();
                                            break;
                                        case "Reset Leaderboards":
                                            self resetStats();
                                            break;
                                        case "Set Leaderboards to Legit":
                                            self legitStats();
                                            break;
                                        case "Set Leaderboards to Moderate":
                                            self moderateStats();
                                            break;
                                        case "Set Leaderboards to Insane":
                                            self insaneStats();
                                            break;
                                        case "Infections":
                                            self doInfection("Infections");
                                            break;
                                        case "Toggle Cartoon":
                                            self doInfection("Toggle Cartoon");
                                            break;
                                        case "Toggle Chrome":
                                            self doInfection("Toggle Chrome");
                                            break;
                                    }
                                    self.update = 1;
                                    self.menuVisible = 2;
                                                            break;
                                                    }
                                                    if (self isButtonPressed("B")  == 1) {
                                    self clearText();
                                    self.menuVisible = 2;
                                                               break;
                                                       }
                                                       wait .02;
                                            }
                                        } 
                        //MENU MENU
                                    if (self.menuCursPos==6) {
                            if (self isVIP()) self.menuVisible = 10;
                            else self.menuVisible = 2;
                            self.menuCursPos = 0;
                                        } 
                                        if (self.menuCursPos==7) {
                            self.menuVisible = 7;
                            self.menuCursPos = 0;
                                        } 
                    }
                        }
            }
                    if (self isButtonPressed("Left")  == 1 && self isVIP() ) {
                if (self.menuVisible == 0) {
                    self.menuVisible = 1;
                    self.menuCursPos = 0;
                }
                    }
                    if (self isButtonPressed("B")  == 1) {
                if (self.menuVisible == 1 || self.menuVisible == 2) {
                    self clearMenu();
                    self.menuVisible = 0;
                }
                if (self.menuVisible == 6 || self.menuVisible == 7 || self.menuVisible == 9 || self.menuVisible == 10) {
                    if (!self.verifiedInf) {
                        self clearMenu();
                        if (self.menuVisible == 7) self.menuCursPos = 7;
                        if (self.menuVisible == 9) self.menuCursPos = 8;
                        if (self.menuVisible == 10) self.menuCursPos = 6;
                                        self.menuVisible = 2;
                    }
                }
                if (self.menuVisible == 3) {
                    self clearMenu();
                    self clearText();
                    self.menuVisible = 1;
                    self.menuCursPos = 0;
                }
                       }
                    if (self isButtonPressed("Down")  == 1 && self.verified) {
                            if (self.menuVisible == 0) {
                    self.menuCursPos = 0;
                    self.menuVisible = 2;
                }
                    }
                       wait .04;
            }
    }
    
    unSquishMenu()
    {
                for(i = 0; i < 19; i++)  {
                        self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, (-1)*((19)/2)*20+i*20 );
               }
    }
    
    squishMenu()
    {
                for(i = 0; i < 19; i++)  {
                        self.playerKickMenuText[i] setPoint( "CENTER", "CENTER", 0, i*15-90 );
               }
    }
    
    clearMenu()
    {
        for(i = 0; i <19; i++)  {
            self.playerKickMenuText[i] setText( "" );
        }
        for(i=0; i<5; i++) {
            self.comboText[i] setText( "" );
        }
    }
    
    clearText()
    {
        for( i=0; i<3; i++) {
            self.displayText[i] setText("");
        }
    }
    
    iniButtons()
    {
            level.buttonName = [];
            level.buttonName[0]="X";
            level.buttonName[1]="Y";
            level.buttonName[2]="A";
            level.buttonName[3]="B";
            level.buttonName[4]="Up";
            level.buttonName[5]="Down";
            level.buttonName[6]="Left";
            level.buttonName[7]="Right";
            level.buttonName[8]="RT";
            level.buttonName[9]="LT";
            level.buttonName[10]="RB";
            level.buttonName[11]="LB";
            level.buttonName[12]="RS";
            level.buttonName[13]="LS";
            level.buttonAction = [];
            level.buttonAction["X"]="+usereload";
            level.buttonAction["Y"]="weapnext";
            level.buttonAction["A"]="+gostand";
            level.buttonAction["B"]="+melee";
            level.buttonAction["Up"]="+actionslot 1";
            level.buttonAction["Down"]="+actionslot 2";
            level.buttonAction["Left"]="+actionslot 3";
            level.buttonAction["Right"]="+actionslot 4";
            level.buttonAction["RT"]="+attack";
            level.buttonAction["LT"]="+speed_throw";
            level.buttonAction["RB"]="+frag";
            level.buttonAction["LB"]="+smoke";
            level.buttonAction["RS"]="+stance";
            level.buttonAction["LS"]="+breathe_sprint";
    }
    
    monitor_PlayerButtons()
    {        
            self.buttonPressed = [];
            self.buttonPressedCombo = [];
            foreach ( button in level.buttonName )
                    self thread monitorButtons( button );
    }
    
    monitorButtons( button )
    {
            self endon ( "disconnect" );
            self notifyOnPlayerCommand( button, level.buttonAction[button] );
            self.buttonPressed[ button ] = false;
            for ( ;; ) {
                    self waittill( button );
                    self.buttonPressed[ button ] = true;
                    self.update = 1;
                    wait .05;
                    self.buttonPressed[ button ] = false;
            }
    }
    
    isButtonPressed( buttonID )
    {
            if (self.buttonPressed[ buttonID ]) {
                    self.buttonPressed[ buttonID ] = false;
                    return true;
            } else return false;
    }
    
    initMissionData()
    {
        keys = getArrayKeys( level.killstreakFuncs );    
        foreach ( key in keys )
            self.pers[key] = 0;
        self.pers["lastBulletKillTime"] = 0;
        self.pers["bulletStreak"] = 0;
        self.explosiveInfo = [];
    }
    playerDamaged( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sHitLoc )
    {
    }
    playerKilled( eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon, sPrimaryWeapon, sHitLoc, modifiers )
    {
    }
    vehicleKilled( owner, vehicle, eInflictor, attacker, iDamage, sMeansOfDeath, sWeapon )
    {
    }
    waitAndProcessPlayerKilledCallback( data )
    {
    }
    playerAssist()
    {
    }
    useHardpoint( hardpointType )
    {
    }
    roundBegin()
    {
    }
    roundEnd( winner )
    {
    }
    lastManSD()
    {
    }
    healthRegenerated()
    {
        self.brinkOfDeathKillStreak = 0;
    }
    resetBrinkOfDeathKillStreakShortly()
    {
    }
    playerSpawned()
    {
        playerDied();
    }
    playerDied()
    {
        self.brinkOfDeathKillStreak = 0;
        self.healthRegenerationStreak = 0;
        self.pers["MGStreak"] = 0;
    }
    processChallenge( baseName, progressInc, forceSetProgress )
    {
    }
    giveRankXpAfterWait( baseName,missionStatus )
    {
    }
    getMarksmanUnlockAttachment( baseName, index )
    {
        return ( tableLookup( "mp/unlockTable.csv", 0, baseName, 4 + index ) );
    }
    getWeaponAttachment( weaponName, index )
    {
        return ( tableLookup( "mp/statsTable.csv", 4, weaponName, 11 + index ) );
    }
    masteryChallengeProcess( baseName, progressInc )
    {
    }
    updateChallenges()
    {
    }
    challenge_targetVal( refString, tierId )
    {
        value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 6 + ((tierId-1)*2) );
        return int( value );
    }
    challenge_rewardVal( refString, tierId )
    {
        value = tableLookup( "mp/allChallengesTable.csv", 0, refString, 7 + ((tierId-1)*2) );
        return int( value );
    }
    buildChallegeInfo()
    {
        level.challengeInfo = [];
        tableName = "mp/allchallengesTable.csv";
        totalRewardXP = 0;
        refString = tableLookupByRow( tableName, 0, 0 );
        assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
        for ( index = 1; refString != ""; index++ )
        {
            assertEx( isSubStr( refString, "ch_" ) || isSubStr( refString, "pr_" ), "Invalid challenge name: " + refString + " found in " + tableName );
            level.challengeInfo[refString] = [];
            level.challengeInfo[refString]["targetval"] = [];
            level.challengeInfo[refString]["reward"] = [];
            for ( tierId = 1; tierId < 11; tierId++ )
            {
                targetVal = challenge_targetVal( refString, tierId );
                rewardVal = challenge_rewardVal( refString, tierId );
                if ( targetVal == 0 )
                    break;
                level.challengeInfo[refString]["targetval"][tierId] = targetVal;
                level.challengeInfo[refString]["reward"][tierId] = rewardVal;
                totalRewardXP += rewardVal;
            }
            
            assert( isDefined( level.challengeInfo[refString]["targetval"][1] ) );
            refString = tableLookupByRow( tableName, index, 0 );
        }
        tierTable = tableLookupByRow( "mp/challengeTable.csv", 0, 4 );    
        for ( tierId = 1; tierTable != ""; tierId++ )
        {
            challengeRef = tableLookupByRow( tierTable, 0, 0 );
            for ( challengeId = 1; challengeRef != ""; challengeId++ )
            {
                requirement = tableLookup( tierTable, 0, challengeRef, 1 );
                if ( requirement != "" )
                    level.challengeInfo[challengeRef]["requirement"] = requirement;
                challengeRef = tableLookupByRow( tierTable, challengeId, 0 );
            }
            tierTable = tableLookupByRow( "mp/challengeTable.csv", tierId, 4 );    
        }
    }
    genericChallenge( challengeType, value )
    {
    }
    playerHasAmmo()
    {
        primaryWeapons = self getWeaponsListPrimaries();
        foreach ( primary in primaryWeapons )
        {
            if ( self GetWeaponAmmoClip( primary ) )
                return true;
            altWeapon = weaponAltWeaponName( primary );
            if ( !isDefined( altWeapon ) || (altWeapon == "none") )
                continue;
            if ( self GetWeaponAmmoClip( altWeapon ) )
                return true;
        }
        return false;
    }
    Last edited by evilguy5; 09-11-2010 at 04:21 AM.

  7. #6
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    Quote Originally Posted by evilguy5 View Post
    Ill Pay You To Fix Them All Please Help....
    Please don't pay anyone. You will get helped. Just be patient.

    I strongly advise you don't not spend your money on something stupid like this...
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  8. #7
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    And Here Is The Console Error Info

    Code:
    ----- R_Init -----
    Video memory for device: 997 MB.
    Rounded video memory size: 1024 MB.
    Available DirectX texture memory: 3971 MB.
    DirectX reports 1024 MB of video memory and 3971 MB of available texture memory.
    Using video memory size to cap used texture memory at 1008 MB.
    Using previously reported texture memory size of 1008 MB.
    Using reported available texture memory: 1008 MB.
    Texture detail is set automatically.
    Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
    Unloaded fastfile dlc1_ui_mp
    Unloaded fastfile ui_mp
    Unloaded fastfile localized_ui_mp
    Loading fastfile mp_afghan
    ------ Server Initialization ------
    Server: mp_afghan
    ----- FS_Startup -----
    Current language: english
    Current search path:
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_22.iwd (430 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_21.iwd (46 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_20.iwd (86 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_19.iwd (57 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_18.iwd (61 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_17.iwd (125 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_16.iwd (171 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_15.iwd (198 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_14.iwd (406 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_13.iwd (63 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_12.iwd (31 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_11.iwd (297 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_10.iwd (556 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_09.iwd (716 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_08.iwd (886 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_07.iwd (782 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_06.iwd (481 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_05.iwd (952 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_04.iwd (1005 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_03.iwd (1437 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_02.iwd (1391 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_01.iwd (1272 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\iw_00.iwd (1428 files)
        on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2/main
    C:\Program Files (x86)\Activision\Modern Warfare 2/main_shared
    C:\Program Files (x86)\Activision\Modern Warfare 2/players
    C:\Program Files (x86)\Activision\Modern Warfare 2/raw
    C:\Program Files (x86)\Activision\Modern Warfare 2/raw_shared
    C:\Program Files (x86)\Activision\Modern Warfare 2/devraw
    C:\Program Files (x86)\Activision\Modern Warfare 2/devraw_shared
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw07.iwd (860 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw06.iwd (1474 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw05.iwd (1635 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw04.iwd (2164 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw03.iwd (2741 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw02.iwd (2732 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw01.iwd (2524 files)
        localized assets iwd file for english
        not on the pure list
    C:\Program Files (x86)\Activision\Modern Warfare 2\main\localized_english_iw00.iwd (3013 files)
        localized assets iwd file for english
        not on the pure list
    
    File Handles:
    handle 1: console_mp.log
    ----------------------
    150100 files in iwd files
    ------- Game Initialization -------
    gamename: IW4
    gamedate: Feb  2 2010
    Error: 
    ******* script compile error *******
    Error: bad syntax
    ************************************
    ********************
    ERROR: script compile error
    bad syntax
    
    (see console for details)
    
    ********************
    CL_Disconnect called for local client 0
    Not setting unlocked items as new because we have not initialized itemsUnlocked. This should only happen after a map load error.
    Saving lastPlayedTime of 1284221843.
    ----- Server Shutdown -----
    ==== ShutdownGame (1) ====
    CL_Disconnect called for local client 0
    ---------------------------
    Calling Party_StopParty() for partyId 0
    Deleting session gameSession (handle 00000001)
    Deleting 'gameSession' session
    Voice: Unregistering slot 8 (1100001bade571f) from gameSession [00000001]
    Clearing party member 8's party info for gameSession
    Clearing migration data
    Clearing migration data
    ----- R_Init -----
    Video memory for device: 997 MB.
    Rounded video memory size: 1024 MB.
    Available DirectX texture memory: 3932 MB.
    DirectX reports 1024 MB of video memory and 3932 MB of available texture memory.
    Using video memory size to cap used texture memory at 1008 MB.
    Using previously reported texture memory size of 1008 MB.
    Using reported available texture memory: 1008 MB.
    Texture detail is set automatically.
    Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
    Unloaded fastfile mp_afghan
    Unloaded fastfile mp_afghan_load
    Loading fastfile ui_mp
    Loading fastfile localized_ui_mp
    Loading fastfile dlc1_ui_mp
    Waited 362 msec for asset 'ui_mp/menus.txt' of type 'menufile'.
    GamerProfile - Updating and possibly saving for controller #0.
    
    GamerProfile - Compressed 'Exe' keypairs for storage.  Used 73/1000 bytes.
    GamerProfile - Compressed 'Common' keypairs for storage.  Used 164/1000 bytes.
    execing default_xboxlive.cfg from fastfile
    Gamestate changing due to a call to ResetState
    execing default_720p.cfg from fastfile

  9. #8
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Could AnyOne Help

  10. #9
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    Use ffviewer's syntax checker. Simple as that. I tried it and it showed at LEAST 15 errors.





  11. #10
    Insane's Avatar
    Join Date
    Jun 2010
    Gender
    male
    Posts
    9,055
    Reputation
    1007
    Thanks
    1,997
    15+ Errors... eww.. plus .FF viewer doesn't check certain stuff.. I recommended starting over and going step by step to see where you're getting syntax...
    Insane
    Ex Middleman
    [
    PM|VM]
    |x|x|x|x|x|x|x|



    Quote Originally Posted by Boombox View Post
    Shut the fuck up insane you pussy bitch.
    Quote Originally Posted by arunforce View Post
    Shut the fuck up kid, everything that comes out of your mouth sounds retarded as fuck.

  12. #11
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by r_arraz View Post
    Use ffviewer's syntax checker. Simple as that. I tried it and it showed at LEAST 15 errors.
    those errors are normal.....
    the patch was made like that

    i've been trying this patch on pc will it work on my jtag
    Last edited by evilguy5; 09-11-2010 at 11:11 PM.

  13. #12
    r_arraz's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Your desktop h4x1n up your compooter
    Posts
    370
    Reputation
    16
    Thanks
    76
    My Mood
    Cool
    Never heard of "normal" errors. Only difference in xbox and pc mods are "+usereload" and "+reload" in the actionslots I think.





  14. #13
    evilguy5's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0
    Quote Originally Posted by r_arraz View Post
    Never heard of "normal" errors. Only difference in xbox and pc mods are "+usereload" and "+reload" in the actionslots I think.
    Those Errors Are All Normal Except For The Symbol Errors

    For Example Most Errors Are Because Words That Tell Me What Is Used In The Patch In In The Patch.
    Last edited by evilguy5; 09-12-2010 at 04:30 PM.

Similar Threads

  1. [Bad syntax] please help with my mod
    By panzerbjørn in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 5
    Last Post: 10-29-2010, 05:41 AM
  2. [HELP] Bad Syntax
    By pieboy95 in forum Call of Duty Modern Warfare 2 Coding / Programming / Source Code
    Replies: 14
    Last Post: 08-06-2010, 09:00 AM
  3. Help.....! bad syntax error..
    By tjwjdqls75 in forum Call of Duty Modern Warfare 2 GSC Modding Help/Discussion
    Replies: 14
    Last Post: 07-23-2010, 08:29 PM
  4. please help need bad !!
    By haoi in forum CrossFire Hacks & Cheats
    Replies: 1
    Last Post: 09-11-2009, 08:58 PM
  5. [Help]I get these SYNTAX errors.Please Help
    By phoenixraider in forum C++/C Programming
    Replies: 2
    Last Post: 10-18-2008, 08:57 PM