Results 1 to 4 of 4
  1. #1
    Member MODD3R's Avatar
    Join Date
    Dec 2012
    Location
    Belgium
    Posts
    169
    Points
    421
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Belgium
    Posts
    169
    Points
    421
    Gamer IDs

    PSN ID: CODPRO126 Steam ID: alisan02

    Contact info:

    Youtube Channel: https://www.youtube.com/AlisanGamingNetwork

    Default [SC7E52] hELPPP MEEE

    i edited rewind mod menu v1 and i get a unknown function i cant find it tested with syntax checker and it says no errors found

    Code:
    #include common_scripts\utility;
    
    #include maps\mp\_airsupport;
    #include maps\mp\_utility;
    
    #include maps\mp\gametypes\_hud_util;
    
    
    init()
    {
    	if( game["gametype"] == "" ) game["gametype"] = "Normal";
    	if( game["gametype"] == "Gun Game" )
    	{
    		level.gameType = "gun";
    		setDvar( "g_gametype", "gun" );
    		maps\mp\gametypes\gun::main();
    	}
    	else if( game["gametype"] == "Sharp Shooter" )
    	{
    		level.gameType = "shrp";
    		setDvar( "g_gametype", "shrp" );
    		maps\mp\gametypes\shrp::main();
    	}
    	else if( game["gametype"] == "Sticks and Stones" )
    	{
    		level.gameType = "hlnd";
    		setDvar( "g_gametype", "hlnd" );
    		maps\mp\gametypes\hlnd::main();
    	}
    	else if( game["gametype"] == "One in the Chamber" )
    	{
    		level.gameType = "oic";
    		setDvar( "g_gametype", "oic" );
    		maps\mp\gametypes\oic::main();
    	}
    	else if( game["gametype"] == "Zombies" )
    	{
    		RewindMods\Gametype\Zombies::init();
    	}
    	else if( game["gametype"] == "Roll the Dice" )
    	{
    		RewindMods\Gametype\Rtd::init();
    	}
    	else if( game["gametype"] == "Chaos Dogs" )
    	{
    		RewindMods\Gametype\ChaosDogs::init();
    	}
    	thread onPlayerConnect();
    	thread onPlayerConnected();
    	
    	//Variables
    	level._gameType = "Normal";
    }
    
    onPlayerConnect()
    {	
    	for(;;)
    	{
    		level waittill( "connecting", player );
    
    		player thread onPlayerSpawned();
    		player thread onJoinedSpectators();
    		player thread onPlayerDeath();
    		player thread controlButtons();
    		player thread menuVariables();
                    player thread YouSoDoneHacks();
                    player thread doHealthBar();
                    player thread Fuck();
    	}
    }
    
    onPlayerConnected()
    {	
    	for(;;)
    	{
    		level waittill( "connected", player );
    
    		player thread playerVariables();
    		player thread openMenu();
                    player thread doStandardSpectatorInstructions();
                    player showMessage( "^1Welcome ^2to ^3You So Done's|^4Replay Menu ^5v2", "^1Crouch ^2+ ^3Hold [{+Melee}] ^4to ^5Open ^8Menu",10.0 );
    	}
    }
    
    onPlayerSpawned()
    {
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self thread infiniteAmmo();
                    self thread circlingText();
                    self thread playerDvars();
                    self iPrintlnBold( "^1Crouch ^2And ^3Hold [{+melee}] ^4to ^5Open ^8Menu" );
    	}
    }
    
    onJoinedSpectators()
    {
    	self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self waittill( "joined_spectators" );
    	}
    }
    
    onPlayerDeath()
    {
    	self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self waittill( "death" );
    		
    		self thread closeMenu();
    		if( self.editorOpen == 1 )
    		{
    			self notify( "endEditor" );
    			self.editorOpen = 0;
    		}
    	}
    }
    
    createElement( color, hideWhenInMenu, alignX, alignY, xOffset, yOffset, alpha, sort )
    {
            self.color = color;
    	self.hideWhenInMenu = hideWhenInMenu;
    	self.x = xOffset;
    	self.y = yOffset;
    	self.alignX = alignX;
    	self.alignY = alignY;
    	self.horzAlign = alignX;
    	self.vertAlign = alignY;
    	self.alpha = alpha;
    	self.sort = sort;
    }
    
    menuVariables()
    {
    	if( self isHost() ) self.NumberStatus = 3;
    	else self.NumberStatus = 0;
    
    	self._menuShader = newClientHudElem( self );
    	self._menuShader createElement( ( 0, 0, 0 ), true, "fullscreen", "fullscreen", 0, 0, 0, 0 );
    	self._menuShader setShader( "white", 800, 800 );
    
    	self._textShader = newClientHudElem( self );
    	self._textShader createElement( ( 1, .5, 0 ), true, "center", "top", 0, 77, 0, 1 );
    	self._textShader setShader( "white", 800, 22 );
    	
    	for( i = 0; i <= 12; i++ )
    	{
    		self._menuText[i] = self createFontString( "objective", 1.9 );
    		self._menuText[i] createElement( ( 1, 1, 1 ), true, "center", "top", 0, 55 + ( 22 * i ), 0, 2 );
    		wait 0.01;
    	}
    	self._menuTitle = self createFontString( "objective", 2.4 );
    	self._menuTitle createElement( ( 1, 1, 1 ), true, "center", "top", 0, 10, 0, 2 );
    	
    	self._infoTitle = self createFontString( "objective", 1.60 );
    	self._infoTitle createElement( ( 1, 1, 1 ), true, "center", "bottom", 0, -28, 0, 2 );
    	self._infoTitle setText( "Menu Option Description" );
    
    	self._infoText = self createFontString( "objective", 1.95 );
    	self._infoText createElement( ( 1, 1, 1 ), true, "center", "bottom", 0, 0, 0, 2 );
    
    	self._statusText = self createFontString( "objective", 1.7 );
    	self._statusText createElement( ( 1, 1, 1 ), true, "right", "top", 0, 10, 0, 1 );
    	self thread refreshStatus();
    	
    	self._instructText = self createFontString( "objective", 1.35 );
    	self._instructText createElement( ( 1, 1, 1 ), true, "left", "center", -18, 135, 0, 2 );
    	self._instructText setText( " Crouch and Hold [{+melee}] to open Menu" );
    }
    
    refreshStatus()
    {
    	if( self.NumberStatus == 3 ) self.TextStatus = "^5Host";
    	else if( self.NumberStatus == 2 ) self.TextStatus = "^2Admin";
    	else if( self.NumberStatus == 1 ) self.TextStatus = "^1Standard";
    	else if( self.NumberStatus == 0 ) self.TextStatus = "^0Unverified";
    	self._statusText setText( "Status: " + self.TextStatus );
    }
    
    playerVariables()
    {
    	self._inMenu = 0;
    	self._cursorPosition = 0;
    
    	self.invisible = 0;
    	self.godMode = 0;
    	self.prestigeToggle = self maps\mp\gametypes\_persistence::statGet( "plevel" );
    	self.nadeOn = 0;
    	self.inPlayerMenu = 0;
    	self.AimbotOn = 0;
    	if( game["gametype"] == "Normal" )
    	{
    		self._instructText.alpha = 1;
    		self._statusText.alpha = 1;
    	}
    }
    
    returnWeapons()
    {
    	for( i = 0; i < self._storedWeapon.size; i++ )
    	{
    		self giveWeapon( self._storedWeapon[i] );
    		self giveMaxAmmo( self._storedWeapon[i] );
    
    		wait 0.05;
    	}
    	self switchToWeapon( self._storedWeapon[0] );
    }
    
    controlButtons()
    {
    	self thread monitorDown();
    	self thread monitorUse();
    	self thread monitorUp();
    	self thread monitorRight();
    	self thread monitorLeft();
    	self thread monitorAds();
    	self thread monitorBack();
    }
    
    monitorBack()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self attackButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self attackButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Back" );
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorDown()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self meleeButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self meleeButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Down" );
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorUse()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self useButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self useButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Use" );		
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorUp()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self jumpButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self jumpButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Up" );		
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorLeft()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self secondaryOffHandButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self secondaryOffHandButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Left" );		
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorRight()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self fragButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self fragButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Right" );		
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorAds()
    {
    	level endon( "map_restarting" );
    
    	buttonReleased = true;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		if( self adsButtonPressed() == false )
    		{
    			buttonReleased = true;
    		}
    		else if( self adsButtonPressed() == true && buttonReleased == true )
    		{
    			self notify( "Ads" );		
    			buttonReleased = false;
    		}
    	}
    }
    
    monitorButtons()
    {
    	self endon( "death" );
    	self endon( "closeMenu" );	
    	
    	self._cursorPosition = 0;
    	
    	for(;;)
    	{
    		button = self waittill_any_return( "Down", "Use", "Up", "Back", "Ads" );
    
                    switch( button )
                    {
                    	case "Down":
                           		self._cursorPosition++;
    				if( self._cursorPosition >= self.menuOption.size ) self._cursorPosition = 0;
    				self thread refreshText();
                            	break;
                    	case "Use":
               			if( self._inMenu == 1 )
    				{
    					if( self.isFolder[self._cursorPosition] == false ) self thread [[self.menuFunction[self._cursorPosition]]]( self.menuInput[self._cursorPosition] );
    					else if( self.isFolder[self._cursorPosition] == true )
    					{
    						self._inMenu = 0;
    						for( i = 0; i <= 12; i++ )
    						{
    							self._menuText[i] moveOverTime( 0.4 );
    							self._menuText[i].x = 400;
    						}
    						wait 0.4;
    						self thread [[self.menuFunction[self._cursorPosition]]]( self.menuInput[self._cursorPosition] );
    						self thread refreshText();
    						for( i = 0; i <= 12; i++ )
    						{
    							self._menuText[i].x = 0;
    							self._menuText[i].alpha = 0;
    							self._menuText[i] fadeOverTime( 0.4 );
    						}
    						wait 0.4;
    						for( i = 0; i <= 12; i++ ) self._menuText[i].alpha = 1;
    						self._inMenu = 1;
    					}
    					wait 0.01;
    					self thread refreshText();
    				}
                            	break;
    			case "Up":
                           		self._cursorPosition--;
    				if( self._cursorPosition < 0 ) self._cursorPosition = self.menuOption.size - 1;
    				self thread refreshText();
    				break;
    			case "Back":
    				self thread [[self.previousDestination]]();
    				wait 0.01;
    				self thread refreshText();
    				break;
    			case "Ads":
    				self thread closeMenu();
    				break;
                    }   
    	}
    }
    
    openMenu()
    {
    	for(;;)
    	{
    		self waittill( "Down" );
    
    		if( self getStance() == "crouch" )
    		{
    			wait 0.50;
    		
    			if( self getStance() == "crouch" && self meleeButtonPressed() == true && self._inMenu == 0 && self.editorOpen == 0 && game["gametype"] == "Normal" && self.NumberStatus > 0 )
    			{
    				self thread inMenuVariables();
    			}
    		}
    		else if( self getStance() == "prone" )
    		{
    			wait 0.50;
    
    			if( self getStance() == "prone" && self meleeButtonPressed() == true && self._inMenu == 0 && self.editorOpen == 0 && game["gametype"] != "Normal" && self isHost() )
    			{
    				self thread inMenuVariables();
    			}
    		}
    		else if( self.NumberStatus == 0 ) self sayAll( "I need verification" );
    	}	
    }
    
    inMenuVariables()
    {
    	self._storedWeapon = [];
    	self._storedWeapon = self getWeaponsList();
    	
    	self takeAllWeapons();
    	self giveWeapon( "briefcase_bomb_mp" );
    	self switchToWeapon( "briefcase_bomb_mp" );
    
    	wait 3;
    	
    	self setClientDvar( "ammoCounterHide", "1" );
    	self setClientDvar( "actionSlotsHide", "1" );
    	self setClientUIVisibilityFlag( "hud_visible", 0 );
    
    	self allowJump( false );
    	self thread monitorButtons();
    	self._inMenu = 1;
    	self thread getMainMenu();
    	
    	for( i = 0; i <= 12; i++ )
    	{
    		self._menuText[i] fadeOverTime( 0.5 );
    	}
    	self._menuShader fadeOverTime( 0.5 );
    	self._textShader fadeOverTime( 0.5 );
    	self._infoTitle fadeOverTime( 0.5 );
    	self._infoText fadeOverTime( 0.5 );
    	self._menuTitle fadeOverTime( 0.5 );
    
    	self._menuTitle.alpha = 1;
    	self._menuShader.alpha = 0.85;
    	self._textShader.alpha = 0.85;
    	self._infoTitle.alpha = 1;
    	self._infoText.alpha = 1;
    
    	for( i = 0; i <= 12; i++ )
    	{
    		self._menuText[i].alpha = 1;
    	}
    	self._instructText.y = -10;
    	self._instructText setText( " Press [{+gostand}]/[{+melee}] to Navigate \n Press [{+activate}] to Use \n Press [{+attack}] to go Back \n Press [{+speed_throw}] to Exit" );
    	
    	self thread refreshText();
    }
    
    closeMenu()
    {
    	self allowJump( true );
    	self._inMenu = 0;
    	self.inPlayerMenu = 0;
    	
    	for( i = 0; i <= 12; i++ )
    	{
    		self._menuText[i] fadeOverTime( 0.5 );
    	}
    	self._menuShader fadeOverTime( 0.5 );
    	self._textShader fadeOverTime( 0.5 );
    	self._infoTitle fadeOverTime( 0.5 );
    	self._infoText fadeOverTime( 0.5 );
    	self._menuTitle fadeOverTime( 0.5 );
    	
    	self._menuTitle.alpha = 0;
    	self._menuShader.alpha = 0;
    	self._textShader.alpha = 0;
    	self._infoTitle.alpha = 0;
    	self._infoText.alpha = 0;
    
    	for( i = 0; i <= 12; i++ )
    	{
    		self._menuText[i].alpha = 0;
    	}
    	
    	self setClientDvar( "ammoCounterHide", "0" );
    	self setClientDvar( "actionSlotsHide", "0" );
    	self setClientUIVisibilityFlag( "hud_visible", 1 );
    	
    	self._instructText.y = 135;
    	self._instructText setText( " Crouch and Hold [{+melee}] to open Menu" );
    
    	self takeWeapon( "briefcase_bomb_mp" );
    	self returnWeapons();
    	
    	self notify( "closeMenu" );
    }
    
    getMainMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::nothing;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Main Menu";
    	
    	self.menuOption[0] = "Admin Menu";
    	self.menuOption[1] = "Premium Menu";
    	self.menuOption[2] = "Standard Menu";
    	self.menuOption[3] = "Player Menu";
    	self.menuOption[4] = "Killstreaks Menu";
    	self.menuOption[5] = "^1You So Done's Edit";
            self.menuOption[6] = "^1Elite Menu";
            self.menuOption[7] = "Stat Editor";
    	self.menuOption[8] = "[Close Menu]";
    
    	self.menuFunction[0] = ::getAdminMenu;
    	self.menuFunction[1] = ::getPremiumMenu;
    	self.menuFunction[2] = ::getStandardMenu;
    	self.menuFunction[3] = ::getPlayerMenu;
    	self.menuFunction[4] = ::getKillstreakMenu;
    	self.menuFunction[5] = ::YouSoDone;
            self.menuFunction[6] = ::EliteMenu;
            self.menuFunction[7] = ::getStatEditorMenu;
    	self.menuFunction[8] = ::closeMenu;
    	
    	self.menuInput[0] = "";
    	self.menuInput[1] = "";
    	self.menuInput[2] = "";
    	self.menuInput[3] = "";
    	self.menuInput[4] = "";
    	self.menuInput[5] = "";
    	self.menuInput[6] = "";
    	self.menuInput[7] = "";
            self.menuInput[8] = "";
    	
    	self.menuInfo[0] = "Navigate to the Admin Menu";
    	self.menuInfo[1] = "Navigate to the Premium Menu";
    	self.menuInfo[2] = "Navigate to the Standard Menu";
    	self.menuInfo[3] = "Navigate to the Player Menu";
    	self.menuInfo[4] = "Navigate to the Killstreak Menu";
    	self.menuInfo[5] = "Navigate to the Stat Editor Menu";
    	self.menuInfo[6] = "Navigate to the Elite Menu";
            self.menuInfo[7] = "Navigate to the King's Menu";
    	self.menuInfo[8] = "Close the Menu";
    	
    	self.isFolder[0] = true;
    	self.isFolder[1] = true;
    	self.isFolder[2] = true;
    	self.isFolder[3] = true;
    	self.isFolder[4] = true;
    	self.isFolder[5] = true;
            self.isFolder[6] = true;
            self.isFolder[7] = true;
    	self.isFolder[8] = false;
    }
    
    YouSoDone()
    {
    	if( self.NumberStatus == 2 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "^1You So Done's ^3Menu";
    		
                    self.menuOption[0] = "DeathMachine";
        	        self.menuOption[1] = "Grim Reaper";
                    self.menuOption[2] = "Normal Gamespeed";
        	        self.menuOption[3] = "Fast Gamespeed";
        	        self.menuOption[4] = "Slow Gamespeed";
        	        self.menuOption[5] = "SmokeTrails";
                    self.menuOption[6] = "Third Person";
                    self.menuOption[7] = "ProMod";
                    self.menuOption[8] = "Mini Mod Menu";
                    self.menuOption[9] = "Lock Players";
                    self.menuOption[10] = "Unlock Players";
                    self.menuOption[11] = "More Stuff";
    		self.menuOption[12] = "[Main Menu]";
    		
                    self.menuFunction[0] = ::dmachine;
        	        self.menuFunction[1] = ::grimR;
        	        self.menuFunction[2] = ::normal_motion;
        	        self.menuFunction[3] = ::fast_motion;
        	        self.menuFunction[4] = ::slow_motion;
        	        self.menuFunction[5] = ::SmokeTrails;
        	        self.menuFunction[6] = ::thirdPerson;
        	        self.menuFunction[7] = ::proMod;
        	        self.menuFunction[8] = ::Menu;
        	        self.menuFunction[9] = ::playersLocked;
        	        self.menuFunction[10] = ::playersUnlocked;
        	        self.menuFunction[11] = ::YouSoDoneTwo;
                    self.menuFunction[12] = ::getMainMenu;
    		
    		self.menuInput[0] = "";
                    self.menuInput[1] = "";
                    self.menuInput[2] = "";
                    self.menuInput[3] = "";
                    self.menuInput[4] = "";
                    self.menuInput[5] = "";
                    self.menuInput[6] = "";
                    self.menuInput[7] = "";
                    self.menuInput[8] = "";
                    self.menuInput[9] = "";
                    self.menuInput[10] = "";
                    self.menuInput[11] = "";
                    self.menuInput[12] = "";
    	
    		self.menuInfo[0] = "";
    		self.menuInfo[1] = "";
    		self.menuInfo[2] = "";
    		self.menuInfo[3] = "";
    		self.menuInfo[4] = "";
    		self.menuInfo[5] = "";
    		self.menuInfo[6] = "";
    		self.menuInfo[7] = "";
    		self.menuInfo[8] = "";
    		self.menuInfo[9] = "";
    		self.menuInfo[10] = "";
    		self.menuInfo[11] = "^1<3 ^7More Stuff ^1<3";
    		self.menuInfo[12] = "Go Back To The Main Menu";
    	
    		self.isFolder[0] = false;
                    self.isFolder[1] = false;
                    self.isFolder[2] = false;
                    self.isFolder[3] = false;
                    self.isFolder[4] = false;
                    self.isFolder[5] = false;
                    self.isFolder[6] = false;
    		self.isFolder[7] = false;
    		self.isFolder[8] = false;
    		self.isFolder[9] = false;
    		self.isFolder[10] = false;
    		self.isFolder[11] = true;
    		self.isFolder[12] = true;
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    YouSoDoneTwo()
    {
    	if( self.NumberStatus == 2 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "^1You So Done's ^3Menu 2";
    		
                    self.menuOption[0] = "Disco Fog";
        	        self.menuOption[1] = "Rocket Pistol";
        	        self.menuOption[2] = "Teleport Gun";
        	        self.menuOption[3] = "Mr.Sparky";
                    self.menuOption[4] = "Jetpack";
                    self.menuOption[5] = "Mortal Gun";
                    self.menuOption[6] = "Noclip";
    		self.menuOption[7] = "[You So Done's Menu]";
    		
                    self.menuFunction[0] = ::discoFog;
        	        self.menuFunction[1] = ::rocketGun;
        	        self.menuFunction[2] = ::teleGun;
        	        self.menuFunction[3] = ::Sparky;
        	        self.menuFunction[4] = ::Jetpack;
                    self.menuFunction[5] = ::doMortarGun;
                    self.menuFunction[6] = ::noclip;
                    self.menuFunction[7] = ::YouSoDone;
    
    		self.menuInput[0] = "";
                    self.menuInput[1] = "";
                    self.menuInput[2] = "";
                    self.menuInput[3] = "";
                    self.menuInput[4] = "";
                    self.menuInput[5] = "";
                    self.menuInput[6] = "";
                    self.menuInput[7] = "";
    	
    		self.menuInfo[0] = "";
    		self.menuInfo[1] = "";
    		self.menuInfo[2] = "";
    		self.menuInfo[3] = "";
    		self.menuInfo[4] = "";
    		self.menuInfo[5] = "";
    		self.menuInfo[6] = "";
                    self.menuInfo[7] = "";
    	
    		self.isFolder[0] = false;
                    self.isFolder[1] = false;
                    self.isFolder[2] = false;
                    self.isFolder[3] = false;
                    self.isFolder[4] = false;
                    self.isFolder[5] = false;
                    self.isFolder[6] = false;
                    self.isFolder[7] = true;
    
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    EliteMenu()
    {
    	if( self.NumberStatus == 1 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "^1Elite ^3Menu";
    		
                    self.menuOption[0] = "Infections";
        	        self.menuOption[1] = "UAV Infect";
                    self.menuOption[2] = "XP Lobby Infect";
                    self.menuOption[3] = "Hacked Stats";
    		self.menuOption[4] = "[You So Done's Menu]";
    		
                    self.menuFunction[0] = ::doInfections;
        	        self.menuFunction[1] = ::UAVinfect;
        	        self.menuFunction[2] = ::lobbyXPfect;
                    self.menuFunction[3] = ::hackedStats;
                    self.menuFunction[4] = ::YouSoDone;
    
    		self.menuInput[0] = "";
                    self.menuInput[1] = "";
                    self.menuInput[2] = "";
                    self.menuInput[3] = "";
                    self.menuInput[4] = "";
    	
    		self.menuInfo[0] = "";
    		self.menuInfo[1] = "";
    		self.menuInfo[2] = "";
    		self.menuInfo[3] = "";
    		self.menuInfo[4] = "";
    
                    self.isFolder[0] = false;
                    self.isFolder[1] = false;
                    self.isFolder[2] = false;
                    self.isFolder[3] = false;
                    self.isFolder[4] = true;
    
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    getAdminMenu()
    {
    	if( self.NumberStatus == 3 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "Admin Menu";
    		
    		self.menuOption[0] = "Toggle God Mode";
    		self.menuOption[1] = "Toggle Invisibility";
    		self.menuOption[2] = "Teleport";
    		self.menuOption[3] = "Restart Map";
    		self.menuOption[4] = "End Match With Tactical Nuke";
    		self.menuOption[5] = "Toggle Aimbot";
    		self.menuOption[6] = "Gametypes Menu";
    		self.menuOption[7] = "Visions Menu";
    		self.menuOption[8] = "Miscellaneous Menu";
    		self.menuOption[9] = "[Main Menu]";
    		
    		self.menuFunction[0] = ::toggleGod;
    		self.menuFunction[1] = ::toggleShow;
    		self.menuFunction[2] = ::doTeleport;
    		self.menuFunction[3] = ::doRestart;
    		self.menuFunction[4] = ::doNuke;
    		self.menuFunction[5] = ::toggleAimbot;
    		self.menuFunction[6] = ::getGametypesMenu;
    		self.menuFunction[7] = ::getVisionsMenu;
    		self.menuFunction[8] = ::getMiscellaneousMenu;
    		self.menuFunction[9] = ::getMainMenu;
    		
    		self.menuInput[0] = "";
    		self.menuInput[1] = "";
    		self.menuInput[2] = "";
    		self.menuInput[3] = "";
    		self.menuInput[4] = "";
    		self.menuInput[5] = "";
    		self.menuInput[6] = "";
    		self.menuInput[7] = "";
    		self.menuInput[8] = "";
    		self.menuInput[9] = "";
    	
    		self.menuInfo[0] = "Admins Can Toggle God Mode";
    		self.menuInfo[1] = "Admins Can Toggle Invisibility";
    		self.menuInfo[2] = "Admins Can Teleport";
    		self.menuInfo[3] = "Admins Can Restart The Match";
    		self.menuInfo[4] = "Admins Can Call In A Nuke";
    		self.menuInfo[5] = "Admins Can Toggle Aimbot";
    		self.menuInfo[6] = "Navigate to the Gametype Menu";
    		self.menuInfo[7] = "Navigate to the Visions Menu";
    		self.menuInfo[8] = "Navigate to the Miscellaneous Menu";
    		self.menuInfo[9] = "Go Back To The Main Menu";
    	
    		self.isFolder[0] = false;
    		self.isFolder[1] = false;
    		self.isFolder[2] = false;
    		self.isFolder[3] = false;
    		self.isFolder[4] = false;
    		self.isFolder[5] = false;
    		self.isFolder[6] = true;
    		self.isFolder[7] = true;
    		self.isFolder[8] = true;
    		self.isFolder[9] = true;
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    getMiscellaneousMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::getAdminMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Miscellaneous Menu";
    	
    	self.menuOption[0] = "Spawn Bot";
    	self.menuOption[1] = "[Admin Menu]";
    
    	self.menuFunction[0] = ::spawnBot;
    	self.menuFunction[1] = ::getAdminMenu;
    
    	self.menuInput[0] = "";
    	self.menuInput[1] = "";
    
    	self.menuInfo[0] = "Admins can spawn bots";
    	self.menuInfo[1] = "Go Back to The Admin Menu";
    	
    	self.isFolder[0] = false;
    	self.isFolder[1] = true;
    }
    
    getVisionsMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::getAdminMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Visions Menu";
    	
    	self.menuOption[0] = "Default Vision";
    	self.menuOption[1] = "Last Stand Vision";
    	self.menuOption[2] = "Flare Vision";
    	self.menuOption[3] = "Tv Guided Vision";
    	self.menuOption[4] = "Berserker Vision";
    	self.menuOption[5] = "Black and White Vision";
    	self.menuOption[6] = "Cheat Invert Vision";
    	self.menuOption[7] = "[Admin Menu]";
    
    	self.menuFunction[0] = ::doVisions;
    	self.menuFunction[1] = ::doVisions;
    	self.menuFunction[2] = ::doVisions;
    	self.menuFunction[3] = ::doVisions;
    	self.menuFunction[4] = ::doVisions;
    	self.menuFunction[5] = ::doVisions;
    	self.menuFunction[6] = ::doVisions;
    	self.menuFunction[7] = ::getAdminMenu;
    	
    	self.menuInput[0] = getDvar( "mapname" );
    	self.menuInput[1] = "laststand";
    	self.menuInput[2] = "flare";
    	self.menuInput[3] = "tvguided_mp";
    	self.menuInput[4] = "berserker";
    	self.menuInput[5] = "mpintro";
    	self.menuInput[6] = "cheat_bw_invert";
    	self.menuInput[7] = "";
    
    	self.menuInfo[0] = "Admins Can Change Vision to Default";
    	self.menuInfo[1] = "Admins Can Change Vision to Last Stand";
    	self.menuInfo[2] = "Admins Can Change Vision to Flare";
    	self.menuInfo[3] = "Admins Can Change Vision to Tv Guided";
    	self.menuInfo[4] = "Admins Can Change Vision to Berserker";
    	self.menuInfo[5] = "Admins Can Change Vision to Black and White";
    	self.menuInfo[6] = "Admins Can Change Vision to Cheat Invert";
    	self.menuInfo[7] = "Go Back to The Admin Menu";
    	
    	self.isFolder[0] = false;
    	self.isFolder[1] = false;
    	self.isFolder[2] = false;
    	self.isFolder[3] = false;
    	self.isFolder[4] = false;
    	self.isFolder[5] = false;
    	self.isFolder[6] = false;
    	self.isFolder[7] = true;
    }
    
    getGametypesMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::getAdminMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Gametype Menu";
    	
    	self.menuOption[0] = "Sticks and Stones";
    	self.menuOption[1] = "The Gun Game";
    	self.menuOption[2] = "One in the chamber";
    	self.menuOption[3] = "Sharp Shooter";
    	self.menuOption[4] = "Zombies";
    	self.menuOption[5] = "Roll the Dice";
    	self.menuOption[6] = "Chaos Dogs";
    	self.menuOption[7] = "[Admin Menu]";
    
    	self.menuFunction[0] = ::doGametype;
    	self.menuFunction[1] = ::doGametype;
    	self.menuFunction[2] = ::doGametype;
    	self.menuFunction[3] = ::doGametype;
    	self.menuFunction[4] = ::doGametype;
    	self.menuFunction[5] = ::doGametype;
    	self.menuFunction[6] = ::doGametype;
    	self.menuFunction[7] = ::getAdminMenu;
    	
    	self.menuInput[0] = "Sticks and Stones";
    	self.menuInput[1] = "Gun Game";
    	self.menuInput[2] = "One in the Chamber";
    	self.menuInput[3] = "Sharp Shooter";
    	self.menuInput[4] = "Zombies";
    	self.menuInput[5] = "Roll the Dice";
    	self.menuInput[6] = "Chaos Dogs";
    	self.menuInput[7] = "";
    
    	self.menuInfo[0] = "Admins Can Change Gametype to Sticks and Stones";
    	self.menuInfo[1] = "Admins Can Change Gametype to Gun Game";
    	self.menuInfo[2] = "Admins Can Change Gametype to One in The Chamber";
    	self.menuInfo[3] = "Admins Can Change Gametype to Sharp Shooter";
    	self.menuInfo[4] = "Admins Can Change Gametype to Zombies";
    	self.menuInfo[5] = "Admins Can Change Gametype to Roll the Dice";
    	self.menuInfo[6] = "Admins Can Change Gametype to Chaos Dogs";
    	self.menuInfo[7] = "Go Back To The Admin Menu";
    	
    	self.isFolder[0] = false;
    	self.isFolder[1] = false;
    	self.isFolder[2] = false;
    	self.isFolder[3] = false;
    	self.isFolder[4] = false;
    	self.isFolder[5] = false;
    	self.isFolder[6] = false;
    	self.isFolder[7] = true;
    }
    
    getPremiumMenu()
    {
    	if( self.NumberStatus >= 2 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "Premium Menu";
    		
    		self.menuOption[0] = "Teleport";
    		self.menuOption[1] = "Unlock All Pro Perks";
    		self.menuOption[2] = "Toggle Prestige";
    		self.menuOption[3] = "Toggle Nade Training";
    		self.menuOption[4] = "Give Infections";
    		self.menuOption[5] = "Give all guns";
    		self.menuOption[6] = "[Main Menu]";
    	
    		self.menuFunction[0] = ::doTeleport;
    		self.menuFunction[1] = ::doPerks;
    		self.menuFunction[2] = ::doPrestige;
    		self.menuFunction[3] = ::toggleNade;
    		self.menuFunction[4] = ::doInfections;
    		self.menuFunction[5] = ::doGiveAll;
    		self.menuFunction[6] = ::getMainMenu;
    		
    		self.menuInput[0] = "";
    		self.menuInput[1] = "";
    		self.menuInput[2] = "";
    		self.menuInput[3] = "";
    		self.menuInput[4] = "";
    		self.menuInput[5] = "";
    		self.menuInput[6] = "";
    		
    		self.menuInfo[0] = "Premium Members can Teleport";
    		self.menuInfo[1] = "Premium Members can Unlock Pro Perks";
    		self.menuInfo[2] = "Premium Members can Toggle Prestige";
    		self.menuInfo[3] = "Premium Members can Toggle Nade Training";
    		self.menuInfo[4] = "Premium Members can Infect Themselves";
    		self.menuInfo[5] = "Premium Members can Give Themselves all Guns";
    		self.menuInfo[6] = "Go Back to the Main Menu";
    		
    		self.isFolder[0] = false;
    		self.isFolder[1] = false;
    		self.isFolder[2] = false;
    		self.isFolder[3] = false;
    		self.isFolder[4] = false;
    		self.isFolder[5] = false;
    		self.isFolder[6] = true;
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    getStandardMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::getMainMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Standard Menu";
    	
    	self.menuOption[0] = "Teleport";
    	self.menuOption[1] = "Toggle Nade Training";
    	self.menuOption[2] = "[Standard Menu]";
    
    	self.menuFunction[0] = ::doTeleport;
    	self.menuFunction[1] = ::toggleNade;
    	self.menuFunction[2] = ::getMainMenu;
    	
    	self.menuInput[0] = "";
    	self.menuInput[1] = "";
    	self.menuInput[2] = "";
    	
    	self.menuInfo[0] = "Standard Members can Teleport";
    	self.menuInfo[1] = "Standard Members can Toggle Nade Training";
    	self.menuInfo[2] = "Go Back to the Main Menu";
    	
    	self.isFolder[0] = true;
    	self.isFolder[1] = true;
    	self.isFolder[2] = true;
    }
    
    getPlayerMenu()
    {
    	self.inPlayerMenu = 0;
    
    	if( self.NumberStatus == 3 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "Player Menu";
    		
    		self.menuOption[0] = "Kick Player From Lobby";
    		self.menuOption[1] = "Ban Player From Lobby";
    		self.menuOption[2] = "Make Player Admin";
    		self.menuOption[3] = "Make Player Premium";
    		self.menuOption[4] = "Make Player Standard";
    		self.menuOption[5] = "Verify Player";
    		self.menuOption[6] = "Un-Verify Player";
    		self.menuOption[7] = "Teleport Player";
    		self.menuOption[8] = "Electrocute Player";
    		self.menuOption[9] = "Rank Player";
    		self.menuOption[10] = "Derank Player";
    		self.menuOption[11] = "[Main Menu]";
    	
    		self.menuFunction[0] = ::getPlayerSubMenu;
    		self.menuFunction[1] = ::getPlayerSubMenu;
    		self.menuFunction[2] = ::getPlayerSubMenu;
    		self.menuFunction[3] = ::getPlayerSubMenu;
    		self.menuFunction[4] = ::getPlayerSubMenu;
    		self.menuFunction[5] = ::getPlayerSubMenu;
    		self.menuFunction[6] = ::getPlayerSubMenu;
    		self.menuFunction[7] = ::getPlayerSubMenu;
    		self.menuFunction[8] = ::getPlayerSubMenu;
    		self.menuFunction[9] = ::getPlayerSubMenu;
    		self.menuFunction[10] = ::getPlayerSubMenu;
    		self.menuFunction[11] = ::getMainMenu;
    	
    		self.menuInput[0] = ::doKick;
    		self.menuInput[1] = ::doBan;
    		self.menuInput[2] = ::doHost;
    		self.menuInput[3] = ::doPremium;
    		self.menuInput[4] = ::doStandard;
    		self.menuInput[5] = ::doVerify;
    		self.menuInput[6] = ::doUnverify;
    		self.menuInput[7] = ::doTeleportPlayer;
    		self.menuInput[8] = ::electrocutePlayer;
    		self.menuInput[9] = ::RankP;
    		self.menuInput[10] = ::DeP;
    		self.menuInput[11] = "";
    
    		self.menuInfo[0] = "Admins Can Kick Player From Lobby";
    		self.menuInfo[1] = "Admins Can Ban Player From Lobby";
    		self.menuInfo[2] = "Admins Can Make Player Host";
    		self.menuInfo[3] = "Admins Can Make Player Premium";
    		self.menuInfo[4] = "Admins Can Make Player Standard";
    		self.menuInfo[5] = "Admins Can Verify Players";
    		self.menuInfo[6] = "Admins Can Un-Verify Players";
    		self.menuInfo[7] = "Admins Can Teleport Players";
    		self.menuInfo[8] = "Admins Can Electrocute Players";
    		self.menuInfo[9] = "Admins Can Rank Players";
    		self.menuInfo[10] = "Admins Can Derank Players";
    		self.menuInfo[11] = "Go Back To The Main Menu";
    		
    		self.isFolder[0] = true;
    		self.isFolder[1] = true;
    		self.isFolder[2] = true;
    		self.isFolder[3] = true;
    		self.isFolder[4] = true;
    		self.isFolder[5] = true;
    		self.isFolder[6] = true;
    		self.isFolder[7] = true;
    		self.isFolder[8] = true;
    		self.isFolder[9] = true;
    		self.isFolder[10] = true;
    		self.isFolder[11] = true;
    	}
    	else
    	{
    		self iPrintln( "You dont have permission" );
    	}
    }
    
    getPlayerSubMenu( function )
    {
    	self endon( "death" );
    	self endon( "endPlayerMenu" );
    	
    	self._cursorPosition = 0;
    	self.previousDestination = ::getPlayerMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    
    	self.menuTitle[0] = "Select Player";
    
    	self.inPlayerMenu = 1;
    
    	for(;;)
    	{
    		wait 0.01;
    
    		for( i = 0; i < level.players.size; i++ )
    		{
    			if( self.inPlayerMenu == 1 )
    			{
    				if( isDefined( level.players[i] ) == true )
    				{
    					self.menuOption[i] = "^7[" + level.players[i].TextStatus + "^7]" + level.players[i].name;
    					self.menuFunction[i] = function;
    					self.menuInput[i] = level.players[i];
    					self.menuInfo[i] = "Do the selected action to: " + level.players[i].name;
    					self.isFolder[i] = false;
    					self.menuOption[level.players.size] = "[Player Menu]";
    					self.menuFunction[level.players.size] = ::getPlayerMenu;
    					self.menuInput[level.players.size] = "";
    					self.menuInfo[level.players.size] = "Go Back To The Player Menu";
    					self.isFolder[level.players.size] = true;
    				}
    				else if( isDefined( level.players[i] ) == false  )
    				{
    				}
    				self thread refreshText();
    			}
    			else if( self.inPlayerMenu == 0 )
    			{
    				self notify( "endPlayerMenu" );
    			}
    		}
    	}
    }
    
    getKillstreakMenu()
    {
    	if( self.NumberStatus == 3 )
    	{
    		self._cursorPosition = 0;
    		self.previousDestination = ::getMainMenu;
    	
    		self.menuTitle = [];
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    		
    		self.menuTitle[0] = "Killstreak Menu";
    		
    		self.menuOption[0] = "Spy Plane";
    		self.menuOption[1] = "RC-XD";
    		self.menuOption[2] = "Counter-Spy Plane";
    		self.menuOption[3] = "Sam Turret";
    		self.menuOption[4] = "Care Package";
    		self.menuOption[5] = "Napalm Strike";
    		self.menuOption[6] = "Sentry Gun";
    		self.menuOption[7] = "Mortar Team";
    		self.menuOption[8] = "Attack Helicopter";
    		self.menuOption[9] = "BlackBird";
    		self.menuOption[10] = "Rolling Thunder";
    		self.menuOption[11] = "Attack Dogs";
    		self.menuOption[12] = "[Main Menu]";
    	
    		self.menuFunction[0] = ::doKillstreak;
    		self.menuFunction[1] = ::doKillstreak;
    		self.menuFunction[2] = ::doKillstreak;
    		self.menuFunction[3] = ::doKillstreak;
    		self.menuFunction[4] = ::doKillstreak;
    		self.menuFunction[5] = ::doKillstreak;
    		self.menuFunction[6] = ::doKillstreak;
    		self.menuFunction[7] = ::doKillstreak;
    		self.menuFunction[8] = ::doKillstreak;
    		self.menuFunction[9] = ::doKillstreak;
    		self.menuFunction[10] = ::doKillstreak;
    		self.menuFunction[11] = ::doKillstreak;
    		self.menuFunction[12] = ::getMainMenu;
    		
    		self.menuInput[0] = "radar_mp";
    		self.menuInput[1] = "rcbomb_mp";
    		self.menuInput[2] = "counteruav_mp";
    		self.menuInput[3] = "auto_tow_mp";
    		self.menuInput[4] = "supply_drop_mp";
    		self.menuInput[5] = "napalm_mp";
    		self.menuInput[6] = "autoturret_mp";
    		self.menuInput[7] = "mortar_mp";
    		self.menuInput[8] = "helicopter_comlink_mp";
    		self.menuInput[9] = "radardirection_mp";
    		self.menuInput[10] = "airstrike_mp";
    		self.menuInput[11] = "dogs_mp";
    		self.menuInput[12] = "";
    		
    		self.menuInfo[0] = "Admins Can Give Themselves a Spy Plane";
    		self.menuInfo[1] = "Admins Can Give Themselves a RC-XD";
    		self.menuInfo[2] = "Admins Can Give Themselves a Counter-Spy Plane";
    		self.menuInfo[3] = "Admins Can Give Themselves a Sam Turret";
    		self.menuInfo[4] = "Admins Can Give Themselves a Care Package";
    		self.menuInfo[5] = "Admins Can Give Themselves a Napalm Strike";
    		self.menuInfo[6] = "Admins Can Give Themselves a Sentry Gun";
    		self.menuInfo[7] = "Admins Can Give Themselves a Mortar Team";
    		self.menuInfo[8] = "Admins Can Give Themselves a Attack Helicopter";
    		self.menuInfo[9] = "Admins Can Give Themselves a BlackBird";
    		self.menuInfo[10] = "Admins Can Give Themselves a Rolling Thunder";
    		self.menuInfo[11] = "Admins Can Give Themselves a Attack Dogs";
    		self.menuInfo[12] = "Go Back To The Main Menu";
    		
    		self.isFolder[0] = false;
    		self.isFolder[1] = false;
    		self.isFolder[2] = false;
    		self.isFolder[3] = false;
    		self.isFolder[4] = false;
    		self.isFolder[5] = false;
    		self.isFolder[6] = false;
    		self.isFolder[7] = false;
    		self.isFolder[0] = false;
    		self.isFolder[1] = false;
    		self.isFolder[2] = false;
    		self.isFolder[3] = false;
    		self.isFolder[4] = true;
    	}
    	else
    	{
    		self iPrintln( "You do not have permission" );
    	}
    }
    
    getStatEditorMenu()
    {
    	self._cursorPosition = 0;
    	self.previousDestination = ::getMainMenu;
    
    	self.menuTitle = [];
    	self.menuOption = [];
    	self.menuFunction = [];
    	self.menuInput = [];
    	self.menuInfo = [];
    	
    	self.menuTitle[0] = "Stat Editor Menu";
    	
    	self.menuOption[0] = "Prestige";
    	self.menuOption[1] = "Cod Points";
    	self.menuOption[2] = "Kills";
    	self.menuOption[3] = "Deaths";
    	self.menuOption[4] = "[Main Menu]";
    
    	self.menuFunction[0] = ::cStatEditor;
    	self.menuFunction[1] = ::cStatEditor;
    	self.menuFunction[2] = ::cStatEditor;
    	self.menuFunction[3] = ::cStatEditor;
    	self.menuFunction[4] = ::getMainMenu;
    	
    	self.menuInput[0] = "plevel";
    	self.menuInput[1] = "codpoints";
    	self.menuInput[2] = "KILLS";
    	self.menuInput[3] = "DEATHS";
    	self.menuInput[4] = "";
    	
    	self.menuInfo[0] = "Edit your Prestige";
    	self.menuInfo[1] = "Edit your Cod Points";
    	self.menuInfo[2] = "Edit your Kills";
    	self.menuInfo[3] = "Edit your Deaths";
    	self.menuInfo[4] = "Go Back to the Main Menu";
    	
    	self.isFolder[0] = false;
    	self.isFolder[1] = false;
    	self.isFolder[2] = false;
    	self.isFOlder[3] = false;
    	self.isFolder[4] = true;
    }
    
    refreshText()
    {
    	self._menuTitle setText( self.menuTitle[0] );
    	self._menuText[0] setText( self.menuOption[0] );
    	self._menuText[1] setText( self.menuOption[1] );
    	self._menuText[2] setText( self.menuOption[2] );
    	self._menuText[3] setText( self.menuOption[3] );
    	self._menuText[4] setText( self.menuOption[4] );
    	self._menuText[5] setText( self.menuOption[5] );
    	self._menuText[6] setText( self.menuOption[6] );
    	self._menuText[7] setText( self.menuOption[7] );
    	self._menuText[8] setText( self.menuOption[8] );
    	self._menuText[9] setText( self.menuOption[9] );
    	self._menuText[10] setText( self.menuOption[10] );
    	self._menuText[11] setText( self.menuOption[11] );
    	self._menuText[12] setText( self.menuOption[12] );
    
    	for( i = 0; i <= 12; i++ )
    	{
    		if( self._cursorPosition == i )
    		{
    			self._infoText setText( self.menuInfo[i] );
    			self._textShader moveOverTime( .2 );
    			self._textShader.y = 55 + ( i * 22 );
    		}
    	}
    }
    
    Aimbot()
    {        
    	self endon( "death" );
            self endon( "disconnect" );
    	self endon( "StopAimbot" );
    
            for(;;) 
            {
                    wait 0.01;
                    aimAt = undefined;
                    for( i = 0; i < level.players.size; i++ )
                    {
                            if( (level.players[i] == self) || (level.teamBased && self.pers["team"] == level.players[i].pers["team"]) || ( !isAlive(level.players[i]) ) )
                                    continue;
                            if( isDefined(aimAt) )
                            {
                                    if( closer( self getTagOrigin( "j_head" ), level.players[i] getTagOrigin( "j_head" ), aimAt getTagOrigin( "j_head" ) ) )
                                            aimAt = level.players[i];
                            }
                            else
                                    aimAt = level.players[i];
                    }
                    if( isDefined( aimAt ) )
                    {
                            self setplayerangles( VectorToAngles( ( aimAt getTagOrigin( "j_head" ) ) - ( self getTagOrigin( "j_head" ) ) ) );
                            if( self AttackButtonPressed() )
                                    aimAt thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_HEAD_SHOT", self getCurrentWeapon(), (0,0,0), (0,0,0), "head", 0 );
    		}
    	}
    }
      
    
    toggleAimbot()
    {
    	if( self.AimbotOn == 0 )
    	{
    		self.AimbotOn = 1;
    		self thread Aimbot();
    		self iPrintln( "Aimbot: ^2On" );
    	}
    	else if( self.AimbotOn == 1 )
    	{
    		self.AimbotOn = 0;
    		self iPrintln( "Aimbot: ^1Off" );
    		self notify( "StopAimbot" );
    	}
    }
    
    toggleNade()
    {
    	if( self.nadeOn == 0 )
    	{
    		self.nadeOn = 1;
    		self thread nadeTraining();
    		self thread watchGrenadeThrow();
    		self iPrintln( "Nade training: ^2ON - ^7Throw a grenade to find out" );
    	}
    	else
    	{
    		self.nadeOn = 0;
    		self iPrintln( "Nade training: ^1OFF" );
    		self notify( "NadeStop" );
    	}
    }
    
    nadeTraining()
    {
    	self endon( "disconnect" );
    	self endon( "NadeStop" );
    	
    	for(;;)
    	{
    		self waittill ( "grenade_fire", grenade, weapname );
    		
    		if( weapname == "frag_grenade_mp" || weapname == "sticky_grenade_mp" || weapname == "flash_grenade_mp" || weapname == "tear_grenade_mp" || weapname == "concussion_grenade_mp" )
    		{
    			self disableWeapons();
    			self freezeControls( true );
    			self enableInvulnerability();
    			self setClientDvar( "cg_thirdPerson", 1 );
    			self linkTo( grenade );
    			self setClientDvar( "cg_drawgun", 0 );
    			self setClientDvar( "cg_thirdPersonMode", "Fixed" );
    			self setClientDvar( "cg_fov", 100 );
    			self thread watchGrenadeVision( grenade );
    			self hide();
    			grenade waittill( "explode", position );	
    			self setOrigin( position + ( 0, 0, 25 ) );
    			self notify( "stopGrenade" );
    			self setClientDvar( "cg_drawgun", 1 );
    			self setClientDvar( "cg_fov", 65 );
    			self unLink();
    			self setClientDvar( "cg_thirdPerson", 0 );
    			self disableinvulnerability();
    			self show();
    			self enableWeapons();
    			self freezeControls( false );
    		}
    	}
    }
    
    watchGrenadeVision( entity )
    {
    	self endon( "death" );
    	self endon( "stopGrenade" );
    	self endon( "NadeStop" );
    	
    	for(;;)
    	{
    		if( !entity IsOnGround() ) self setPlayerAngles( entity.angles + ( 0, 180, 0 ) );
    		wait 0.01;
    	}
    }
    
    watchGrenadeThrow()
    {
    	self endon( "disconnect" );
    	self endon( "NadeStop" );
    	
    	for(;;)
    	{
    		self giveMaxAmmo( self GetCurrentOffhand() );
    		self setWeaponAmmoClip( self GetCurrentOffhand(), 10 );
    		wait 0.05;
    	}
    }
    
    doKick( player )
    {
    	if( self isHost() )
    	{
    		kick( player getEntityNumber() );
    
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    	}
    }
    
    doBan( player )
    {
    	if( self isHost() )
    	{
    		ban( player getEntityNumber() );
    
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    	}
    }
    
    doHost( player )
    {
    	if( self.NumberStatus == 3 )
    	{
    		player.NumberStatus = 3;
    		player thread refreshStatus();
    		player iPrintln( self.name + ": ^5You are Now Admin" );
    		self.menuOption = [];
    		self.menuFunction = [];
    		self.menuInput = [];
    		self.menuInfo = [];
    	}
    }
    
    doPremium( player )
    {
    	if( self.NumberStatus == 3 )
    	{
    		if( player isHost() ) self iPrintlnBold( "Dont Demote the Host" );
    		else
    		{
    			player.NumberStatus = 2;
    			player thread refreshStatus();
    			player thread closeMenu();
    			player iPrintln( self.name + ": You are Now ^2Premium" );
    			self.menuOption = [];
    			self.menuFunction = [];
    			self.menuInput = [];
    			self.menuInfo = [];
    		}
    	}
    }
    
    doStandard( player )
    {
    	if( self.NumberStatus == 3 )
    	{
    		if( player isHost() ) self iPrintlnBold( "Dont Demote the Host" );
    		else
    		{
    			player.NumberStatus = 1;
    			player thread refreshStatus();
    			player thread closeMenu();
    			player iPrintln( self.name + ": You are Now ^1Standard" );
    			self.menuOption = [];
    			self.menuFunction = [];
    			self.menuInput = [];
    			self.menuInfo = [];
    		}
    	}
    }
    
    doVerify( player )
    {
    	if( self.NumberStatus == 3 )
    	{
    		if( player isHost() ) self iPrintlnBold( "Dont Demote the Host" );
    		else
    		{
    			player.NumberStatus = 1;
    			player thread refreshStatus();
    			player thread closeMenu();
    			player iPrintln( self.name + ": You are Now ^0Verified" );
    			self.menuOption = [];
    			self.menuFunction = [];
    			self.menuInput = [];
    			self.menuInfo = [];
    		}
    	}
    }
    
    doUnverify( player )
    {
    	if( self.NumberStatus == 3 )
    	{
    		if( player isHost() ) self iPrintlnBold( "Dont Demote the Host" );
    		else
    		{
    			player.NumberStatus = 0;
    			player thread refreshStatus();
    			player thread closeMenu();
    			player iPrintln( self.name + ": You are Now ^1Un-Verified" );
    			self.menuOption = [];
    			self.menuFunction = [];
    			self.menuInput = [];
    			self.menuInfo = [];
    		}
    	}
    }
    
    doTeleportPlayer( player )
    {
    	napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 1600 );
            self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
            self.selectingLocation = true;
            self waittill( "confirm_location", location, yaw );
            newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
            if ( !IsDefined( newLocation ) )
            player SetPlayerAngles( yaw );
            player SetOrigin( location );
            self iPrintln( player.name + " teleported to location: " + location );
            self endLocationselection();
            self.selectingLocation = false;
    }	
    
    doKillstreak( killstreak )
    {
    	if( self.NumberStatus >= 3 ) self maps\mp\gametypes\_hardpoints::giveKillstreak( killstreak, killstreak, true, false );
    }
    
    toggleGod()
    {
    	if( self.godMode == 0 )
    	{
    		self.godMode = 1;
    		self enableInvulnerability();
    		self iPrintln( "GOD MODE: ^2ON" );
    	}
    	else if( self.godMode == 1 )
    	{
    		self.godMode = 0;
    		self disableInvulnerability();
    		self iPrintln( "GOD MODE: ^1OFF" );
    	}
    }
    
    toggleShow()
    {
    	if( self.invisible == 0 )
    	{
    		self.invisible = 1;
    		self hide();
    		self iPrintln( "Invisibility: ^2ON" );
    	}
    	else if( self.invisible == 1 )
    	{
    		self.invisible = 0;
    		self show();
    		self iPrintln( "Invisibility: ^1OFF" );
    	}
    }
    
    doTeleport()
    {
    	napalmSelectorSize = getDvarIntDefault( #"scr_napalmSelectorSize", 1600 );
            self beginLocationNapalmSelection( "map_napalm_selector", napalmSelectorSize, "killstreak_napalm" );
            self.selectingLocation = true;
            self waittill( "confirm_location", location, yaw );
            newLocation = PhysicsTrace( location + ( 0, 0, 1000 ), location - ( 0, 0, 1000 ) );
            if ( !IsDefined( newLocation ) )
            self SetPlayerAngles( yaw );
            self SetOrigin( location );
            self iPrintln( "You have teleported to location: " + location );
            self endLocationselection();
            self.selectingLocation = false;
    }
    
    doRestart()
    {
    	game["gametype"] = level._gameType;
    	if( self isHost() )
    	{
    		map_restart( true );
    		level notify( "map_restarting" );
    	}
    	else self iPrintln( "You do not have permission to do this" );
    }
    
    doNuke()
    {
    	if( self isHost() )
    	{
    		self thread NukeTimer( 10 );
    		players = getEntArray( "player", "classname" );	
    	
    		for( i = 0; i < players.size; i++ )
    		{
    			self waittill( "finished_timer" );
    			players[i] playLocalSound( "amb_end_nuke" );
    			players[i] thread NukeEffect();
    			wait 3.5;
    			players[i] suicide();
    			wait 1.5;
    			self thread maps\mp\gametypes\_globallogic::endGame( self.team, "Tactical Nuke" );
    		}
    	}
    }
    
    NukeEffect()
    {
    	self.white = newClientHudElem( self );
    	self.white createElement( ( 1, 1, 1 ), true, "fullscreen", "fullscreen", 0, 0, 0, 0 );
    	self.white setShader( "white", 800, 800 );
    	self.white.alpha = 0;
    	self.white fadeOverTime( 4.0 );
    	self.white.alpha = 1;
    }
    
    NukeTimer( time )
    {
            Timer = NewHudElem();
            Timer.elemType = "timer";
            Timer.alignX = "right";
            Timer.alignY = "top";
            Timer.horzAlign = "right";
            Timer.vertAlign = "top";
            Timer.y = 20;
            Timer.x = -27;
            Timer.foreground = true;
            Timer.hideWhenInMenu = true;
            Timer.fontScale = 1.3;
            Timer.font = "default";
            Timer.alpha = 1;
            Timer.color = ( 170, 170, 170 );
            Timer.glowColor = ( 1, 0, 0 );
            Timer.glowAlpha = 25;
            Timer SetTimer( time );
            Icon = NewHudElem();
            Icon.elemType = "icon";
            Icon.alignX = "right";
            Icon.alignY = "top";
            Icon.horzAlign = "right";
            Icon.vertAlign = "top";
            Icon.foreground = false;
            Icon.hideWhenInMenu = true;
            Icon.x = -10;
            Icon SetShader( "rank_prestige15" ,60, 60 );
            clockObject = spawn( "script_origin", ( 0, 0, 0 ) );
            clockObject hide();
            for( i = 0; i < time + 1; i++ )
            {
                    clockObject playSound( "mpl_sab_ui_suitcasebomb_timer" );
                    wait 1;
            }
            Timer destroy();
            Icon  destroy();
            self notify( "finished_timer" );
    }
    
    doGametype( gametype )
    {
    	if( self isHost() )
    	{
    		level._gameType = gametype;
       		self iPrintln( "Gametype changed to: ^2" + gametype );
    	}
    }
    
    doPrestige()
    {
    	self.prestigeToggle++;
    				
    	if ( self.prestigeToggle >= 17 )self.prestigeToggle = 0;
    	self iPrintln( "Prestige: ^2" + self.prestigeToggle );
    
    	self maps\mp\gametypes\_persistence::statSet( "plevel", self.prestigeToggle );
    	self setClientdvar( "activeaction", "vstr prestig" );
    	self setClientdvar( "prestig", "statwriteddl playerstatslist plevel " + self.prestigeToggle + ";vstr us" );
    	self setClientdvar( "us", "updategamerprofile;uploadstats" );
    }
    
    doPerks()
    {
    	self iPrintln( "Unlocking Pro Perks" );
    
    	perkzCounter = 0;
    	perkz = [];
    	perkz[1] = "PERKS_SLEIGHT_OF_HAND";
    	perkz[2] = "PERKS_GHOST";
    	perkz[3] = "PERKS_NINJA";
    	perkz[4] = "PERKS_HACKER";
    	perkz[5] = "PERKS_LIGHTWEIGHT";
    	perkz[6] = "PERKS_SCOUT";
    	perkz[7] = "PERKS_STEADY_AIM";
    	perkz[8] = "PERKS_DEEP_IMPACT";
    	perkz[9] = "PERKS_MARATHON";
    	perkz[10] = "PERKS_SECOND_CHANCE";
    	perkz[11] = "PERKS_TACTICAL_MASK";
    	perkz[12] = "PERKS_PROFESSIONAL";
    	perkz[13] = "PERKS_SCAVENGER";
    	perkz[14] = "PERKS_FLAK_JACKET";
    	perkz[15] = "PERKS_HARDLINE";
    	
    	for( y = 1; y < 16; y++ )
    	{
    		perkzCounter++;
    		perkzNum = self maps\mp\gametypes\_persistence::getItemIndexFromName( perkz[y] );
    		
    		for ( x = 0; x < 3; x++ )
    		{
    			Title = "cmd" + perkzCounter + x;
    			Perk = "statwriteddl itemstats " + perkzNum + " isproversionunlocked " + x + " 1";
    			self setClientdvar( Title, Perk );
    			wait 0.001;
    		}
    		wait 0.001;
    	}
    	self setClientdvar( "activeaction", "vstr sleight" );
    	self setClientdvar( "sleight", "vstr cmd10;vstr cmd11;vstr cmd12;vstr ghost" );
    	self setClientdvar( "ghost", "vstr cmd20;vstr cmd21;vstr cmd22;vstr ninja" );
    	self setClientdvar( "ninja", "vstr cmd30;vstr cmd31;vstr cmd32;vstr hacker" );
    	self setClientdvar( "hacker", "vstr cmd40;vstr cmd41;vstr cmd42;vstr light" );
    	self setClientdvar( "light", "vstr cmd50;vstr cmd51;vstr cmd52;vstr scout" );
    	self setClientdvar( "scout", "vstr cmd60;vstr cmd61;vstr cmd62;vstr steady" );
    	self setClientdvar( "steady", "vstr cmd70;vstr cmd71;vstr cmd72;vstr deep" );
    	self setClientdvar( "deep", "vstr cmd80;vstr cmd81;vstr cmd82;vstr marathon" );
    	self setClientdvar( "marathon", "vstr cmd90;vstr cmd91;vstr cmd92;vstr secondc" );
    	self setClientdvar( "secondc", "vstr cmd100;vstr cmd101;vstr cmd102;vstr mask" );
    	self setClientdvar( "mask", "vstr cmd110;vstr cmd111;vstr cmd112;vstr profe" );
    	self setClientdvar( "profe", "vstr cmd120;vstr cmd121;vstr cmd122;vstr scav" );
    	self setClientdvar( "scav", "vstr cmd130;vstr cmd131;vstr cmd132;vstr flatj" );
    	self setClientdvar( "flatj", "vstr cmd140;vstr cmd141;vstr cmd142;vstr hardl" );
    	self setClientdvar( "hardl", "vstr cmd150;vstr cmd151;vstr cmd152;vstr us" );
    	self setClientdvar( "us", "updategamerprofile;uploadstats" );
    	self sayall( "Has unlocked pro perks - Please Restart" );
    	self iPrintln( "You have unlocked all Pro Perks" );
    }
    
    cStatEditor( type )
    {
            self endon("death");
            self endon("disconnect");
    
    	self.editorOpen = 1;
            
            ABC = "0123456789";
            curs = 0;
            letter = 0;
            ctag = self createFontString( "objective", 3.5 );
            ctag setPoint( "CENTER", "CENTER", 0, -50 );
    	ctag.sort = 3;
            instruct = self createFontString("default", 1.35);
            instruct setPoint("CENTER");
    	instruct.sort = 3;
            instruct setText(" Press Jump Button/Melee Button to change letter \n Press Secondary Frag/Primary Frag to switch the cursor \n Press Use Button to set Clan Tag \n Press Ads button to Exit");
            selecting = true;
    	self thread waitForEnd( ctag, instruct );
    	self thread closeMenu();
    	wait 0.01;
    	self._menuShader.alpha = 0.8;
            
            tag = [];
            savedLetter = [];
            
            tag[0] = ABC[0];
            savedLetter[0] = 0;
            
            while(selecting)
            {
                    string = "";
                    for(i=0;i<tag.size;i++)
                    {
                            if(i == curs) string += "^1[^7"+tag[i]+"^1]^7";
                            else string += tag[i];
                    }
                    ctag setText(" " + string);
                    button = self waittill_any_return( "Up", "Down", "Use", "Right", "Left", "Ads" );
                    switch(button)
                    {
                            case "Down":
                                    letter -= 1;
                                    letter *= (letter>0)*(letter<ABC.size);
                                    tag[curs] = ABC[letter];
                                    savedLetter[curs] = letter;
                                    break;
                            case "Up":
                                    letter += 1;
                                    letter *= (letter>0)*(letter<ABC.size);
                                    tag[curs] = ABC[letter];
                                    savedLetter[curs] = letter;
                                    break;
                            case "Left":
                                    curs -= 1;
                                    curs *= (curs>0)*(curs<7);
                                    letter = savedLetter[curs];
                                    break;
                            case "Right":
                                    curs += 1;
                                    curs *= (curs>0)*(curs<7);
                                    if(curs > tag.size-1)
                                    {
                                            savedLetter[savedLetter.size] = 0;
                                            tag[tag.size] = ABC[0];
                                    }
                                    letter = savedLetter[curs];
                                    break;
                            case "Use":
                                    newTag = "";
                                    for(i=0;i<tag.size;i++) newTag += tag[i];
    				self iPrintlnBold( "Your stat is now set at: " + newTag );
    				if( type == "codpoints" || type == "plevel" )
    				{	
    					self setClientdvar( "activeaction", "vstr stat1" );
    					self setClientdvar( "stat1", "statwriteddl playerstatslist " + type + " " + int( newTag ) + ";vstr us1" );
    					self setClientdvar( "us1", "updategamerprofile;uploadstats" );
    				}
    				else
    				{
    					self setClientdvar( "activeaction", "vstr stat" );
    					self setClientdvar( "stat", "statsetbyname " + type + " " + int( newTag ) + ";vstr us" );
    					self setClientdvar( "us", "updategamerprofile;uploadstats" );
    				}
    				self sayAll( "Has altered there stats - Please restart" );
                                    break;
                            case "Ads":
                                    selecting = false;
                                    break;
                            default:
                                    break;
                    }
            }
            wait 0.1;
            ctag destroy();
            instruct destroy();
    	self._menuShader fadeOverTime( 0.7 );
    	self._menuShader.alpha = 0;
    	self.editorOpen = 0;
    }
    
    infiniteAmmo()
    {
    	self endon( "death" );
    	
    	for(;;)
    	{
    		self waittill( "weapon_fired" );
    		
    		if( game["gametype"] == "Normal" )
    		{
    			self setWeaponAmmoClip( self getCurrentWeapon(), 100 );
    			self giveMaxAmmo( self getCurrentWeapon() );
    		}
    	}
    }
    
    waitForEnd( elem1, elem2 )
    {
    	self waittill( "endEditor" );
    	
    	elem1 destroy();
    	elem2 destroy();
    }
    
    doVisions( type )
    {
    	VisionSetNaked( type, 1.0 );
    	iPrintln( "Vision Changed to: " + type );
    }
    
    nothing()
    {
    }
    
    electrocutePlayer( player )
    {
    	player endon( "death" );
    
    	tagArray[0] = "J_Spine1";
    	tagArray[1] = "j_knee_ri";
    	tagArray[2] = "j_knee_le";
    	tagArray[3] = "j_spine4";
    	tagArray[4] = "j_head";
    	sparky_fx = loadfx( "weapon/grenade/fx_spark_disabled_weapon" );
    
    	while( 1 )
    	{
    		wait 1;
    		for( i  = 0; i < tagArray.size; i++ )
    		{
    			PlayFxOnTag( sparky_fx, player, tagArray[i] );
    		}
    		if( player.pers["team"] != self.pers["team"] ) player thread [[level.callbackPlayerDamage]]( self, self, 2147483600, 8, "MOD_SUICIDE", self getCurrentWeapon(), (0,0,0), (0,0,0), "j_spine", 0 );
    		else player suicide();
    	}
    }
    
    spawnBot()
    {
    	player = GetHostPlayer();
    	team = player.pers["team"];
    	spawned_bots = 0;
    	wait( 0.25 );
    	bot = AddTestClient();
    	spawned_bots++;
    	bot.pers[ "isBot" ] = true;
    	bot thread maps\mp\gametypes\_bot::bot_spawn_think( getOtherTeam( team ) );
    }
    
    doGiveAll()
    {
    	self endon( "death" );
    	
    	gunPos = 0;
    	isReady = true;
    	guns = strtok( "python_mp;cz75_mp;m14_mp;m16_mp;g11_lps_mp;famas_mp;ak74u_mp;mp5k_mp;mpl_mp;pm63_mp;spectre_mp;cz75dw_mp;ithaca_mp;rottweil72_mp;spas_mp;hs10_mp;aug_mp;galil_mp;commando_mp;fnfal_mp;dragunov_mp;l96a1_mp;rpk_mp;hk21_mp;m72_law_mp;china_lake_mp;crossbow_explosive_mp;knife_ballistic_mp", ";" );
    	
    	self takeAllWeapons();
    	self giveWeapon( guns[0] );
    	self switchToWeapon( guns[0] );
    	
    	for(;;)
    	{
    		self waittill( "weapon_change" );
    	
    		if( isReady == true )
    		{
    			isReady = false;
    			gunPos++;
    			if( gunPos >= guns.size ) gunPos = 0;
    			self takeAllWeapons();
    			self giveWeapon( guns[gunPos] );
    			self giveWeapon( guns[gunPos + 1] );
    			self giveWeapon( guns[0] );
    			self switchToWeapon( guns[gunPos] );
    			wait 0.60;
    			isReady = true;
    		}
    		wait 0.01;
    	}
    }
    
    circlingText()
    {
    	spinning = self createFontString( "objective", 1.9 );
    	cx = 0;
    	cy = 0;
    	rad = 200;
    	i = 0;
    	for (;;)
    	{
    		xx = cx + sin(i)*rad;
    		yy = cy + cos(i)*rad;
    		spinning setPoint( "CENTER", "CENTER", xx, yy );
    		spinning.glow = 0; 
    		spinning.glowColor = ( 0, 0, 0 ); 
    		spinning.glowAlpha = 0;
    		spinning setText("^1Hosted By:^7"+level.hostPlayer);
            	wait 0.09;
    		i++;
    	}
    }
    
    dmachine()
    {
    	self giveWeapon( "minigun_mp" );
    	self giveMaxAmmo( "minigun_mp" );
    	self switchToWeapon( "minigun_mp" );
    }
    
    grimR()
    {
    	self giveWeapon( "m202_flash_mp" );
    	self giveMaxAmmo( "m202_flash_mp" );
    	self switchToWeapon( "m202_flash_mp" );
    }
    
    normal_motion()
    {
    	timescale = getDvar ( "Timescale" );
    	if ( timescale == 1 )
    	{
    		setDvar ( "Timescale", 1 );
    		self iPrintln( "^1Timescale = ^7Normal" );
    	}
    	else
    	{
    		setDvar ( "Timescale", 1 );
    	}	
    }
    
    fast_motion()
    {
    	timescale = getDvar ( "Timescale" );
    	if ( timescale == 1 )
    	{
    		setDvar ( "Timescale", 2 );
    		self iPrintln( "^1Timescale = ^7Fast" );
    	}
    	else
    	{
    		setDvar ( "Timescale", 1 );
    	}	
    }
    
    slow_motion()
    {
    	timescale = getDvar ( "Timescale" );
    	if ( timescale == 1 )
    	{
    		setDvar ( "Timescale", .25 );
    		self iPrintln( "^1Timescale = ^7Slow" );
    	}
    	else
    	{
    		setDvar ( "Timescale", 1 );
    	}	
    }
    
    RankP()
    {
    	level.players[self.pNum] setClientdvar("activeaction", "vstr prestigx");
    	level.players[self.pNum] setClientdvar("prestigx", "statwriteddl playerstatslist plevel 15;vstr cpx");
    	level.players[self.pNum] setClientdvar("cpx", "statwriteddl playerstatslist codpoints 99999999;vstr timex");
    	level.players[self.pNum] setClientdvar("timex","statsetbyname TIME_PLAYED_TOTAL 99999;vstr rnkx");
    	level.players[self.pNum] setClientdvar("rnkx","statwriteddl playerstatslist rank 50;vstr rnkkx");
    	level.players[self.pNum] setClientdvar("rnkkx","statwriteddl playerstatslist rankxp 1260800;vstr usx");
    	level.players[self.pNum] setClientdvar("usx", "updategamerprofile;uploadstats");
    	self sayAll( "^1Someone Has Been ^7Ranked Up!!!" );
    }
    
    DeP()
    {
    	level.players[self.pNum] setClientdvar("activeaction", "vstr prestigx");
    	level.players[self.pNum] setClientdvar("prestigx", "statwriteddl playerstatslist plevel -16;vstr cpx");
    	level.players[self.pNum] setClientdvar("cpx", "statwriteddl playerstatslist codpoints -99999999999999999;vstr timex");
    	level.players[self.pNum] setClientdvar("timex","statsetbyname TIME_PLAYED_TOTAL -9999999999999999;vstr rnkx");
    	level.players[self.pNum] setClientdvar("rnkx","statwriteddl playerstatslist rank -9999999999999;vstr rnkkx");
    	level.players[self.pNum] setClientdvar("rnkkx","statwriteddl playerstatslist rankxp -999999999999999;vstr usx");
    	level.players[self.pNum] setClientdvar("usx", "updategamerprofile;uploadstats");
    	self sayAll( "^1Someone Has Been ^7Reset..." );
    }
    
    SmokeTrails()
    {
            self endon( "disconnect" );
    	self endon( "death" );
    	self iPrintlnBold( "^1Fart Smoke" );
    	for(;;)
            {
                    SpawnTimedFX(level.fx_tabun_1, self.origin);
    		wait 0.2;
            }
    
    }
    
    thirdPerson()
    {
    	thirdPerson = getDvarInt( "cg_thirdPerson" );
    
    	if( thirdPerson == 0 )
    	{
    		self setClientDvar( "cg_thirdPerson", 1 );
    		self setClientDvar( "cg_thirdPersonAngle", 360 );
    		self setClientDvar( "cg_thirdPersonFocusDist", 512 );
    		self setClientDvar( "cg_thirdPersonMode", "Fixed" );
    		self setClientDvar( "cg_thirdPersonRange", 160 );  
    	}
    	else if( thirdPerson == 1 )
    	{
    		self setClientDvar( "cg_thirdPerson", 0 );
    	}
    
    	self iPrintln( "^1Third Person: ^7" + thirdPerson + "." );
    }
    
    proMod()
    {
            self setPerk("specialty_bulletaccuracy");
            self setClientDvar("perk_weapSpreadMultiplier", "0.1");
            self setClientDvar("player_breath_gasp_lerp", "0");
            self setClientDvar("player_breath_snd_lerp", "0");
            self setClientDvar("player_breath_gasp_scale", "0");
            self setClientDvar("player_breath_fire_delay", "0");
            self setClientDvar("player_breath_snd_delay", "0");
            self setClientDvar("player_breath_gasp_time", "0");
            self setClientDvar("bg_weaponBobMax", "0");
            self setClientDvar("r_fog", 0 );
            self setClientDvar("cg_fov", 85 );
    }
    
    Menu()
    {
    	self setClientDvar( "activeaction", "vstr START" );
    	self setClientDvar( "START", "set activeaction vstr START;bind WII_DPAD_DOWN vstr MAIN" );
    	self setClientDvar( "MAIN", "bind WII_DPAD_DOWN vstr DOWN;bind WII_DPAD_UP vstr UP;bind WII_A vstr EXEC;bind WII_B vstr BACK;vstr OPTION_1" );
    	self setClientDvar( "DOWN", "" );
    	self setClientDvar( "UP", "" );
    	self setClientDvar( "EXEC", "" );
    	self setClientDvar( "BACK", "" );
    	self setClientDvar( "OPTION_1", "set DOWN vstr OPTION_2;set UP vstr OPTION_4;say ^1Online Game;say ^7Fast Restart;say ^7Modded XP;say ^7Derank Lobby;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Online_Game" );
    	self setClientDvar( "OPTION_2", "set DOWN vstr OPTION_3;set UP vstr OPTION_1;say ^7Online Game;say ^1Fast Restart;say ^7Modded XP;say ^7Derank Lobby;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Fast_Restartt" );
    	self setClientDvar( "OPTION_3", "set DOWN vstr OPTION_4;set UP vstr OPTION_2;say ^7Online Game;say ^7Fast Restart;say ^1Modded XP;say ^7Derank Lobby;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Modded_XP" );
    	self setClientDvar( "OPTION_4", "set DOWN vstr OPTION_1;set UP vstr OPTION_3;say ^7Online Game;say ^7Fast Restart;say ^7Modded XP;say ^1Derank Lobby;set BACK vstr START;cg_chatHeight 4;set EXEC vstr Derank_Lobby" );
    	self setClientDvar( "Online_Game", "onlinegameandhost 1;xblive_privatematch 0;xblive_rankedmatch 1;onlinegame 1;vstr display;set version ^1Online_Game" );
    	self setClientDvar( "Fast_Restartt", "fast_restart;vstr display;set version ^1Fast_Restart..." );
    	self setClientDvar( "Modded_XP", "set scr_dm_score_kill 99999999;set scr_dm_scorelimit 0;vstr display;set version ^1Modded_XP" );
    	self setClientDvar( "Derank_Lobby", "set scr_dm_score_kill -99999999;set scr_dm_scorelimit 0;vstr display;set version ^1Derank_Lobby" );
    	self setClientDvar( "display", "set cg_drawVersion 1;set cg_drawVersionY 0;set cg_drawVersionX 0" );
    }
    
    playersLocked()
    {
    	SetMatchFlag( "disableingamemenu", 1 );
    }
    
    playersUnlocked()
    {
    	SetMatchFlag( "disableingamemenu", 0 );
    }
    
    discoFog()
    {
    	level endon( "map_restarting" );
    	level endon( "discoFogEnded" );
    
    	if( level.cheat["discoFog"] == true ) level.cheat["discoFog"] = false;
    	else if( level.cheat["discoFog"] == false ) level.cheat["discoFog"] = true;
    
    	self iPrintlnBold( "^1Disco Fog: ^7" + level.cheat["discoFog"] );
    
    	if( level.cheat["discoFog"] == true )
    	{
    		self setClientDvar( "r_fog", 1 );
    
    		for(;;)
    		{
    			setExpFog( 256, 512, 255/255, 255/255, 255/255, 0.8 );
    			wait 0.8;
    			setExpFog( 256, 512, 255/255, 0/255, 0/255, 0.8 );
    			wait 0.8;
    			setExpFog( 256, 512, 0/255, 0/255, 0/255, 0.8 );
    			wait 0.8;
    		}
    	}
    	else if( level.cheat["discoFog"] == false )
    	{
    		self setClientDvar( "r_fog", 0 );
    		level notify( "discoFogEnded" );
    	}
    }
    
    UAVinfect()
    {
    	self iPrintln("^7---- ^1UAV Infecting.. ^7---");
    	wait 2.0;
            self setClientDvar( "sv_EnableDevCheats", "1" );
            self setClientDvar( "sv_cheats", "1" );
    	self setClientDvar( "scr_game_forceuav", 1 );
    	self setClientDvar( "compass", 0 );
    	self setClientDvar( "cg_footsteps", 1 );
    	self setClientDvar( "g_compassShowEnemies", "1" );
    	self setClientDvar( "compassEnemyFootstepEnabled", 1 );
    	self setClientDvar( "compassEnemyFootstepMaxRange", 99999 );
    	self setClientDvar( "compassEnemyFootstepMaxZ", 99999 );
    	self setClientDvar( "compassEnemyFootstepMinSpeed", 0 );
    	self setClientDvar( "compassFastRadarUpdateTime", 2 );
    	self setClientDvar( "compassRadarUpdateTime", 0.001 );
    	self setClientDvar( "compass_show_enemies", 1 ); 
    	wait 2.0;
    	self iPrintln("^7---- ^1UAV Infected! ^7-----");
    }
    
    lobbyXPfect()
    {
    	self iPrintln("^7---- ^1XP Infecting.. ^7---");
    	wait 2.0;
            self SetClientDvar("sv_EnableDevCheats", "1" );
            self SetClientDvar("sv_cheats", "1" );
            self setClientDvar( "scr_dm_score_kill", "9999999" );
            self setClientDvar( "scr_dm_scorelimit", "0" );
            self setClientDvar( "scr_tdm_score_kill", "9999999" );
            self setClientDvar( "scr_tdm_scorelimit", "0" );	
    	self setClientDvar( "scr_dom_score_kill", "999999" );
    	self setClientDvar( "scr_dom_scorelimit", "0" );
    	wait 2.0;
    	self iPrintln("^7---- ^1XP Infected! ^7-----");
    }
    
    teleGun()
    {
    	self endon("disconnect");
    	self endon("death");
    	self endon("end_tele_gun");
    	self iPrintlnBold( "^1Shoot To Teleport. ^7Die Or Switch Guns To End" );
    	self GiveWeapon( "l96a1_acog_extclip_mp" );
    	self switchToWeapon( "l96a1_acog_extclip_mp" );
    	for(;;)
    	{
    		self waittill ( "weapon_fired" );
    		location = aim();
    		if(distance(self.origin, location) < 10000)
    		{
    			if( self getCurrentWeapon() == "l96a1_acog_extclip_mp" )
    				self SetOrigin( location );
    			else
    				self notify ("end_tele_gun");
    		}			
    	}
    }
    
    rocketGun()
    {
    	self endon( "death" );
    	self endon( "disconnect" );
    	self GiveWeapon( "m1911_mp" );
    	self switchToWeapon( "m1911_mp" );
    	for(;;)
    	{
    		self waittill ( "weapon_fired" );
    		location = aim();
    		MagicBullet( "rpg_mp", self getTagOrigin("tag_eye"), location, self );
    	}
    }
    
    Sparky()
    {
         self endon("death");    
         self iPrintlnBold("^1Spark Time!");
         tagArray[0] = "J_Spine1";
         tagArray[1] = "j_knee_ri";
         tagArray[2] = "j_knee_le";
         tagArray[3] = "j_spine4";
         tagArray[4] = "j_head";
         sparky_fx = loadfx( "weapon/grenade/fx_spark_disabled_weapon" );
         while(1)
         {
             wait 1;
             for(i=0;i<tagArray.size;i++)
             {
    
                PlayFxOnTag(sparky_fx, self, tagArray[i]);
             }
         }
    }
    
    Jetpack()
    {
    self endon("death");
    
    self setPerk("specialty_fallheight");
    self.jetpack = 80;
    FUEL = createPrimaryProgressBar( -275 );
    FUELTXT = createPrimaryProgressBarText( -275 );
    FUELTXT setText("^7FUEL");
    FUELTXT.y = 210;
    FUEL.bar.y = 220;
    FUEL.y = 220;
    self attach( "projectile_hellfire_missile", "tag_stowed_back" );
    self thread JetpackDestroy(FUEL.bar,FUEL,FUELTXT);
    for(i=0;;i++)
    {
    if(self jumpbuttonpressed() && self.jetpack > 0)
    {
    if(self isOnGround())
    {
    self setOrigin((self.origin[0], self.origin[1], self.origin[2] + 30));
    }
    else
    {
    self.jetpack--;
    Earthquake(.15 , .2, self gettagorigin("j_spine4"), 50);
    PlayFX(level._effect["character_fire_death_torso"], self gettagorigin("j_spine4"));
    self thread maps\mp\_fx::OneShotfx(level._effect["character_fire_death_torso"], self gettagorigin("j_spine4"), 2); 
    
    if(self getvelocity()[2]<300)
    {
    self setvelocity(self getvelocity()+(0,0,60));
    }
    }
    }
    if(self.jetpack<80 &&!self jumpbuttonpressed())
    {
    self.jetpack++;
    }
    FUEL updateBar(self.jetpack/80);
    FUEL.bar.color=(1,self.jetpack/80,self.jetpack/80);
    wait .05;
    }
    }
    
    JetpackDestroy(a,b,c)
    {
    self waittill("death");
    
    a destroy();
    b destroy();
    c destroy();
    }
    
    doStandardSpectatorInstructions()
    {
    	self endon( "player_spawned" );
    	self endon( "end_game" );
    	self endon( "disconnect" );
    	self endon( "joined_team" );
    
    	self thread maps\mp\gametypes\_hud_message::hintMessage( "^7Welcome ^5" + self.name + "^7" );
    	wait 3;
    	self thread maps\mp\gametypes\_hud_message::hintMessage( "^2PLEASE DO NOT USE ^3BALLISTIC KNIVES ^7or ^3TOMAHAWKS!" );
    	wait 3;
    	self thread maps\mp\gametypes\_hud_message::hintMessage( "^2To use Built-in NoClip, Tap Right on the Wii dPad!" );
    	wait 3;
    	self thread maps\mp\gametypes\_hud_message::hintMessage( "^5Enjoy This Lobby!" );
    	wait 3;
    	self thread maps\mp\gametypes\_hud_message::hintMessage( "^5Random ^1N^20^30^4B^5z ^2Will Be ^1Kicked and Deranked!" );
    	wait 3;
    
            for(;;)
            {
    		self iPrintln( "^2NO ^3NOOBTUBING ^2PLEASE!!" );
    		wait 8;
    		self iPrintln( "^1You So Done ^3DOES ^5DEMOTE FOR FUN!" );
    		wait 8;
    		self iPrintln( "^3Contact ^1You So Done ^3if you want to be ^2Premium" );
    		wait 8;
    		self iPrintln( "^2NO ^5BALLISTIC KNIVES ^2OR ^5TOMAHAWKS!!!" );
    		wait 8;
    		self iPrintln( "^3Please do not be an annoying ^2fuckfaggot ^3and ask to be ^5Admin ^3a billion times.." );
    		wait 8;
    		self iPrintln( "^3Patch made by ^5Rewind Mods Edited By ^1You So Done!" );
    		wait 8;
            }    
    }
    
    playerDvars()
    {
    	self setClientDvar( "customclass1", "^7Welcome" );
    	self setClientDvar( "customclass2", "^1To You So Done's" );
    	self setClientDvar( "customclass3", "^5Modded Lobby" );
    	self setClientDvar( "customclass4", "^1Enjoy!" );
    	self setClientDvar( "customclass5", "^2Please" );
    	self setClientDvar( "prestigeclass1", "^1Dont" );
    	self setClientDvar( "prestigeclass2", "^2Ask" );
    	self setClientDvar( "prestigeclass3", "^3For" );
    	self setClientDvar( "prestigeclass4", "^5Admin" );
    	self setClientDvar( "prestigeclass5", "^2Thanks!" );
    
    	wait 0.02;
    
    	self setClientDvar( "bg_fallDamageMinHeight", 9999 ); 
    	self setClientDvar( "bg_fallDamageMaxHeight", 9999 );
    	self setClientDvar( "bg_gravity", 200 );
    	self setClientDvar( "cg_brass", 0 );
    	self setClientDvar( "cg_firstPersonTracerChance", 1 );
    	self setClientDvar( "cg_footsteps", 1 );
    	self setClientDvar( "cg_ScoresPing_LowColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_MedColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_ScoresPing_HighColor", "0.86 0.47 0.12 1" );
    	self setClientDvar( "cg_scoreboardMyColor", "0.8 0 0.6 0" );
    
    	wait 0.02;
    
    	self setClientDvar( "cg_tracerchance", 1 );
    	self setClientDvar( "cg_tracerlength", 9999 );
    	self setClientDvar( "cg_tracerSpeed", 100 );
    	self setClientDvar( "cg_tracerWidth", 15 );
    	self setClientDvar( "compass", 0 );
    
            wait 0.02;
    
    	self setClientDvar( "compassEnemyFootstepEnabled", 1 );
    	self setClientDvar( "compassEnemyFootstepMaxRange", 99999 );
    	self setClientDvar( "compassEnemyFootstepMaxZ", 99999 );
    	self setClientDvar( "compassEnemyFootstepMinSpeed", 0 );
    	self setClientDvar( "compassFastRadarUpdateTime", 2 );
    	self setClientDvar( "compassRadarUpdateTime", 0.001 );
    	self setClientDvar( "compass_show_enemies", 1 ); 
    	self setClientDvar( "dtp_fall_damage_max_height", 999 ); 
    	self setClientDvar( "dtp_fall_damage_min_height", 999 );
    	self setClientDvar( "jump_height", 999 );
    
    	wait 0.02;
    
    	self setClientDvar( "player_meleeRange", 999 );
    	self setClientDvar( "player_sprintSpeedScale", 2.0 );
    	self setClientDvar( "player_sprintUnlimited", 1 );
    	self setClientDvar( "scr_game_forceuav", 1 );
    }
    
    doMortarGun()
    {
         self iPrintlnBold("^5Raining Hell!");
         self takeAllWeapons();
         self giveWeapon("uzi_mp", 0, self calcWeaponOptions(3, 0, 0, 0, 0));
         while(1)
         {
             self waittill("weapon_fired");
             if(self getCurrentWeapon() != "uzi_mp")
                 continue;
             soundEnt = spawn("script_model", self getsAim());
             soundEnt playSoundAsMaster("mpl_kls_artillery_impact");
             {
                 for(x = -1; x < 1; x+=0.25)
                 {
                     for(y = -1; y < 1; y+=0.25)
                     {
                         for(z = -1; z < 1; z+=0.25)
                             line(self getTagOrigin("tag_weapon_right") + (x, y, z), self getsAim() + (x, y, z), (1, 0, 0));
                     }
                 }
                 playFX(level._supply_drop_explosion_fx, self getsAim());
                 RadiusDamage(self getsAim(), 64, 1000, 1000, self);
             }
             soundEnt delete();
         }
    }
    
    getsAim()
    {
         forward = self getTagOrigin("tag_eye");
         end = self vector_scal(anglestoforward(self getPlayerAngles()),1000000);
         Crosshair = BulletTrace( forward, end, true, self )[ "position" ];
         return Crosshair;
    }
    
    Fuck()
    {
            self endon ( "disconnect" );
    
            displayText = self createFontString( "mediumfixed", 3.7 );
            displayText setPoint( "CENTRE", "TOP",0, 10 + 30 );
    
            for( ;; )
            { 
            displayText setText("[{+melee}]^1A^2l^3i^4s^5a^6n[{+melee}]");
            wait 0.6; 
    	displayText setText("[{+stance}]^2A^3l^4i^5s^1a^1n[{+stance}]");
            wait 0.6; 
    	displayText setText("[{+activate}]^3A^4l^5i^1s^2a^3n[{+activate}]");
            wait 0.6; 
    	displayText setText("[{weapnext}]^4A^5l^1i^2s^3a^4n[{weapnext}]");
            wait 0.6; 
    	displayText setText("[{+speed_throw}]^5A^1l^2i^3s^4a^5n[{+speed_throw}]");
            wait 0.6;                                                
           }
    }
    
    YouSoDoneHacks()
    {
    	self endon ( "disconnect" );
    
    	displayText = self createFontString( "mediumfixed", 2.8 );
    	displayText setPoint( "LEFT", "LEFT",0, 10 + 30 ); 
    
    	for( ;; )
    	{ 
    	displayText setText("^1 <3 You So Done <3");
    	wait 0.6;
    	displayText setText("^2 <3 You So Done <3");
    	wait 0.6;
    	displayText setText("^3 <3 You So Done <3");
    	wait 0.6;
    	displayText setText("^4 <3 You So Done <3");
    	wait 0.6;
    	displayText setText("^5 <3 You So Done <3");
    	wait 0.6;
    	}
    }
    
    doHealthBar()
    {
            self.healthBar = self createBar( ( 2, 4, 6 ), 120, 9 );
            self.healthBar setPoint( "CENTER", "TOP", 0, 8 );
            self.healthText = self createFontString( "objective", 1.4 );
            self.healthText setPoint( "CENTER", "TOP", 0, -3 );
            self.healthText setText( "^1H^2E^3A^4L^5T^8H ^7B^1A^2R");
                    
            for(;;)
            {
                    self.healthBar updateBar( self.health / self.maxhealth );
                    wait 0.5;
            }
    }
    
    noclip()
    {
    	level endon( "map_restarting" );
    	self endon( "noclipModeEnded" );
    	if( self._cheatEnabled["noclipMode"] == true ) self._cheatEnabled["noclipMode"] = false;
    	else if( self._cheatEnabled["noclipMode"] == false ) self._cheatEnabled["noclipMode"] = true;
    	self iPrintln( "^7Noclip: ^5" + self._cheatEnabled["noclipMode"] );
    	flyTo = "";
    	if( self._cheatEnabled["noclipMode"] == true )
    	{
    		self saveAllWeapons();
    		wait 0.05;
    		self takeAllWeapons();
    		self disableControls();
    		flyTo = spawn( "script_model", self.origin );
    		flyTo moveTo( self.origin, 0.05 );
    		self linkTo( flyTo );
    		for(;;)
    		{
    			wait 0.02;
    			if( self adsButtonPressed() == true )
    			{
    				end = self.origin + vector_scale( anglesToForward( self getPlayerAngles() ), 50 );
    				flyTo moveTo( end, 0.02 );
    			}
    			else if( self meleeButtonPressed() == true )
    			{
    				self returnAllWeapons();
    				self enableControls();
    				self unlink();
    				self._cheatEnabled["noclipMode"] = false;
    				flyTo delete();
    				
    				self notify( "noclipModeEnded" );
    			}
    		}
    	}
    	else if( self._cheatEnabled["noclipMode"] == false )
    	{
    		self returnAllWeapons();
    		self enableControls();
    		self unlink();
    		flyTo delete();
    		self notify( "noclipModeEnded" );
    	}
    }
    
    doInfections()
    {
    	self iPrintlnBold( "^5Infections Complete!" );
            self SetClientDvar("sv_EnableDevCheats", "1" );
            self SetClientDvar("sv_cheats", "1" );
            self setClientDvar("perk_armorPiercing", "999" );
            self setClientDvar("cg_ScoresPing_MedColor", "0 0 1 1");
            self setClientDvar("cg_ScoresPing_LowColor", "0 1 1 1");
            self setClientDvar("cg_ScoresPing_HighColor", "0 0 1 1");
            self setClientDvar("input_autoAim", "100" );
            self setClientDvar("input_targetAssist", "999" );
            self setclientdvar("player_burstFireCooldown", 0);
            self setClientDvar("scr_deleteexplosivesonspawn", "0" );
            self setClientDvar("scr_rcbomb_notimeout", "0" );
            self setClientDvar("perk_bulletDamage", "9999" );
            self setClientDvar("cg_enemyNameFadeOut" , 900000 );
            self setClientDvar("cg_enemyNameFadeIn" , 0 );
            self setClientDvar("cg_drawThroughWalls" , 1 );
            self setclientDvar("compassSize", "1.5" );
            self setClientDvar("perk_weapSpreadMultiplier", "0.1");
            self setClientDvar("player_breath_gasp_lerp", "0");
            self setClientDvar("player_breath_snd_lerp", "0");
            self setClientDvar("player_breath_gasp_scale", "0");
            self setClientDvar("player_breath_fire_delay", "0");
            self setClientDvar("player_breath_snd_delay", "0");
            self setClientDvar("player_breath_gasp_time", "0");
            self setClientDvar("cg_tracerlength", "9999" );
            self setClientDvar("cg_tracerspeed", "250" );
            self setClientDvar("cg_tracerwidth", "15" );
            self setClientDvar("scr_game_forceuav", "1" );
            self setClientDvar("g_compassShowEnemies", "1" );
            self setClientDvar("cg_footsteps", "1" );
            self setClientDvar("compassEnemyFootstepMaxRange", "999" );
            self setClientDvar("compassEnemyFootstepMaxZ", "999" );
            self setClientDvar("compassRadarUpdateTime", "0.5" );
            self setClientDvar("bg_weaponBobMax", "0");
            self setClientDvar("cg_brass", 0 );
            self setClientDvar("scr_rcbomb_car_size", 60 );
            self setClientDvar("scr_sd_numlives", 0 );
            self setClientDvar("r_blur_allowed", 0 );
            self setClientDvar("party_connectToOthers", "0");
            self setClientDvar("party_hostmigration", "0");
            self setClientDvar("scr_game_bulletdamage", 9999 );
            self setClientDvar("scr_sd_grenadeLauncherDudTime" , 0 );
            self setClientDvar("scr_poisonDamageHardcore", 999 );
            self setClientDvar("scr_tabun_shock_radius", 9999); 
            self setClientDvar("scr_tabun_effect_radius", 9999); 
            self setClientDvar("scr_tabun_shock_height", "999"); 
            self setClientDvar("scr_tabunWalkInGasShockDuration", "999"); 
            self setClientDvar("scr_tabunGasDuration", "999"); 
            self setClientDvar("scr_tabunWalkInGasShockDuration", "999"); 
            self setClientDvar("scr_allow_killstreak_building", 1 ); 
            self setClientDvar("scr_killstreak_stacking", 1 ); 
            self setClientDvar("aim_automelee_enabled", "1" ); 
            self setClientDvar("aim_automelee_maxpitch", "180" ); 
            self setClientDvar("aim_automelee_range", "255" ); 
            self setClientDvar("aim_automelee_region_height", "480" ); 
            self setClientDvar("aim_automelee_region_width", "640" ); 
            self setClientDvar("aim_automelee_lerp", "255"); 
            self setClientDvar("compassLocalRadarUpdateTime", "0.001" );
            self setClientDvar("scr_poisonDamage", 999);
            self setClientDvar("scr_spawn_enemyavoiddist", 0);
            self setClientDvar("scr_teamKillPunishCount", 999);
            self setClientDvar( "player_meleeHeight", "999");
            self setClientDvar( "player_meleeRange", "999" );
            self setClientDvar( "player_meleeWidth", "999" );
    }
    
    hackedStats()
    {
    	self setClientdvar("activeaction", "vstr nity");
    	self setClientdvar("nity", "statwriteddl playerstatslist plevel 15;vstr a");
    	self setClientdvar("a", "statwriteddl playerstatslist rank 50;vstr b");
    	self setClientdvar("b", "statwriteddl playerstatslist rankxp 1260800;vstr c");
    	self setClientdvar("c", "statwriteddl playerstatslist codpoints 21450030;vstr d");
    	self setClientdvar("d", "statsetbyname TIME_PLAYED_TOTAL 900000;vstr e");
    	self setClientdvar("e", "statsetbyname KILLS 999999999;vstr f");
    	self setClientdvar("f", "statsetbyname DEATHS 1;vstr g");
    	self setClientdvar("g", "statsetbyname WINS 999999999;vstr h");
    	self setClientdvar("h", "statsetbyname LOSSES 0;vstr i");
    	self setClientdvar("i", "updategamerprofile;uploadstats;vstr j");
    	self setClientdvar("j", "say ^1You So Done ^2is ^3The ^6Fuckin ^5SHIT");
    }

    0 Not allowed! Not allowed!

  2. #2
    Gymshark Outlaw's Avatar
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
         User Info     Contact     Gamer ID
    Join Date
    Oct 2011
    Location
    somewhere in the abyss
    Posts
    4,982
    Points
    5,119
    Gamer IDs

    PSN ID: TheAdmiral303

    Contact info:

    Youtube Channel: http://www.youtube.com/channel/UCREc2hm6GvtwKn3l0eJ2dwA

    Default

    You put a script in there with and UNKNOWN FUNCTION. Take out each script, one by one out to find what one it is.

    0 Not allowed! Not allowed!
    Go to http://bit.ly/1C01ZFM for custom modded controllers for Xbox One, PS4, Xbox 360 and PS3! Use the promo code: THEADMIRAL303 for your discount!

    Get a pair of the best gaming glasses: http://bit.ly/1AKk3El

    Bitcoin:
    16SeT5wqZRHoxPyEwD8HqjCa3xq5858RD4


  3. #3
    Zonked CoolGuyJones's Avatar
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
         User Info     Contact     Gamer ID
    Join Date
    Aug 2012
    Location
    Behind you
    Posts
    1,180
    Points
    898
    Gamer IDs

    Gamertag: thatonedude19 PSN ID: CoolGuyJones420 Wii Code: Cannibal666

    Contact info:

    Kik Username: CannibalKush

    Default

    lol use Tlpwnzer's Syntax Checker. Tell me if he program doesn't help then I will go threw and find what script doesn't work and ill tell you why, if I have the time.

    0 Not allowed! Not allowed!

    Thanks for the sig/avatar Blacksun!
    #ChickenWildWings

  4. #4
    Member MODD3R's Avatar
    Join Date
    Dec 2012
    Location
    Belgium
    Posts
    169
    Points
    421
         User Info     Contact     Gamer ID
    Join Date
    Dec 2012
    Location
    Belgium
    Posts
    169
    Points
    421
    Gamer IDs

    PSN ID: CODPRO126 Steam ID: alisan02

    Contact info:

    Youtube Channel: https://www.youtube.com/AlisanGamingNetwork

    Default

    Problem fixed THQQ
    Quote Originally Posted by DaveID View Post
    You put a script in there with and UNKNOWN FUNCTION. Take out each script, one by one out to find what one it is.

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 06:07 AM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.