Results 1 to 3 of 3
  1. #1
    Dr. Zion
    Divine Creationist
    Zion's Avatar
    Join Date
    Apr 2011
    Location
    Ontario, Canada
    Posts
    1,071
    Points
    1,759
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Ontario, Canada
    Posts
    1,071
    Points
    1,759
    Gamer IDs

    PSN ID: zionh4x Steam ID: zionh4x

    Default [Help] Mod Menu Syntax Error - with change Log

    hey guys. basically, i made a change log of my mod menu, and i need some help with this, i got a syntax error. can someone help me?

    Orig. Menu download : http://www.codeleakers.com/showthrea...2-MW3-Mod-Menu

    Code:
    1. Deleted:
    
    OnPlayer Connect()
    	*player thread doHealthBar();                -also deleted the corresponding script
    	*player thread ModNews();                   -also deleted the corresponding script
    	*player thread instruction();                 -also deleted the corresponding script
    	*player thread monitorJumpButton();      -also deleted the corresponding script
    	*player thread moonJump();                  -also deleted the corresponding script
    
    ----------------------------------------------
    
    
    Changed:
    
    		if( player isHost() )
    		{
    			player.TextStatus = "^5Admin";
    			player.NumberStatus = 3;
    		}
    		else
    		{
    			*player.TextStatus = "^2Premuim";
    			*player.NumberStatus = 2;
    		}
    
    ______TO_____
    
    		if( player isHost() )
    		{
    			player.TextStatus = "^5Admin";
    			player.NumberStatus = 3;
    		}
    		else
    		{
    			*player.TextStatus = "^1nooby";
    			*player.NumberStatus = 0;
    		}
    
    
    
    ----------------------------------------------
    
    
    
    2. Renamed custom classes. simple aha
    
    
    
    ----------------------------------------------
    
    
    
    3. Deleted:
    
    OnplayerSpawn()
    	*self thread forge();                                                                           -also deleted the corresponding script
    	*self thread iAmmo();
    	*self thread Time();     ----(its just the flashy text at the top of screen)     -also deleted the corresponding script
    	
            *self thread maps\mp\gametypes\_hud_message::hintMessage( self.name + " ^1Welcome To THE-MAN'S Modded Lobby" );
    
    ----------------------------------------------
    
    
    4. Changed:
    
    Vars()
    	*self setClientDvar("g_compassShowEnemies", "1" );
    	*self setClientDvar("scr_game_forceuav", "1" );
    
    to
    
    	*self setClientDvar("g_compassShowEnemies", "0" );
    	*self setClientDvar("scr_game_forceuav", "0" );
    
    ----------------------------------------------
    
    
    5. Deleted:
    
    PlayerVars()
    	*self.StatusText setText( " Status: " + self.TextStatus + "\n ^7Crouch + [{+frag}] = Menu" );
    	*self.StatusText = self createFontString( "objective", 1.5 );
    	*self.StatusText setPoint( "LEFT", "CENTER", -280, -85 );
    
    ---------------------------------------------
    
    
    6. Added iAmmo() as a menu option, (since i deleted it from -OnPlayerSpawn()- ):
    ========
    FROM THIS:
    
    
    getAdminMiscMenu()
    {
    	self setTitle( "^3Misc. Menu" );
    
    	self addOption( "^1God Mode", ::toggleGodMode, 0, 3 );
    	self addOption( "^7Toggle Visibility", ::toggleShow, 1, 3 );
    	self addOption( "^2AimBot", ::Aimbot, 2, 3 );
    	self addOption( "^5Slow Motion", ::slomo, 3, 3 );
    	self addOption( "^5Spawn Cannon", ::artillery, 4, 3 );
    	self addOption( "^6Bunker", ::MakeBunker, 5, 3 );
    	self addOption( "^7Merry Go Round", ::build, 6, 3 );
    	self addOption( "[Admin Menu]", ::getAdminMenu, 7, 0 );
    }
    
    -------------------------
    TO THIS:
    -------------------------
    
    
    getAdminMiscMenu()
    {
    	self setTitle( "^3Misc. Menu" );
    
    	self addOption( "^2God Mode", ::toggleGodMode, 0, 3 );
    	self addOption( "^2Toggle Visibility", ::toggleShow, 1, 3 );
    	self addOption( "^2AimBot", ::Aimbot, 2, 3 );
    	self addOption( "^2inf. Ammo", ::iAmmo, 3, 3);            <<<<<< i put that there..
    	self addOption( "^5Slow Motion", ::slomo, 4, 3 );
    	self addOption( "^5Spawn Cannon", ::artillery, 5, 3 );
    	self addOption( "^5Bunker", ::MakeBunker, 6, 3 );
    	self addOption( "^5Merry Go Round", ::build, 7, 3 );
    	self addOption( "[Admin Menu]", ::getAdminMenu, 8, 0 );
    }
    
    
    ---------------------------------------------
    
    and finally, i just added filler at the top, like this:
    
    //fjsifjsijfisjifjiosjgfojsrdofig
    //sgfisrjgijrsigjirsdjfigojdrisojgiod
    //esjifsefjojeifojiozejfiosjefjsodijfois     etc...

    0 Not allowed! Not allowed!
    Last edited by Zion; 12-27-2011 at 09:25 PM.
    Divine Creationist [#81]


    I aint ded

  2. #2
    Old-Timer
    Peace
    Repulse310's Avatar
    Join Date
    Sep 2011
    Posts
    981
    Points
    1,751
         User Info     Contact     Gamer ID
    Join Date
    Sep 2011
    Posts
    981
    Points
    1,751
    Gamer IDs

    Gamertag: Repulse310

    Contact info:

    Youtube Channel: http://www.youtube.com/user/Repulse310

    Default

    you may have to repplace the things u deleted or do u just want them to be completly gone?

    dont download that menu there's better one's out ok download the new one that yopu made a tutoral but since you made a tut why do u need help with anything??

    0 Not allowed! Not allowed!
    Xbox Gamer-Tag: Repulse310
    Quote Originally Posted by JellyBOB View Post
    i jrew a sircul!!!





  3. #3
    Dr. Zion
    Divine Creationist
    Zion's Avatar
    Join Date
    Apr 2011
    Location
    Ontario, Canada
    Posts
    1,071
    Points
    1,759
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Ontario, Canada
    Posts
    1,071
    Points
    1,759
    Gamer IDs

    PSN ID: zionh4x Steam ID: zionh4x

    Default

    i know theres a new one out, but its hard as fuck to edit.. i got syntax errors for the slightest changes... its stupid as shit.

    0 Not allowed! Not allowed!
    Last edited by Zion; 12-28-2011 at 11:56 AM.
    Divine Creationist [#81]


    I aint ded

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 11:23 PM.
Powered by vBulletin®
Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.