Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default Pls Help??????????????

    Hey guys can u please help me with this mod menu i just finished editing?

    it keeps on giving me a bad syntax

    all ive have done is copied and patsed the mod menu i just edited and released earlier on and add:

    case "RTD":
    self thread goRolls();
    break;
    case "Chaos Dogs":
    self thread goDogs();
    break;
    case "HNS":
    self thread goHns();
    break;
    case "GVH":
    self thread goGvh();
    break;

    with:


    goRolls()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "rolls" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^0to RTD^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }

    goDogs()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "dogs" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^0to Dogs^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }

    goHns()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "hns" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^1to Hide and Seek^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }

    goGvh()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "gvh" );
    self iPrintlnBold( "^3Switching ^0cusom_gametype ^3to GVH^0.^0.^3.^3.^0." );
    self thread closeModMenu();
    wait 1;
    map_restart( false );
    }
    }
    and i also added it to the menu parts

    the other thing i changed was this:



    closeModMenu()
    {
    self setClientUIVisibilityFlag( "hud_visible", 1 );
    self Disableinvulnerability();
    self freeze_player_controls( false );
    self.menuOpen = 0;
    self notify( "exit_menu" );

    gameType = getDvar( "custom_gametype" );

    switch( gameType )
    {
    case "normal":
    self enableWeapons();
    break;
    case "rolls":
    self enableWeapons();
    break;
    case "dogs":
    self enableWeapons();
    break;
    case "hns":
    self enableWeapons();
    break;
    case "gvh":
    self enableWeapons();
    break;
    default:
    break;
    }
    self thread disableBlur();
    self thread openMenu();
    self takeWeapon( "rcbomb_mp" );
    }


    pls help, this menu has gametypes(obviously) and the download link is below.
    if there is anything ive missed or done wrong opls correst me bcs ive deleted alot of things to do this so..... pls reply with any problems u find
    thx

    Download:
    C0D-FR34K'S MOD MENU.rar

    0 Not allowed! Not allowed!

  2. #2
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    sorry bout the spelling mistakes

    0 Not allowed! Not allowed!

  3. #3
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    did u add the names of the gametypes in globallogic

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  4. #4
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    yer i kept hem the same as they were from the other mod menu that was already in it

    0 Not allowed! Not allowed!

  5. #5
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    did u put this together urself cuz its missing braces in many things and map restart is supposed to be false

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  6. #6
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    can u fix them up for me? pls then send me it on skype or codeleakers

    wheres it missing braces?

    0 Not allowed! Not allowed!

  7. #7
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    goRolls()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "rolls" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^0to RTD^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }

    goDogs()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "dogs" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^0to Dogs^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }

    goHns()
    {
    self endon ( "disconnect" );
    self endon ( "death" );
    for (;;)
    {
    setDvar( "custom_gametype", "hns" );
    self iPrintlnBold( "^0Switching ^1cusom_gametype ^1to Hide and Seek^1....." );
    self thread closeModMenu();
    wait 1;
    map_restart( true );
    }
    }



    right here where it says map restart ( true )


    its supposed to say false

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  8. #8
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    yer wata bout the braces?

    0 Not allowed! Not allowed!

  9. #9
    Curret n3wbit
    Russ's Avatar
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    California
    Posts
    3,193
    Points
    3,398
    Gamer IDs

    Gamertag: SSRunts PSN ID: DCCoexist Steam ID: dcrunts

    Default

    nevermind i lied about that part

    0 Not allowed! Not allowed!

    "Sense is not made like money, sense is had like heart, pride, and integrity."~Russ

  10. #10
    σиє ℓιfє. ℓινє ιт. C0D-FR34K's Avatar
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
         User Info     Contact     Gamer ID
    Join Date
    Aug 2011
    Location
    Heaven and Hell
    Posts
    1,444
    Points
    920
    Gamer IDs

    PSN ID: xC0D--FR34Kx Steam ID: c0d-fr34k

    Default

    kk u got me worried for a second there thx runts

    so now it SHOULDN'T give me a bad syntax script error?

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