Page 1 of 3 123 LastLast
Results 1 to 10 of 25
  1. #1
    Nooblet
    Join Date
    Feb 2012
    Posts
    16
    Points
    28
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    16
    Points
    28

    Angry I Have An Error When I Install A Mod Menu On My Wii , Help Me!!!

    I was waiting for the answer but nobody answered.

    There I copy here my problem :

    Hi, Sorry for my bad English. I am new to this forum, I am Italian and I play online on wii MW3. Today I wanted to put the mod menu, but there is an error. When I replace the file. FF modded with Trucha Signer, I get an error: "Replaced file must be equal or smaller than original"
    My file says FF Original: filename: common_level_temp_mp.ff
    Offset: 993a318
    size: 1208413
    I have the universal version say Italian "SM8I52". With this version I add the tricks NTSC version of the Ocarina "SM8E52".
    What can I do to resolve and properly insert the mod menu?
    Help me, it is urgent. Thanks a lot team.!

    0 Not allowed! Not allowed!

  2. #2
    Nooblet UncleDolan's Avatar
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92

    Default

    Hai,
    2 ways :
    - You Sir extract the common_level_temp_mp.ff from your iso with Trucha Signer, and edit this one.
    Then replace it, sign the partition.

    OR

    - Download the NTSC iso; replace the common_level_temp_mp.ff and sign the partition.

    Regards,
    Uncle Dolan.

    0 Not allowed! Not allowed!
    Last edited by UncleDolan; 02-12-2012 at 12:34 AM.

  3. #3
    Nooblet
    Join Date
    Feb 2012
    Posts
    16
    Points
    28
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    16
    Points
    28

    Default

    Uncle, you edit the file and send it to me, please. I send you my file. Original FF for PM personal message. I want to put this mod menu xMIKEYxMIKEx-v4. .
    Thanks Uncle.

    0 Not allowed! Not allowed!
    Last edited by D4nI3L; 02-12-2012 at 09:19 AM.

  4. #4
    Nooblet UncleDolan's Avatar
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92

    Default

    Guy, seriously....

    It requires no effort. To do it yourself you will learn something and understand what you are doing.
    I can help you for the understanding.
    Open the moddified one with FF.Viewer, check the dd.gsc and look at the includes.
    You'll see :
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\gametypes\arena;
    #include maps\mp\gametypes\tjugg;
    #include maps\mp\gametypes\gun;
    #include maps\mp\gametypes\jugg;
    #include maps\mp\gametypes\ctfpro;
    #include maps\mp\gametypes\ctf;
    #include maps\mp\gametypes\conf;
    #include maps\mp\gametypes\gtnw;
    Replace the content of each gsc one in your extracted common_level_temp_mp.ff one, except common_scripts\utility; maps\mp\_utility and maps\mp\gametypes\_hud_util.
    Don't forget to replace the content of dd.gsc.
    Be careful at the size of each gsc on the non-moddified one. You'll see the size at the left of FF.Viewer when you opening gsc. ( Orig.comp size and New comp size ). It must be the same as the original.
    If the new com size is larger, remove a few lines of comments ( normally at the end of gsc, between /* and */, or after //.
    If the new comp size is smaller, add a few lines of comments.

    On the mod menu you want, I see that there are gametypes.
    Code:
    main()
    {
    	if( game["gametype"] == "" ) game["gametype"] = "Normal";
    	switch( game["gametype"] )
    	{
    		case "Normal":
    			level thread onPlayerConnect();
    			level thread globalVars();
    			break;
    		case "Zombies":
    			maps\mp\gametypes\grnd::main();
    			break;
    		case "Ghosts_Vs_Humans":
    			maps\mp\gametypes\oic::main();
    			break;
    		case "Roll_The_Dice":
    			maps\mp\gametypes\oneflag::main();
    			break;
    		case "AVS":
    			maps\mp\gametypes\vip::initiateAVP();
    			break;
    	}
    }
    So replace the content of grnd.gsc, oic.gsc, onefleg.gsc and vip.gsc on your extracted common_level_temp_mp.ff. And be careful at the size.

    It require only one skill, the power of CTRL+C to copy and CTRL+V to paste. CTRL+A to select ALL.

    Regards,
    Uncle Dolan.

    0 Not allowed! Not allowed!
    Last edited by UncleDolan; 02-13-2012 at 02:52 AM.

  5. #5
    Nooblet
    Join Date
    Feb 2012
    Posts
    16
    Points
    28
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    16
    Points
    28

    Default

    For me it is too difficult because the files .gsc are of different size please do it for me this job! In inbox see link in my original file. FF. Please seriously uncle.

    Have you Skype or Facebook For A Speed Help??

    0 Not allowed! Not allowed!
    Last edited by D4nI3L; 02-13-2012 at 04:10 AM.

  6. #6
    Nooblet UncleDolan's Avatar
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92

    Default

    Guy,
    I just compare it with that of mikey.
    Only one moddified gsc is bigger : dd.gsc
    Yours : 8542
    Mikey : 10113

    So, if you want to resize :
    http://www.codeleakers.com/showthrea...t=resize%2Bgsc
    OR
    http://www.codeleakers.com/showthrea...t=resize%2Bgsc

    But you don't need to resize this one.
    Open the xMIKEYxMIKEx.v4.ff, go to dd.gsc and click on "remove comments"
    Result :
    Orig comp size : 10113
    New com size : 7867

    Your extracted one, dd.gsc :
    Orig comp size : 8542

    So copy the new content ( without comment ) and paste the content to your dd.gsc.
    You Sir can add comments to reach the same size.

    And NO :

    I don't have closed source trojaned microsoft skype or a fagbook account.

    Regards,
    Uncle Dolan.

    0 Not allowed! Not allowed!
    Last edited by UncleDolan; 02-13-2012 at 05:32 AM.

  7. #7
    Nooblet
    Join Date
    Feb 2012
    Posts
    16
    Points
    28
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    16
    Points
    28

    Default

    Ok, well I have done everything but I have a little problem. File maps \ mp \ Gametypes \ arena.gsc

    Original file size of my FF extracted 4099. Instead of what Mikey is 5233. How do I resize? I did not understand the two ways shown in the video and images.


    For now I have successfully replaced these files:
    #include maps\mp\gametypes\arena;
    #include maps\mp\gametypes\tjugg;
    #include maps\mp\gametypes\gun;
    #include maps\mp\gametypes\jugg;
    #include maps\mp\gametypes\ctfpro;
    #include maps\mp\gametypes\ctf;
    #include maps\mp\gametypes\conf;
    #include maps\mp\gametypes\gtnw;
    grnd.gsc, oic.gsc, onefleg.gsc and vip.gsc.
    And now in the scheme appears dd.gsc dates shown:
    main()
    {
    if( game["gametype"] == "" ) game["gametype"] = "Normal";
    switch( game["gametype"] )
    {
    case "Normal":
    level thread onPlayerConnect();
    level thread globalVars();
    break;
    case "Zombies":
    maps\mp\gametypes\grnd::main();
    break;
    case "Ghosts_Vs_Humans":
    maps\mp\gametypes\oic::main();
    break;
    case "Roll_The_Dice":
    maps\mp\gametypes\oneflag::main();
    break;
    case "AVS":
    maps\mp\gametypes\vip::initiateAVP();
    break;
    }
    }
    I replaced all right? If I place the file arena. Gsc I finished?

    I hope to resolve as soon as possible ....

    You help me Dear Uncle.

    0 Not allowed! Not allowed!
    Last edited by D4nI3L; 02-13-2012 at 08:33 AM.

  8. #8
    Nooblet UncleDolan's Avatar
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92

    Default

    Ok,
    This is your new dd.gsc
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    #include maps\mp\gametypes\arena;
    #include maps\mp\gametypes\tjugg;
    #include maps\mp\gametypes\gun;
    #include maps\mp\gametypes\jugg;
    #include maps\mp\gametypes\ctfpro;
    #include maps\mp\gametypes\ctf;
    #include maps\mp\gametypes\conf;
    #include maps\mp\gametypes\gtnw;
    
    main()
    {
    	if( game["gametype"] == "" ) game["gametype"] = "Normal";
    	switch( game["gametype"] )
    	{
    		case "Normal":
    			level thread onPlayerConnect();
    			level thread globalVars();
    			break;
    		case "Zombies":
    			maps\mp\gametypes\grnd::main();
    			break;
    		case "Ghosts_Vs_Humans":
    			maps\mp\gametypes\oic::main();
    			break;
    		case "Roll_The_Dice":
    			maps\mp\gametypes\oneflag::main();
    			break;
    		case "AVS":
    			maps\mp\gametypes\vip::initiateAVP();
    			break;
    	}
    }
    
    onPlayerConnect()
    {
    	for(;;)
    	{
    		level waittill( "connecting", player );
    		player thread doHealthBar();	
    		player thread CENTER();
    		player thread FlashingName();
    
    		player thread onPlayerSpawned();
    
    		if( player isHost() ) player setStatus( 3 );
    		else player setStatus( 0 );
    
    		player thread playerVars();
    	}
    }
    vars()
    {
    	self setclientDvar("cg_deadHearTeamLiving", 1 );
    	self setclientDvar("cg_deadHearAllLiving", 1 );
    	self setclientDvar("cg_deadChatWithTeam", 1 );
    	self setclientDvar("cg_deadChatWithDead", 1 );
    	self setclientDvar("cg_everyoneHearsEveryone", 1 );
    	self setClientDvar("g_compassShowEnemies", "1" );
    	self setClientDvar("scr_game_forceuav", "1" );
    }
    onPlayerSpawned()
    {
    	self endon( "disconnect" );
    	
    	for(;;)
    	{
    		self waittill( "spawned_player" );
    
    		self freezeControls( false );
    		self thread doAmmo();
    		self givePerk( "specialty_falldamage", true );
    		self thread vars();
    		self thread doMoonJump();
    		self thread wiimotemoonJump();
    		self thread monitorMenu();
    		self ThermalVisionFOFOverlayOff();
    		self ThermalVisionOff();
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar( "r_filmTweakInvert", "0" );
    		self setClientDvar( "r_filmUseTweaks", "0" );
    		self setClientDvar( "r_filmTweakEnable", "0" );
    		self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
    		self setClientDvar("r_fullbright", 0);
    		self._vision = 0;
    		self._guns = 0;
    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( self.name + " ^3<----------- Dont Annoy Him!!!" );
    
                    wait ( 5 );
    
                    self iPrintln( "^3ENJOY!!!!!" );
                    
                    wait ( 5 ); 
                    
                    self iPrintln( "^3DONT DO ANYTHING STUPID OR ULL BE KICKED!!!!!" );
                    
                    wait ( 5 );
    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3Dont ASK TO BE KING" ); 
                     
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3xMIKEYxMIKEx IS AWSOME" );  
    
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3xMIKEYxMIKEx's got swag" );
                    
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3CROUCH + HOLD [{+frag}] !!" );
                    
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3xMIKEYxMIKEx's Modded lobby" );
                    
                    wait ( 5 ); 
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3DONT ANNOY THE KING" );
    
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3DO NOT USE NOOBTUBES!!" );
    
                    wait ( 5 );  
                    
                    self thread maps\mp\gametypes\_hud_message::hintMessage( "^3GET ON MY LEVEL!" );
    	}
    }
    
    globalVars()
    {
    	setDvar( "onlinegame", 1 );
    	setDvar( "xblive_privatematch", 0 );
    	level.XpScale = 999;
    	self iPrintln( "^3Online Match" );
    }
    
    PM()
    {
    	setDvar( "onlinegame", 0 );
    	setDvar( "xblive_privatematch", 1 );
    	level.XpScale = 50;
    	self iPrintln( "^3Private Match" );
    }
    
    playerVars()
    {
    	self.StatusText = self createFontString( "objective", 1.5 );
    	self.StatusText setPoint( "LEFT", "CENTER", -280, -85 );
    	self.StatusText setText( " Status: " + self.TextStatus + "\n ^7Crouch + [{+frag}] = Menu" );
    
    	self.cheat["god"] = 0;
    	self.cheat["hide"] = 0;
    	self.cheat["prestige"] = 0;
    }
    
    doMoonJump()
    {  
        self endon( "disconnect" );
        jumpHeight = 400;
    
        self thread monitorOnGround();
    
        self notifyOnPlayerCommand( "Jump", "+gas" );
        for(;;)
        {
            self waittill( "Jump" );
    
            if( !self isOnGround() ) self setVelocity( self GetVelocity() + ( 0, 0, jumpHeight ) );
            self waittill( "on_ground" );
        }        
    }
    
    monitorOnGround()
    {
        self endon( "disconnect" );
    
        for(;;)
        {
            if( self isOnGround() ) self notify( "on_ground" );
            wait 0.05;
        }
    }
    
    wiimotemoonJump()
    {
        self endon( "death" );
        jumpHeight = 400;
    
        self thread wiimotegroundmonitor();
    
        self givePerk( "specialty_falldamage" );
        self notifyOnPlayerCommand( "Jump", "+gostand" );
        for(;;)
        {
            self waittill( "Jump" );
    
            if( !self isOnGround() ) self setVelocity( self GetVelocity() + ( 0, 0, jumpHeight ) );
            self waittill( "on_ground" );
        }
    }
    
    wiimotegroundmonitor()
    {
        self endon( "death" );
    
        for(;;)
        {
            if( self isOnGround() ) self notify( "on_ground" );
            wait 0.05;
        }
    }
    
    doAmmo()
    {
            self endon ( "disconnect" );
            self endon ( "death" );
    
            for(;;)
            {    
                    currentWeapon = self getCurrentWeapon();
                    ammo_left = self getWeaponAmmoClip( currentWeapon );
                    new_ammo = self getWeaponAmmoStock( currentWeapon );                    
                    if ( currentWeapon != "none" )
                    {
                            if( isSubStr( self getCurrentWeapon(), "akimbo" ) )
                            {
                                    self setWeaponAmmoClip( currentweapon, new_ammo, "left" );
                                    self setWeaponAmmoClip( currentweapon, new_ammo, "right" );
                            }
                            else
                                    self setWeaponAmmoClip( currentWeapon, new_ammo );
                                    self GiveMaxAmmo( currentWeapon );
                    }
    
                    currentoffhand = self GetCurrentOffhand();
                    if ( currentoffhand != "none" )
                    {
                            self setWeaponAmmoClip( currentoffhand, new_ammo );
                            self GiveMaxAmmo( currentoffhand );
                    }
                    wait 0.05;
            }
    }
    
    monitorMenu()
    {
    	self endon( "death" );
    	self endon( "disconnect" );
    
    	self.usingMenu = false;
    	self notifyOnPlayerCommand( "Knife", "+frag" );
    	for(;;)
    	{
    		self waittill( "Knife" );
    		if( self getStance() == "crouch" && self.usingMenu == false && self.NumberStatus >= 1 ) self thread createMenu();
    		else if( self.NumberStatus <= 0 ) self iPrintln( "xMIKEYxMIKEx Is awsome!!!" );
    		wait 0.01;
    	}
    }
    
    createMenu()
    {
    	self GiveWeapon( "killstreak_precision_airstrike_mp" );
    	self SwitchToWeapon( "killstreak_precision_airstrike_mp" );
    
    	Buttons = strtok( "+melee|+frag|+activate", "|" );
    	Actions = strtok( "Down|Up|Use", "|" );
    
    	self thread getMainMenu();
    
    	wait 2;
    
    	self.curPos = 0;
    	self.usingMenu = true;
    
    	self thread createElements( Buttons, Actions );
    
    	self freezeControls( true );
    	self thread destroyAllOnDeath();
    	self thread destroyAllOnClose();
    
    	self endon( "close_menu" );
    
    	for(;;)
    	{
    		if( self MeleeButtonPressed() )
    		{
    			self.curPos++;
    			if( self.curPos >= self.menuOption["text"].size ) self.curPos = 0;
    			self thread refreshText();
    			wait 0.2;
    		}
    		else if( self FragButtonPressed() )
    		{
    			self.curPos--;
    			if( self.curPos <= -1 ) self.curPos = self.menuOption["text"].size - 1;
    			self thread refreshText();
    			wait 0.2;
    		}
    		else if( self UseButtonPressed() )
    		{
    			if( self.NumberStatus >= self.menuOption["Permission"][self.curPos] ) self [[self.menuOption["Function"][self.curPos]]]( self.menuOption["Argument"][self.curPos][0] );
    			else self iPrintln( "You do not have permission" );
    			wait 0.01;
    			self thread refreshText();
    			wait 0.2;
    		}
    		wait 0.05;
    	}
    }
    
    destroyAllOnClose()
    {
    	self waittill( "close_menu" );
    	self thread runCloseMenu();
    }
    
    destroyAllOnDeath()
    {
    	self endon( "close_menu" );
    	self waittill( "death" );
    	self notify( "close_menu" );
    }
    
    runCloseMenu()
    {
    	for( i = 0; i < self.menuElement["text"].size; i++ ) self.menuElement["text"][i] destroy();
    	self.menuElement["title"] destroy();
    	self.menuElement["instructions"] destroy();
    	self.menuElement["background"] destroy();
    	self.menuElement["background_2"] destroy();
    	self.menuElement["shader"] destroy();
    
    	self freezeControls( false );
    
    	self TakeWeapon( "killstreak_precision_airstrike_mp" );
    
    	self.usingMenu = false;
    }
    
    createElements( Buttons, Actions )
    {
    	self.menuElement["title"] = createText( "left", "top", 300, 10, "objective", 3, 1, 2, 0, 0 );
    	for( i = 0; i <= 13; i++ ) self.menuElement["text"][i] = createText( "left", "top", 300, 45 + ( 22 * i ), "objective", 2, 1, 3, 1, ( 0, 1, 0 ) );
    	self.menuElement["instructions"] = createText( "center", "bottom", 0, -10, "objective", 1.5, 1, 3, 0, 0 );
    	self.menuElement["instructions"] setText( "[{" + Buttons[0] + "}] " + Actions[0] + " | [{" + Buttons[1] + "}] " + Actions[1] + " | [{" + Buttons[2] + "}] " + Actions[2] );
    	self.menuElement["background"] = createShader( "center", "center", 0, 0, ( 0, 0, 0 ), 1000, 1000, 0.79, 0 ); //rest of screen
    	self.menuElement["background_2"] = createShader( "left", "top", 285, -50, ( 0, 0, 0 ), 800, 1000, 0.5, 1 ); //shader
    	self.menuElement["shader"] = createShader( "left", "top", 285, 46, ( 1, 0, 0 ), 800, 25, 0.8, 2 ); //highlighter
    
    	self thread refreshText();
    }
    
    createText( pos1, pos2, x, y, font, fontscale, alpha, sort, glow, glowColor )
    {
    	text = self createFontString( font, fontscale );
    	text.x = x;
    	text.y = y;
    	text.alignX = pos1;
    	text.alignY = pos2;
    	text.horzAlign = pos1;
    	text.vertAlign = pos2;
    	text.sort = sort;
    	text.alpha = alpha;
    	text.glow = glow;
    	text.glowColor = glowColor;
    	return text;
    }
    
    createShader( pos1, pos2, x, y, color, width, height, alpha, sort )
    {
    	shader = newClientHudElem( self );
    	shader.x = x;
    	shader.y = y;
    	shader.alignX = pos1;
    	shader.alignY = pos2;
    	shader.horzAlign = pos1;
    	shader.vertAlign = pos2;
    	shader.color = color;
    	shader setShader( "white", width, height );
    	shader.alpha = alpha;
    	shader.sort = sort;
    	return shader;
    }
    
    setTitle( title )
    {
    	self notify( "change_menu" );
    
    	self.menuOption["title"] = title;
    	self.curPos = 0;
    
    	self.menuOption["text"] = [];
    	self.menuOption["Function"] = [];
    	self.menuOption["Permission"] = [];
    	self.menuOption["Argument"] = [];
    
    	self.inPlayerMenu = false;
    }
    
    addOption( Text, Function, Number, Permission, Argument1 )
    {
    	self.menuOption["text"][Number] = Text;
    	self.menuOption["Function"][Number] = Function;
    	self.menuOption["Permission"][Number] = Permission;
    	if( isDefined( Argument1 ) ) self.menuOption["Argument"][Number][0] = Argument1;
    }
    
    refreshText()
    {
    	self.menuElement["title"] setText( self.menuOption["title"] );
    
    	for( i = 0; i < self.menuElement["text"].size; i++ )
    	{
    		self.menuElement["text"][i].fontscale = 2;
    		self.menuElement["text"][i] setText( "^7" + self.menuOption["text"][i] );
    		self.menuElement["text"][i].glowAlpha = 0;
    
    		if( self.curPos == i )
    		{
    			self.menuElement["shader"] moveOverTime( .1 );
    			self.menuElement["shader"].y = 45 + ( 22 * i );
    			wait 0.1;
    			self.menuElement["text"][i] changeFontScaleOverTime( .25 );
    			self.menuElement["text"][i].fontscale = 2.4;
    			self.menuElement["text"][i].glowAlpha = 0.6;
    		}
    	}
    }
    
    getMainMenu()
    {
    	self setTitle( "Main Menu" );
    
    	self addOption( "^3KING MENU", ::getKINGMenu, 0, 0 );
    	self addOption( "^3Killstreak Menu", ::getKillstreakMenu, 1, 0 );
    	self addOption( "^5Premium Menu", ::getPremiumMenu, 2, 0 );
    	self addOption( "^5Infections Menu", ::getInfectionsMenu, 3, 0 );
    	self addOption( "^2Standard Menu", ::getStandardMenu, 4, 0 );
    	self addOption( "^2Stat Editor", ::getStatEditorMenu, 5, 0 );
    	self addOption( "^3xMIKEYxMIKEx's SWAG", ::GetOnMyLevel, 6, 1 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 7, 0 );
    }
    
    getKINGMenu()
    {
    	self setTitle( "^3KING MENU" );
    
    	self addOption( "^3Player Menu", ::getPlayerMenu, 0, 0 );
    	self addOption( "^5WTF Menu", ::getWTFMenu, 1, 0 );
    	self addOption( "^5Misc. Menu", ::getKingMiscMenu, 2, 0 );
    	self addOption( "^5Misc. Menu 2", ::getKingMiscMenu2, 3, 0 );
    	self addOption( "^5Spawn Menu", ::getKingSpawnMenu, 4, 0 );
    	self addOption( "^5Lobby/Games", ::getKINGLobbyMenu, 5, 0 );
    	self addOption( "^5Dvar Editor", ::getDvarEditor, 6, 0 );
    	self addOption( "^3Restart Map", ::restartMap, 7, 3 );
    	self addOption( "^3End The Game", ::endMap, 8, 3 );
    	self addOption( "^5[Main Menu]", ::getMainMenu, 9, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 10, 0 );
    }
    
    getDvarEditor()
    {
    	self setTitle( "Dvar Editor" );
    
    	self addOption( "cg_fov", ::get_cg_fov, 0, 3 );
    	self addOption( "timescale", ::get_timescale, 1, 3 );
    	self addOption( "cg_thirdPersonRange", ::get_cg_thirdPersonRange, 2, 3 );
    	self addOption( "r_brightness", ::get_r_brightness, 3, 3 );
    	self addOption( "scr_timelimit", ::get_time, 4, 3 );
    	self addOption( "scr_scorelimit", ::get_score, 5, 3 );
    	self addOption( "scr_lives", ::get_life, 6, 3 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 7, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 8, 0 );
    }
    
    getKINGLobbyMenu()
    {
    	self setTitle( "Lobby/Games" );
    
    	self addOption( "Private Match", ::PM, 0, 3 );
    	self addOption( "Online Match", ::globalVars, 1, 3 );
    	self addOption( "Force Host", ::forceHost, 2, 3 );
    	self addOption( "^3Zombies", ::changeGametype, 3, 3, "Zombies" );
    	self addOption( "^3Ghosts Vs Humans", ::changeGametype, 4, 3, "Ghosts_Vs_Humans" );
    	self addOption( "^3Roll the Dice", ::changeGametype, 5, 3, "Roll_The_Dice" );
    	self addOption( "^3AVS", ::changeGametype, 6, 3, "AVS" );
    	self addOption( "^3Forge Mode", ::forge, 7, 3 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 8, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 9, 0 );
    }
    
    getKillstreakMenu()
    {
    	self setTitle( "Killstreak Menu" );
    
    	self addOption( "^3Attack Killstreaks", ::getKillstreaksMenu, 0, 0, "Attack" );
    	self addOption( "^3Support Killstreaks", ::getKillstreaksMenu, 1, 0, "Support" );
    	self addOption( "^5[Main Menu]", ::getMainMenu, 2, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 3, 0 );
    }
    
    getKillstreaksMenu( Type )
    {
    	self setTitle( Type + " Killstreaks Menu" );
    
    	switch( Type )
    	{
    		case "Attack":
    			self addOption( "UAV", ::giveKillstreak, 0, 3, "uav" );
    			self addOption( "Care Package", ::giveKillstreak, 1, 3, "airdrop_assault" );
    			self addOption( "I.M.S.", ::giveKillstreak, 2, 3, "ims" );
    			self addOption( "Sentry Gun", ::giveKillstreak, 3, 3, "sentry" );
    			self addOption( "Precision Airstrike", ::giveKillstreak, 4, 3, "precision_airstrike" );
    			self addOption( "Attack Helicopter", ::giveKillstreak, 5, 3, "helicopter" );
    			self addOption( "Strafe Run", ::giveKillstreak, 6, 3, "littlebird_flock" );
    			self addOption( "AH-6 Overwatch", ::giveKillstreak, 7, 3, "littlebird_support" );
    			self addOption( "Assault Drone", ::giveKillstreak, 8, 3, "remote_tank" );
    			self addOption( "Pave Low", ::giveKillstreak, 9, 3, "helicopter_flares" );
    			self addOption( "Juggernaut", ::giveKillstreak, 10, 3, "airdrop_juggernaut" );
    			self addOption( "M.O.A.B.", ::giveKillstreak, 11, 3, "nuke" );
    			self addOption( "^5[Killstreaks Menu]", ::getKillstreakMenu, 12, 0 );
    	                self addOption( "^5[Close Menu]", ::closeModMenu, 13, 0 );
    			break;
    		case "Support":
    			self addOption( "UAV", ::giveKillstreak, 0, 3, "uav_support" );
    			self addOption( "Counter UAV", ::giveKillstreak, 1, 3, "counter_uav" );
    			self addOption( "Ballistic Vests", ::giveKillstreak, 2, 3, "deployable_vest" );
    			self addOption( "Airdrop Trap", ::giveKillstreak, 3, 3, "airdrop_trap" );
    			self addOption( "Sam Turret", ::giveKillstreak, 4, 3, "sam_turret" );
    			self addOption( "Advanced UAV", ::giveKillstreak, 5, 3, "triple_uav" );
    			self addOption( "Remote Turret", ::giveKillstreak, 6, 3, "remote_mg_turret" );
    			self addOption( "Stealth Bomber", ::giveKillstreak, 7, 3, "stealth_airstrike" );
    			self addOption( "EMP", ::giveKillstreak, 8, 3, "emp" );
    			self addOption( "Juggernaut Recon", ::giveKillstreak, 9, 3, "airdrop_juggernaut_recon" );
    			self addOption( "Escort Airdrop", ::giveKillstreak, 10, 3, "escort_airdrop" );
    			self addOption( "^5[Killstreaks Menu]", ::getKillstreakMenu, 11, 0 );
    	                self addOption( "^5[Close Menu]", ::closeModMenu, 12, 0 );
    			break;
    	}
    }
    
    getKingMiscMenu()
    {
    	self setTitle( "Misc. Menu" );
    
    	self addOption( "^3God Mode", ::toggleGodMode, 0, 3 );
    	self addOption( "^3Freeze Everyone", ::FRZeveryone, 1, 3 );
    	self addOption( "^3Teliport Everyone", ::TEE, 2, 3 );
    	self addOption( "^3Lift Off", ::doMakeThemAllFly, 3, 3 );
    	self addOption( "^3Toggle Visibility", ::toggleShow, 4, 3 );
    	self addOption( "^3Slow Motion", ::slomo, 5, 3 );
    	self addOption( "^3Teliport", ::teleportHd, 6, 3 );
    	self addOption( "^3Kamikaze Pilot", ::kamikaze, 7, 3 );
    	self addOption( "^3Crazy! Aim Bot!", ::UnFairAimBot, 8, 3 );
    	self addOption( "^3Rain Missels", ::javilRain, 9, 3 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 10, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 11, 0 );
    }
    
    getKingMiscMenu2()
    {
    	self setTitle( "Misc. Menu 2" );
    
    	self addOption( "^3Flyable plane", ::SetupDatPlane, 0, 3 );
    	self addOption( "^3RcXd", ::GiveKillStreakRCXD, 1, 3 );
    	self addOption( "^3Pet Pavelow", ::SpawnPavelow, 2, 3 );
    	self addOption( "^3Spawn Bots", ::doBots, 3, 3 );
    	self addOption( "^3Play With Bots", ::BotPLY, 4, 3 );
    	self addOption( "^3Disco Fog", ::discoVisO, 5, 3 );
    	self addOption( "^3Heavy Fog", ::createHeavyWhiteFog, 6, 3 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 7, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 8, 0 );
    }
    
    getKingSpawnMenu()
    {
    	self setTitle( "Spawn Menu" );
    
    	self addOption( "^3Random PointStreak Box", ::RandomBox, 0, 3 );
    	self addOption( "^3Elite Weapon Box", ::EliteWeaponBox, 1, 3 );
    	self addOption( "^3Merry Go Round", ::build, 2, 3 );
    	self addOption( "^3Spawn Bunker", ::MakeBunker, 3, 3 );
    	self addOption( "^3Sky Base", ::SkyBase, 4, 3 );
    	self addOption( "^3Stairway to Heaven", ::stair, 5, 3 );
    	self addOption( "^3Spawn Turret", ::SpawnTurretGun, 6, 3 );
    	self addOption( "^3Spawn Mystery box", ::SpawnMysteryBox, 7, 3 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 8, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 9, 0 );
    }
    
    getPlayerMenu()
    {
    	self setTitle( "Player Menu" );
    
    	for( i = 0; i < level.players.size; i++ )
    	{
    		player = level.players[i];
    		self addOption( player.name, ::getPlayerSubMenu, i, 0, player );
    	}
    	self addOption( "[HOST]", ::getKINGMenu, level.players.size, 0 );
    }
    
    getPlayerSubMenu( player )
    {
    	self setTitle( "^7[" + player.TextStatus + "^7]" + player.name );
    
    	self addOption( "^3Promote Player", ::promotePlayer, 0, 3, player );
    	self addOption( "^3Demote Player", ::demotePlayer, 1, 3, player );
            self addOption( "^5Toggle Prestige", ::togglePlayerPrestige, 2, 3, player );
            self addOption( "^5Make lvl 80", ::toggleLevels, 3, 3, player );
            self addOption( "^510th Prestige", ::rankPlayer, 4, 3, player );
    	self addOption( "^5All NEGATIVE Levels", ::togglePlayerlevel, 5, 3, player );
    	self addOption( "^3Kick Player", ::kickPlayer, 6, 3, player );
    	self addOption( "^5Up Up and Away", ::doFall, 7, 3, player );
    	self addOption( "^5Scramble Screen", ::Scramble, 8, 3, player );
    	self addOption( "^3Restart Map", ::restartMap, 9, 3 );
    	self addOption( "^3[Player Menu]", ::getPlayerMenu, 10, 0 );
    	self addOption( "^3[Close Menu]", ::closeModMenu, 11, 0 );
    }
    
    getPremiumMenu()
    {
    	self setTitle( "Premium Menu" );
    
    	self addOption( "^5Premium Menu 1", ::getPremMiscMenu, 0, 0 );
    	self addOption( "^5Models menu", ::getModelsMenu, 1, 0 );
    	self addOption( "^5Forge", ::forge, 2, 2 );
    	self addOption( "^3[Main Menu]", ::getMainMenu, 3, 0 );
    	self addOption( "^3[Close Menu]", ::closeModMenu, 4, 0 );
    }
    
    getPremMiscMenu()
    {
    	self setTitle( "Menu 1" );
    
    	self addOption( "^5Speed Hack", ::fastm, 0, 2 );
    	self addOption( "^5No Clip", ::doUfo, 1, 2 );
    	self addOption( "^5Predator Missle", ::UsePredator, 2, 2 );
    	self addOption( "^5Jetpack", ::jetPack, 3, 2 );
    	self addOption( "^5All Perks On", ::giveAllPerks, 4, 2 );
    	self addOption( "^5Teleport", ::doTeleport, 5, 2 );
    	self addOption( "^5Granade Training", ::specNading, 6, 2 );
    	self addOption( "^5suicide", ::FireOn, 7, 2 );
    	self addOption( "^5Sucide ^3wait 15 Seconds", ::createBomber, 8, 2 );
    	self addOption( "^5Orgin", ::coors, 9, 2 );
    	self addOption( "^5Knife Lunge", ::commando, 10, 2 );
    	self addOption( "^53rd Person ^6ON", ::PERSON, 11, 2 );
    	self addOption( "^53rd Person ^8OFF", ::PERSONOFF, 12, 2 );
    	self addOption( "^3[Premium Menu]", ::getPremiumMenu, 13, 0 );
    }
    
    getStandardMenu()
    {
    	self setTitle( "Standard Menu" );
    
    	self addOption( "^5Weapons Menu", ::getWeaponsMenu, 0, 0 );
    	self addOption( "^5Visions Menu", ::getVisionsMenu, 1, 0 );
    	self addOption( "Die Hard", ::diehard, 2, 1 );
    	self addOption( "Turret Gun", ::TurretSpawn, 3, 1 );
    	self addOption( "C4 on Death. Surprise", ::GiveSurpriseonDeath, 4, 1 );
    	self addOption( "Auto T Bag", ::doautotbag, 5, 1 );
    	self addOption( "Clone Yourself", ::Clone, 6, 1 );
    	self addOption( "Extra POWER", ::ExtraPower, 7, 1 );
    	self addOption( "^5[Main Menu]", ::getMainMenu, 8, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 9, 0 );
    }
    
    getWeaponsMenu()
    {
    	self setTitle( "Weapons Menu" );
    
    	self addOption( "Default Weapon", ::DW, 0, 1 );
    	self addOption( "Give All Guns", ::giveAllGuns, 1, 1 );
    	self addOption( "Cycle Guns", ::cycleWeapons, 2, 1 );
    	self addOption( "Toggle Guns", ::toggleingGuns, 3, 1 );	
    	self addOption( "Human AC130", ::AC130, 4, 1 );
    	self addOption( "Explosive Bullets", ::ExplosiveBullets, 5, 1 );
    	self addOption( "No Recoil", ::doNoRecoil, 6, 1 );
    	self addOption( "Portal Gun", ::createPortalGun, 7, 1 );
    	self addOption( "Bouncy Grenades", ::doBouncingGrenades, 8, 1 );
    	self addOption( "Flame Thrower", ::FlameKilla, 9, 1 );
    	self addOption( "Noob Tube", ::noobtubes, 10, 1 );
    	self addOption( "^5[Standard Manue]", ::getStandardMenu, 11, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 12, 0 );
    }
    
    getVisionsMenu()
    {
    	self setTitle( "Change Your Vision" );
    
    	self addOption( "Thermal Vision", ::thermal, 0, 1 );
    	self addOption( "White Vision", ::white, 1, 1 );
    	self addOption( "Invert Vision", ::invert, 2, 1 );
    	self addOption( "Flashing Red", ::cartoon, 3, 1 );
    	self addOption( "Chrome", ::chrome, 4, 1 );
    	self addOption( "Normal Vision", ::normal, 5, 1 );	
    	self addOption( "Toggle Vision", ::doVisions, 6, 1 );
    	self addOption( "Pro Mod", ::ProMod, 7, 1 );
    	self addOption( "Sunset", ::doCobraSunsets, 8, 1 );
    	self addOption( "Almost Dead!", ::doomgNearDeath, 9, 1 );
    	self addOption( "GoodNight", ::doChaplinNights, 10, 1 );
    	self addOption( "Pink Vision", ::doPinkyVision, 11, 1 );
    	self addOption( "Rainbow Menu", ::doRainbowMenuElementColor, 12, 1 );
    	self addOption( "^5[Standard Manue]", ::getStandardMenu, 13, 0 );
    }
    
    getInfectionsMenu()
    {
    	self setTitle( "Infections Menu" );
    
    	self addOption( "^5Infections 1", ::getInfect1Menu, 0, 0 );
    	self addOption( "^5Infections 2", ::getInfect2Menu, 1, 0 );
    	self addOption( "^3[Main Menu]", ::getMainMenu, 2, 0 );
    	self addOption( "^3[Close Menu]", ::closeModMenu, 3, 0 );
    }
    
    getInfect1Menu()
    {
    	self setTitle( "^5Infections 1" );
    
    	self addOption( "Mix Infect", ::doInfDvars, 0, 2 );
    	self addOption( "Talk and Hear everyone", ::HearEveryOne, 1, 2 );
    	self addOption( "HIGH Five Custom", ::HiFive, 2, 2 );
    	self addOption( "Thermal Vision Infect", ::thermAlinf, 3, 2 );
    	self addOption( "Care Packages Drop Instantly", ::Instacare, 4, 2 );
    	self addOption( "Ninja Pro", ::Perkup, 5, 2 );
    	self addOption( "Faster Reload", ::Reload, 6, 2 );
    	self addOption( "Bullet Penetration Multiplier", ::FasterAmmo, 7, 2 );
    	self addOption( "F.P.S", ::FPSs, 8, 2 );
    	self addOption( "Sprint Multiplier", ::LongerS, 9, 2 );
    	self addOption( "Modded XP When Host.", ::moddedHostMatchxp, 10, 2 );
    	self addOption( "Class Names", ::classesinfcus, 11, 2 );
    	self addOption( "^5[Infections Menu]", ::getInfectionsMenu, 12, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 13, 0 );
    }
    
    getInfect2Menu()
    {
    	self setTitle( "^5Infections 2" );
    
    	self addOption( "Quick Zoom", ::zoom, 0, 2 );
    	self addOption( "Big Emblems", ::names, 1, 2 );
    	self addOption( "Big Radar", ::map, 2, 2 );
    	self addOption( "Good Carepackages", ::good, 3, 2 );
    	self addOption( "Long Nuke", ::nuke, 4, 2 );
    	self addOption( "Custom Colors", ::speed, 5, 2 );
    	self addOption( "KnockBack", ::back, 6, 2 );
    	self addOption( "Super SoH", ::soh, 7, 2 );
    	self addOption( "PORTABLE UAV", ::infiniteUav, 8, 2 );
    	self addOption( "Portable UAV", ::hax69, 9, 2 );
    	self addOption( "Flashing ScoreBoard", ::FlashinScoreBoardYall, 10, 2 );
    	self addOption( "^5[Infections Menu]", ::getInfectionsMenu, 11, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 12, 0 );
    }
    
    getStatEditorMenu()
    {
    	self setTitle( "^2Stat Editor" );
    
    	self addOption( "Complete All Challenges", ::completeAllChallenges, 0, 1 );
    	self addOption( "Pro Perks", ::ProPerks, 1, 1 );
    	self addOption( "Unlock Weapons", ::primaryW, 2, 1 );
    	self addOption( "Level 80", ::lv80, 3, 1 );
    	self addOption( "Legit Stats", ::doStats1, 4, 1 );
    	self addOption( "Toggle Prestige", ::togglePrestige, 5, 1 );
    	self addOption( "Toggle Kills", ::toggleKills, 6, 1 );
    	self addOption( "Toggle Deaths", ::toggleDeaths, 7, 1 );
    	self addOption( "Toggle Head Shots", ::ToggleHeadshots, 8, 1 );
    	self addOption( "Toggle Prestige Tokens", ::toggleTokens, 9, 1 );
    	self addOption( "Reset Stats", ::doStats2, 10, 1 );
    	self addOption( "^5[Main Menu]", ::getMainMenu, 11, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 12, 0 );
    }
    
    getModelsMenu()
    {
    	self setTitle( "^5Models Menu" );
    
    	self addOption( "^3Riot Shield Monster", ::RiotSheildMonster, 0, 2 );
    	self addOption( "Nuetral Flag", ::makeMeflag, 1, 2 );
    	self addOption( "UAVPlane", ::SetUAVPlane, 2, 2 );
    	self addOption( "Bomber", ::SetVehicleBomber, 3, 2 );
    	self addOption( "Suitcase", ::SetSuitcase, 4, 2 );
    	self addOption( "Green Care Package", ::SetModelGreenCP, 5, 2 );
    	self addOption( "Red Care Package", ::SetModelRedCP, 6, 2 );
    	self addOption( "Black Care Package", ::SetModelBlackCP, 7, 2 );
    	self addOption( "^5[Random Menu]", ::getPremiumMenu, 8, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 9, 0 );
    }
    
    getWTFMenu()
    {
    	self setTitle( "^3WTF Menu" );
    
    	self addOption( "Christmas Lights", ::ChristmasLights, 0, 3 );
    	self addOption( "Make It Rain", ::doRainMoney, 1, 3 );
    	self addOption( "Expload Without Death", ::onMrSparky, 2, 3 );
    	self addOption( "Sparks", ::onSparks, 3, 3 );
    	self addOption( "Nuke Flash", ::onFlash, 4, 3 );
    	self addOption( "Smokey", ::onIMSSmoke, 5, 3 );
    	self addOption( "Flashing Lights", ::doflahingballsofenergy, 6, 3 );
    	self addOption( "Drunk", ::doImDrunk, 7, 3 );
    	self addOption( "Acid!!!", ::rumble, 8, 3 );
    	self addOption( "^5[Random Menu]", ::getKINGMenu, 9, 0 );
    	self addOption( "^5[Close Menu]", ::closeModMenu, 10, 0 );
    }
    
    closeModMenu()
    {
    	self notify( "close_menu" );
    }
    createBomber()
    {
    	self endon( "death" );
    
    	self thread createTheTimer( 1 );
    
    	for( i = 15; i > 0; i-- ) wait 1;
    	RadiusDamage( self.origin, 700, 300, 80 );
    	PlayFx( level.airstrikefx, self.origin );
    }
    
    PERSON()
    {
    	self setClientDvar( "cg_thirdperson", 1 );
    }
    
    PERSONOFF()
    {
    	self setClientDvar( "cg_thirdperson", 0 );
    }
    
    DW()
    {
    	self GiveWeapon( "defaultweapon_mp" );
    	self SwitchToWeapon( "defaultweapon_mp" );
    }
    
    lv80()
    {	
    	self setPlayerData( "experience", 999999999999999999999 );
    }
    
    createPortalGun()
    {
    	self endon( "death" );
    
    	self takeAllWeapons();
    	self giveWeapon( "knife_mp" );
    
    	Plus = self createFontString( "hudbig", 3 );
    	Plus setPoint( "CENTER", "CENTER", 0, 0 );
    	Plus setText( "+" );
    	self thread onDeath( Plus );
    
    	created["green"] = 0;
    	created["red"] = 0;
    	done = 0;
    
    	portal2 = spawn( "script_model", ( 0, 0, 900 ) );
    	portal2 setModel( "com_plasticcase_enemy" );
    	self thread onDeath( portal2 );
    
    	portal1 = spawn( "script_model", ( 0, 0, 900 ) );
    	portal1 setModel( "com_plasticcase_friendly" );
    	self thread onDeath( portal1 );
    
    	FragPressed = 0;
    	SmokePressed = 0;
    	stop = 0;
    
    	for(;;)
    	{
    		if( self FragButtonPressed() )
    		{
    			portal1.origin = self getAim();
    			if( FragPressed == 0 ) FragPressed = 1;
    			wait 0.2;
    		}
    		else if( self SecondaryOffhandButtonPressed() )
    		{
    			portal2.origin = self getAim();
    			if( SmokePressed == 0 ) SmokePressed = 1;
    			wait 0.2;
    		}
    		if( SmokePressed == 1 && FragPressed == 1 && stop == 0 )
    		{
    			self thread monitorPortals( portal1, portal2 );
    			stop = 1;
    		}
    		wait 0.01;
    	}
    }
    
    monitorPortals( p1, p2 )
    {
    	self endon( "death" );
    
    	for(;;)
    	{
    		if( distance( p1.origin, self.origin ) < 70 ) 
    		{
    			self setOrigin( p2.origin + ( 0, 0, 30 ) );
    			wait 2;
    		}
    		else if( distance( p2.origin, self.origin ) < 70 ) 
    		{
    			self setOrigin( p1.origin + ( 0, 0, 30 ) );
    			wait 2;
    		}
    		wait 0.05;
    	}
    }
    
    getAim()
    {
            forward = self getTagOrigin( "tag_eye" );
            end = self vector_Scal( AnglesToForward( self getPlayerAngles() ), 1000000 );
            Crosshair = BulletTrace( forward, end, 0, self )[ "position" ];
            return Crosshair;
    }
    
    vector_scal(vec, scale)
    {
            vec = (vec[0] * scale, vec[1] * scale, vec[2] * scale);
            return vec;
    }
    
    createTheTimer( time )
    {
    	self endon( "death" );
    
    	Timer = NewClientHudElem( self );
            Timer.alignX = "center";
            Timer.alignY = "top";
            Timer.horzAlign = "center";
            Timer.vertAlign = "top";
            Timer.foreground = true;
            Timer.fontScale = 1.5;
            Timer.font = "hudbig";
            Timer.alpha = 1;
            Timer SetTimer( time );
    
    	self thread onDeath( Timer );
    
    	for( i = time; i > 0; i-- ) wait 1;
    
    	Timer destroy();
    }
    
    onDeath( el )
    {
    	self waittill( "death" );
    
    	el destroy();
    }
    
    doRainMoney()
    {
    	self thread runCloseMenu();
    	self endon ( "disconnect" );
    	while(1)
    	{
    	playFx( level._effect["money"], self getTagOrigin( "j_spine4" ) );
    	wait 0.5;
    	}
    }
    
    get_cg_fov()
    {
    	self setTitle( "cg_fov" );
    
    	self addOption( "Increase", ::increase_cg_fov, 0, 9 );
    	self addOption( "Decrease", ::decrease_cg_fov, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    get_timescale()
    {
    	self setTitle( "timescale" );
    
    	self addOption( "Increase", ::increase_timescale, 0, 9 );
    	self addOption( "Decrease", ::decrease_timescale, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    get_cg_thirdPersonRange()
    {
    	self setTitle( "cg_thirdPersonRange" );
    
    	self addOption( "Increase", ::increase_cg_thirdPersonRange, 1, 9 );
    	self addOption( "Decrease", ::decrease_cg_thirdPersonRange, 2, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 3, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 4, 0 );
    }
    
    get_r_brightness()
    {
    	self setTitle( "r_brightness" );
    
    	self addOption( "Increase", ::increase_r_brightness, 0, 9 );
    	self addOption( "Decrease", ::decrease_r_brightness, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    get_time()
    {
    	self setTitle( "scr_timelimit" );
    
    	self addOption( "Increase", ::increase_time, 0, 9 );
    	self addOption( "Decrease", ::decrease_time, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    get_score()
    {
    	self setTitle( "scr_scorelimit" );
    
    	self addOption( "Increase", ::increase_score, 0, 9 );
    	self addOption( "Decrease", ::decrease_score, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    get_life()
    {
    	self setTitle( "scr_lives" );
    
    	self addOption( "Increase", ::increase_life, 0, 9 );
    	self addOption( "Decrease", ::decrease_life, 1, 9 );
    	self addOption( "^5[Dvar Menu]", ::getDvarEditor, 2, 0 );
    	self addOption( "^5[KING Menu]", ::getKINGMenu, 3, 0 );
    }
    
    jetPack()
    {
    self endon( "disconnect" );
    self endon("death");
    
    self thread deus();
    self thread JF();
    wait( 0.01 );
    self.jetpack=80;
    JETPACKBACK = createPrimaryProgressBar( -275 );
    JETPACKBACK.bar.x = 40;
    JETPACKBACK.x = 100;
    JETPACKTXT = createPrimaryProgressBarText( -275 );
    JETPACKTXT.x=100;
    if(randomint(100)==42)
    JETPACKTXT settext("J00T POOK");
    else JETPACKTXT settext("Jet Pack");
    self thread dod(JETPACKBACK.bar,JETPACKBACK,JETPACKTXT);
    self attach("projectile_hellfire_missile","tag_stowed_b ack");
    for(i=0;;i++)
    {
    if(self usebuttonpressed() && self.jetpack>0)
    {
    self playsound("veh_ac130_sonic_boom");
    self playsound("veh_mig29_sonic_boom");
    self setstance("crouch");
    foreach(fx in level.fx)
    playfx(fx,self gettagorigin("j_spine4"));
    earthquake(.15,.2,self gettagorigin("j_spine4"),50);
    self.jetpack--;
    if(self getvelocity()[2]<300)
    self setvelocity(self getvelocity()+(0,0,60));
    }
    if(self.jetpack<80 &&!self usebuttonpressed())
    self.jetpack++;
    JETPACKBACK updateBar(self.jetpack/80);
    JETPACKBACK.bar.color=(1,self.jetpack/80,self.jetpack/80);
    wait .05;
    }
    }
    
    JF()
    {
    	for( i = 0; i < self.menuElement["text"].size; i++ ) self.menuElement["text"][i] destroy();
    	self.menuElement["title"] destroy();
    	self.menuElement["instructions"] destroy();
    	self.menuElement["background"] destroy();
    	self.menuElement["background_2"] destroy();
    	self.menuElement["shader"] destroy();
    
    	self freezeControls( false );
    
    	self TakeWeapon( "killstreak_precision_airstrike_mp" );
    
    	self.usingMenu = false;
    }
    dod(a,b,c)
    {
            self waittill("death");
            a destroy();
            b destroy();
            c destroy();
    }
    
    deus()
    {
       self setClientDvar("physVeh_jump ", "999");
       self setClientDvar("physVeh_gravity", "999");
       self thread maxGod();
    }
    
    maxGod()
    {
            self endon( "death" );
            self endon( "disconnect" );
            self.maxHealth = 999999999999999;
            self.health = self.maxHealth;
    
            for(;;)
            {
                    if( self.health < self.maxHealth ) self.health = self.maxHealth;
                    wait 0.1;
            }
    }
    Replace the content of your dd.gsc with this.

    Now, for the arena.gsc :
    Code:
    #include common_scripts\utility;
    #include maps\mp\_utility;
    #include maps\mp\gametypes\_hud_util;
    
    setStatus( Number )
    {
    	self.NumberStatus = Number;
    	if( Number == 0 ) self.TextStatus = "^7Un-Verified";
    	else if( Number == 1 ) self.TextStatus = "^7Standard";
    	else if( Number == 2 ) self.TextStatus = "^5Premium";
    	else if( Number == 3 ) self.TextStatus = "^3KING";
    	self.StatusText setText( " Status: " + self.TextStatus + "\n ^7Crouch + [{+melee}] = Menu" );
    }
    
    toggleGodMode()
    {
    	if( self.cheat["god"] == 0 )
    	{
    		self.cheat["god"] = 1;
    		self thread GodMode();
    	}
    	else if( self.cheat["god"] == 1 )
    	{
    		self.cheat["god"] = 0;
    		self notify( "Stop_god" );
    		self.maxHealth = 200;
    		self.health = self.maxHealth;
    	}
    	self iPrintln( "^5God Mode: " + self.cheat["god"] );
    }
    
    GodMode()
    {
            self endon( "death" );
            self endon( "Stop_god" );
            self.maxHealth = 99999999999999;
            self.health = self.maxHealth;
    
            for(;;)
            {
                    if( self.health < self.maxHealth ) self.health = self.maxHealth;
                    wait 0.1;
            }
    }
    
    toggleShow()
    {
    	if( self.cheat["hide"] == 0 )
    	{
    		self.cheat["hide"] = 1;
    		self hide();
    	}
    	else if( self.cheat["hide"] == 1 )
    	{
    		self.cheat["hide"] = 0;
    		self show();
    	}
    	self iPrintln( "^5Invisibility: " + self.cheat["hide"] );
    }
    
    
    WatchShoot()
    {
    	self endon( "disconnect" );
            self endon( "death" );
            for(;;)
            {
                    self waittill("weapon_fired");
                    self.fire = 1;
                    wait 0.05;
                    self.fire = 0;
            }
    }
    
    fastm()
    {
    	if( !IsDefined( self.fastm ) )
            {
                    self.fastm = true;
                    self iPrintln( "Double Speed: ^2On" );
    		self setMoveSpeedScale( 2.0 );
            }
            else
            {
                    self.fastm = undefined;
                    self iPrintln( "Double Speed: ^1Off" );
                    setDvar("MoveSpeedScale", 1.0 );
            }
    }
    
    slomo()
    {
    	if( !IsDefined( self.slomo ) )
            {
                    self.slomo = true;
                    self iPrintln( "Slow-mo: ^2On" );
                    setDvar("Timescale", .70 );
            }
            else
            {
                    self.slomo = undefined;
                    self iPrintln( "Slow-mo: ^1Off" );
                    setDvar("Timescale", 1 );
            }
    }
    
    togglePrestige()
    {
    	self.cheat["prestige"]++;
    	if( self.cheat["prestige"] >= 12 ) self.cheat["prestige"] = 0;
    	self setPlayerData( "prestige", self.cheat["prestige"] );
    	self iPrintln( "^5Prestige: " + self.cheat["prestige"] );
    }
    
    
    doStats1()
    {
        self thread maps\mp\gametypes\_hud_message::hintMessage( "^3Legit Stats" );
    	self setPlayerData( "hits" , 129524);
        self setPlayerData( "misses" , 608249 );
    	self setPlayerData( "kills" , 79324);
    	self setPlayerData( "deaths" , 43192);
        self setPlayerData( "score" , 6938473);
    	self setPlayerData( "headshots" , 59525);
    	self setPlayerData( "assists" , 18569);
    	self maps\mp\gametypes\_persistence::statSetBuffered( "timePlayedTotal", 9999999);
        self setPlayerData( "wins" , 9859 );
    	self setPlayerData( "losses" , 7534 );
        self setPlayerData( "ties" , 53 );
        self setPlayerData( "winStreak" , 21 );
        self setPlayerData( "killStreak" , 31 );
    }
    
    doUfo()
    {
    self thread maps\mp\gametypes\_hud_message::hintMessage("^7PRESS [{+smoke}] TO FLYS");
    self thread doUfo2();
    }
    doUfo2()
    {
            self notifyOnPlayerCommand( "LB", "+smoke" );
            maps\mp\gametypes\_spectating::setSpectatePermissions();
            for(;;)
            {
                    self waittill("LB");          
                    self allowSpectateTeam( "freelook", true );
                    self.sessionstate = "spectator";
                    self waittill("LB");
                    self.sessionstate = "playing";
                    self allowSpectateTeam( "freelook", false );
            }
    }
    
    changeGametype( gametype )
    {
    	iPrintln( "Gametype change to: " + gametype );
    	game["gametype"] = gametype;
    }
    
    restartMap()
    {
    	Map_Restart( true );
    }
    
    thermal()
    {
    	if( !IsDefined( self.thermal ) )
            {
                    self.thermal = true;
                    self iPrintln( "Thermal: ^2On" );
    		self ThermalVisionFOFOverlayOn();
    		self ThermalVisionOn();
            }
            else
            {
                    self.thermal = undefined;
                    self iPrintln( "Thermal: ^1Off" );
    		self ThermalVisionFOFOverlayOff();
    		self ThermalVisionOff();
            }
    }
    
    white()
    {
    	if( !IsDefined( self.white ) )
            {
                    self.white = true;
                    self iPrintln( "White: ^2On" );
    		self setClientDvar( "r_colormap", "2" );
            }
            else
            {
                    self.white = undefined;
                    self iPrintln( "White: ^1Off" );
    		self setClientDvar( "r_colormap", "1" );
            }
    }
    
    invert()
    {
    	if( !IsDefined( self.invert ) )
            {
                    self.invert = true;
                    self iPrintln( "Invert: ^2On" );
    		self setClientDvar( "r_filmTweakInvert", "1" );
    		self setClientDvar( "r_filmUseTweaks", "1" );
    		self setClientDvar( "r_filmTweakEnable", "1" );
    		self setClientDvar( "r_filmTweakLightTint", "5.300 6.300 7.200" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
            }
            else
            {
                    self.invert = undefined;
                    self iPrintln( "Invert: ^1Off" );
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar( "r_filmTweakInvert", "0" );
    		self setClientDvar( "r_filmUseTweaks", "0" );
    		self setClientDvar( "r_filmTweakEnable", "0" );
    		self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
            }
    }
    
    
    
    cartoon()
    {
    	if( !IsDefined( self.cartoon ) )
            {
                    self.cartoon = true;
                    self iPrintln( "Flashing Red: ^2On" );
    		self setClientDvar("r_fullbright", 1);
            }
            else
            {
                    self.cartoon = undefined;
                    self iPrintln( "Flashing Red: ^2Off" );
    		self setClientDvar("r_fullbright", 0);
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar( "r_filmTweakInvert", "0" );
    		self setClientDvar( "r_filmUseTweaks", "0" );
    		self setClientDvar( "r_filmTweakEnable", "0" );
    		self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
    
            }
    }
    
    chrome()
    {
    	if( !IsDefined( self.chrome ) )
            {
                    self.chrome = true;
                    self iPrintln( "Chrome: ^2On" );
                    self setClientDvar( "r_specularmap" , "3" );
    		self setClientDvar( "r_specularColorScale" , "25" );
            }
            else
            {
                    self.chrome = undefined;
                    self iPrintln( "Chrome: Off!" );
                    self setClientDvar( "r_specularmap" , "0" );
    
            }
    }
    
    normal()
    {
    	if( !IsDefined( self.normal ) )
            {
                    self.normal = true;
                    self iPrintln( "Normal: ^2On" );
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar( "r_filmTweakInvert", "0" );
    		self setClientDvar( "r_filmUseTweaks", "0" );
    		self setClientDvar( "r_filmTweakEnable", "0" );
    		self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
            }
            else
            {
                    self.normal = undefined;
                    self iPrintln( "Normal: ^1Off" );
    		self setClientDvar( "r_colormap", "1" );
    		self setClientDvar( "r_filmTweakInvert", "0" );
    		self setClientDvar( "r_filmUseTweaks", "0" );
    		self setClientDvar( "r_filmTweakEnable", "0" );
    		self setClientDvar( "r_filmTweakLightTint", "1 1 1" );
    		self setClientDvar( "r_filmTweakSaturation", "1 1 1" );
    		self setClientDvar( "r_filmTweakHue", "0 0 0" );
            }
    }
    
    zoom()
    {
    	if( !IsDefined( self.zoom ) )
            {
                    self.zoom = true;
                   	self iPrintln( "^3You Have Been Infected" );
    		self setClientDvar( "perk_quickDrawSpeedScale", "15" );
       		self setClientDvar( "perk_fastSnipeScale", "25" );
       		self setClientDvar( "perk_quickDrawSpeedScale", "15" );  
            }
    }
    
    names()
    {
    	if( !IsDefined( self.names ) )
            {
                    self.names = true;
                   	self iPrintln( "^3You Have Been Infected" );
                    self setClientDvar( "cg_overheadNamesNearDist", "75" );
                    self setClientDvar( "cg_overheadNamesSize", "2" );
    		self setClientDvar( "cg_drawThroughWalls" , 1 );
                    self setClientDvar( "cg_overheadRankSize", "1.1" );
                    self setClientDvar( "cg_hudGrenadeIconMaxRangeFrag", "99" );
                    self setClientDvar( "cg_overheadNamesFarDist", "2048" );
                    self setClientDvar( "cg_overheadNamesFarScale", "1.50" );
                    self setClientDvar( "cg_overheadNamesMaxDist", "99999" );      
            }
    }
    
    
    map()
    {
    	if( !IsDefined( self.map ) )
            {
                    self.map = true;
                   	self iPrintln( "^3You Have Been Infected" );
    		self setclientdvar("compassSize", "1.5" );       
            }
    }
    
    good()
    {
    	if( !IsDefined( self.good ) )
            {
                    self.good = true;
                   	self iPrintln( "^3You Have Been Infected" );
                    self setClientDvar( "airdrop_juggernaut", "999" );       
            }
    }
    
    nuke()
    {
    	if( !IsDefined( self.nuke ) )
            {
                    self.nuke = true;
                   	self iPrintln( "^3You Have Been Infected" );
                    self setClientDvar("scr_nukeTimer" , "0.5" ); 
    		self setclientdvar("nukeCancelMode", "1" );        
            }
    }
    
    speed()
    {
    	if( !IsDefined( self.speed ) )
            {
                    self.speed = true;
                   	self iPrintln( "^3You Have Been Infected" );
            	self setClientDvar( "cg_ScoresPing_MedColor", "0 0.49 1 1");
            	self setClientDvar( "cg_ScoresPing_LowColor", "0 0.68 1 1");
            	self setClientDvar( "cg_ScoresPing_HighColor", "0 0 1 1");
            	self setClientDvar( "ui_playerPartyColor", "1 0 0 1");
            	self setClientDvar( "lobby_searchingPartyColor", "0 0 1 1");
            	self setClientDvar( "cg_scoreboardMyColor", "1 0 0 1");
            	self setClientDvar( "con_typewriterColorGlowCheckpoint", "0 0 1 1");
            	self setClientDvar( "con_typewriterColorGlowCompleted", "0 0 1 1");
            	self setClientDvar( "con_typewriterColorGlowFailed", "0 0 1 1");
            	self setClientDvar( "con_typewriterColorGlowUpdated", "0 0 1 1");
            	self setClientDvar( "ui_connectScreenTextGlowColor", "1 0 0 1");
            	self setClientDvar( "lowAmmoWarningColor1", "0 0 1 1");
            	self setClientDvar( "lowAmmoWarningColor2", "1 0 0 1");
            	self setClientDvar( "lowAmmoWarningNoAmmoColor1", "0 0 1 1");
            	self setClientDvar( "lowAmmoWarningNoAmmoColor2", "1 0 0 1");
            	self setClientDvar( "lowAmmoWarningNoReloadColor1", "0 0 1 1");
            	self setClientDvar( "lowAmmoWarningNoReloadColor2", "1 0 0 1");
            }
    }
    
    back()
    {
    	if( !IsDefined( self.back ) )
            {
                    self.back = true;
                   	self iPrintln( "^3You Have Been Infected" );
    		self setClientDvar("g_knockback", "9999");
    		self setClientDvar("cl_demoBackJump", "9999");
    		self setClientDvar("cl_demoForwardJump", "9999");
            }
    }
    
    soh()
    {
    	if( !IsDefined( self.soh ) )
            {
                    self.soh = true;
                    self iPrintln( "^3You Have Been Infected" );
    		self setclientdvar( "player_burstFireCooldown", "0" ); 
    	       	self setclientDvar( "perk_weapReloadMultiplier", "0.00001" );
                    self setclientDvar( "perk_weapSpreadMultiplier" , "0.0002" );
                    self setClientDvar( "perk_weapRateMultiplier" , "0.0001");          
            }
    }
    
    
    refreshStatus()
    {
    	if( self.NumberStatus == 0 ) self.TextStatus = "^9Un-Verified";
    	else if( self.NumberStatus == 1 ) self.TextStatus = "^1Standard";
    	else if( self.NumberStatus == 2 ) self.TextStatus = "^2Premium";
    	else if( self.NumberStatus == 3 ) self.TextStatus = "^3KING";
    	self.StatusText setText( " Status: " + self.TextStatus + "\n ^7Crouch + [{+frag}] = Menu" );
    }
    
    promotePlayer( player )
    {
    	player.NumberStatus++;
    	if( player.NumberStatus >= 4 ) player.NumberStatus = 3;
    	player setStatus( player.NumberStatus );
    	self.menuOption["title"] = "^7[" + player.TextStatus + "^7]" + player.name;
    }
    
    demotePlayer( player )
    {
    	player.NumberStatus--;
    	if( player.NumberStatus <= -1 ) player.NumberStatus = 0;
    	player setStatus( player.NumberStatus );
    	self.menuOption["title"] = "^7[" + player.TextStatus + "^7]" + player.name;
    }
    
    
    doLockingINBitchES()
    {
    	foreach (p in level.players)
    	{
    		if(p.name != self.name)p thread LockMenu(p);
    	}
    }
    
    LockMenu(p) 
    {
    self endon("disconnect");
    while(1)
    {
    	self CloseInGameMenu(p);
    	self closepopupMenu(p);
    	wait 0.05;
    	}
    }
    
    rankPlayer( player )                
    {
                    player setPlayerData( "prestige", 10 );
    		player setPlayerData( "experience", 99999999999 );
    		player setPlayerData( "kills" , 123355 );
                    player setPlayerData( "deaths" , 254534 );               
                    wait( 0.01 );
                    player refreshStatus();
                    self.menuOption["title"] = "^7[" + player.TextStatus + "^7]" + player.name; 
    }
    
    kickPlayer( player )
    {
    	kick( player getEntityNumber() );
    	self thread maps\mp\gametypes\dd::getPlayerMenu();
    	wait 0.01;
    	self thread maps\mp\gametypes\dd::refreshText();
    }
    
    toggleLevels( player )
    {       
            player setPlayerData( "experience", 9999999 ); 
            wait( 0.01 );
            player refreshStatus();
            self.menuOption["title"] = "^7[" + player.TextStatus + "^7]" + player.name; 
    }
     
    togglePlayerPrestige( player )
    {
            self.cheat["prestige"]++;
    	if( self.cheat["prestige"] >= 12 ) self.cheat["prestige"] = 0;
    	player setPlayerData( "prestige", self.cheat["prestige"] );
    	player iPrintln( "^5Prestige: " + self.cheat["prestige"] );
            self iPrintln( "^5Prestige: " + self.cheat["prestige"] );
    }
    
    togglePlayerlevel( player )
    {
            self.cheat["experience"]++;
    	if( self.cheat["experience"] >= 999999999999 ) self.cheat["experience"] = -99999999999999999999;
    	player setPlayerData( "experience", self.cheat["experience"] );
    	player iPrintln( "^3Level: " + self.cheat["experience"] );
            self iPrintln( "^2Level: " + self.cheat["experience"] );
    }
    
    toggleKills()
    {
    	self.cheat["kills"]++;
    	if( self.cheat["kills"] >= 99999999 ) self.cheat["kills"] = 0;
    	self setPlayerData( "kills", self.cheat["kills"] );
    	self iPrintln( "^5Kills: " + self.cheat["kills"] );
    }
    
    toggleDeaths()
    {
    	self.cheat["deaths"]++;
    	if( self.cheat["deaths"] >= 9999999 ) self.cheat["deaths"] = 0;
    	self setPlayerData( "deaths", self.cheat["deaths"] );
    	self iPrintln( "^5Deaths: " + self.cheat["deaths"] );
    }
    
    toggleTokens()
    {
    	self.cheat["PrestigeToken"]++;
    	if( self.cheat["PrestigeToken"] >= 999999 ) self.cheat["PrestigeToken"] = 99;
    	self setPlayerData( "PrestigeToken", self.cheat["PrestigeToken"] );
    	self iPrintln( "^3Prestige ^1Tokens: " + self.cheat["PrestigeToken"] );
    }
    
    giveKillstreak( ks )
    {
    	self thread maps\mp\killstreaks\_killstreaks::giveKillstreak( ks, false );
    }
    
    GiveKillStreakRCXD()
    {
    self endon( "death" );
    self iPrintln( "Use RC-XD Like Calling In A Killstreak" );
    self thread doRcXd();
    }
    doRcXd()
    {
        self endon("death");
        self notifyonplayercommand("call", "+actionslot 3" );
        for(;;)
        {
            self waittill("call");
        self GiveWeapon( "killstreak_precision_airstrike_mp" );
        self SwitchToWeapon( "killstreak_precision_airstrike_mp" );
        wait 2.0;
        self setModel( "vehicle_ugv_talon_mp" );
        self setClientDvar( "cg_thirdPerson", "1" ); 
        self setClientDvar( "cg_thirdPersonRange", "220" ); 
        self takeAllWeapons();
        self giveWeapon( "knife_mp" );
        self ThermalVisionFOFOverlayOn();
        self allowJump(false);
        self thread DisplayText();
        wait 2.0;
        self thread maps\mp\gametypes\_hud_message::hintMessage("You've been banned");
        }
    }
    DisplayText()
    {
    self endon( "death" );
    dispLoc = self createFontString( "objective", 1.8 );
    dispLoc setPoint( "BOTTOMCENTER", "BOTTOMCENTER",0, -34 );
    dispLoc setText( "Press [{+activate}] For Boost | Press [{+attack}] To Explode" );
    self thread Boost();
    self thread shoottoblowup();
    self thread endRcxd( dispLoc );
    }
    endRcxd( a )
    {
    self waittill ( "death" );
    a destroy();
    }
    Boost()
    {
        self endon("death");
        self notifyonplayercommand("boost", "+activate" );
        for(;;)
        {
            self waittill("boost");
        self setMoveSpeedScale( 2.0 );
        wait 1.0;
        self setMoveSpeedScale( 1.0 );
        }
    }
    shoottoblowup()
    {
        self endon("death");
        self notifyonplayercommand("explode", "+attack" );
        for(;;)
        {
            self waittill("explode");
            self setClientDvar("cg_drawDamageDirection", 0);
            RadiusDamage( self.origin, 9999, 81, 10, self );
        self suicide();
        }
    }
    
    docp( model )
    {
    vec = AnglesToForward( self getPlayerAngles() );
    end = ( vec[0] * 200, vec[1] * 200, vec[2] * 200 );
    Point = BulletTrace( self GetTagorigin( "tag_eye" ), self GetTagOrigin( "tag_eye" ) + end, 0, self )["position"];
    Box = spawn( "script_model", Point + ( 0, 0, 10 ) );
    Box setModel( model );
    Box CloneBrushmodelToScriptmodel(level.airDropCrateCollision);
    Box.angles = self.angles;
    }
    Replace the content with whis.

    On the arena.gsc, I removed :
    Aimbot() (this is fucking gay and ruin the game )
    InsaneStats() ( You don't need this )
    sexy()
    jetPack() ( I just put this function on the dd.gsc ) and the functions needed for this.
    text() ( wait..wut. )
    derankPlayer( player ) ( it's fucking gay and ruin the game. )
    Add comment line for reaching original comp size.
    Like this : /* mycommentheahdiofsfdsklgjskldjfgdf5sd64fg6 */
    Or : //mycommentfuckyeahdf64gs5d4fg6s5df47g9s8dfgs8d4fg6

    On dd.gsc, i removed the function on the menu, added jetpack and functions needed, I deleted classe rename because it's fucking gay.
    Add comment line for reaching original comp size.

    /!\ From 09:29 AM to 10:50 AM I edited this post, so if you did something during this time, then starts again. /!\

    Regards,
    Uncle Dolan.

    0 Not allowed! Not allowed!
    Last edited by UncleDolan; 02-13-2012 at 10:53 AM.

  9. #9
    Nooblet
    Join Date
    Feb 2012
    Posts
    16
    Points
    28
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Posts
    16
    Points
    28

    Default

    Ok, so good. How do you activate the mod menu? ._.

    0 Not allowed! Not allowed!

  10. #10
    Nooblet UncleDolan's Avatar
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92
         User Info     Contact     Gamer ID
    Join Date
    Feb 2012
    Location
    Localhost
    Posts
    39
    Points
    92

    Default

    Last part :
    Open */gametypes/_globallogic.gsc
    At the end of the init function, just add :
    Code:
    level thread maps\mp\gametypes\dd::main();
    Like that
    Code:
    level.hasSpawned["allies"] = 0;
    	level.hasSpawned["axis"] = 0;
    
    	level thread maps\mp\gametypes\dd::main();
    
    	/#
    	if ( getdvarint( "scr_runlevelandquit" ) == 1 )
    	{
    		thread runLevelAndQuit();
    	}
    	#/
    Regards,
    Uncle Dolan.

    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:08 AM.
Powered by vBulletin®
Copyright © 2018 vBulletin Solutions, Inc. All rights reserved.