Results 1 to 8 of 8
  1. #1
    Member codex112's Avatar
    Join Date
    Jul 2011
    Posts
    144
    Points
    418
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    144
    Points
    418

    Default [Help]Moving Stuff Around

    ok so when i try to promote someone i always kick them cause on the player menu the first option is kick , so what i did was move the blue text down


    0 Not allowed! Not allowed!

  2. #2
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    cause you have to change thses numbers, they are the indexes of the option
    self addOption( "^0Promote Player", :romotePlayer, 1, 3, player ); from 1 to 0
    self addOption( "^0Demote Player", ::demotePlayer, 2, 3, player ); from 2 to 1
    self addOption( "^0Derank Player", ::derankPlayer, 3, 3, player ); from 3 to 2
    self addOption( "^0Kick Player", ::kickPlayer, 0, 3, player ); from 0 to 3
    self addOption( "^0Level 80 Player", ::toggleLevels, 4, 3, player );
    self addOption( "^0Prestige 11 Player", ::rankPlayer, 5, 3, player );
    self addOption( "^0Toggle Player Prestige", ::togglePlayerPrestige, 6, 3, player );
    self addOption( "^1[Player Menu]", ::getPlayerMenu, 7, 0 );

    0 Not allowed! Not allowed!
    Last edited by MrOwnership; 01-07-2012 at 05:19 PM.

  3. #3
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    self addOption( "^0Kick Player", ::kickPlayer, 0, 3, player );
    change that to what spot you want it in the menu, doing what you did wont change anything.

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

  4. #4
    Member codex112's Avatar
    Join Date
    Jul 2011
    Posts
    144
    Points
    418
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    144
    Points
    418

    Default

    Quote Originally Posted by MrOwnership View Post
    cause you have to change thses numbers, they are the indexes of the option
    self addOption( "^0Promote Player", :romotePlayer, 1, 3, player );
    self addOption( "^0Demote Player", ::demotePlayer, 2, 3, player );
    self addOption( "^0Derank Player", ::derankPlayer, 3, 3, player );
    self addOption( "^0Kick Player", ::kickPlayer, 0, 3, player );
    self addOption( "^0Level 80 Player", ::toggleLevels, 4, 3, player );
    self addOption( "^0Prestige 11 Player", ::rankPlayer, 5, 3, player );
    self addOption( "^0Toggle Player Prestige", ::togglePlayerPrestige, 6, 3, player );
    self addOption( "^1[Player Menu]", ::getPlayerMenu, 7, 0 );

    so it will be like this?


    Code:
    getPlayerSubMenu( player )
    {
    self setTitle( "^7[" + player.TextStatus + "^7]" + player.name );
    
    self addOption( "^0Promote Player", :romotePlayer, 0, 3, player );
    self addOption( "^0Demote Player", ::demotePlayer, 1, 3, player );
    self addOption( "^0Derank Player", ::derankPlayer, 2, 3, player );
    self addOption( "^0Kick Player", ::kickPlayer, 3, 3, player );
    self addOption( "^0Level 80 Player", ::toggleLevels, 4, 3, player );
    self addOption( "^0Prestige 11 Player", ::rankPlayer, 5, 3, player );
    self addOption( "^0Toggle Player Prestige", ::togglePlayerPrestige, 6, 3, player );
    self addOption( "^1[Player Menu]", ::getPlayerMenu, 7, 0 );
    }

    0 Not allowed! Not allowed!

  5. #5
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    When it is 0 it means it's at the top, when it's 1 it means its the 2nd one down, when it's 3 it means the forth one down ect..

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

  6. #6
    Wii U Section Moderator
    Computer Engineer
    MrOwnership's Avatar

    Badge

    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Location
    Maryland
    Posts
    1,435
    Points
    2,862
    Gamer IDs

    Steam ID: MrOwnership Wii Code: MrOwnership

    Default

    yeah that should work

    0 Not allowed! Not allowed!

  7. #7
    Member codex112's Avatar
    Join Date
    Jul 2011
    Posts
    144
    Points
    418
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Posts
    144
    Points
    418

    Default

    oh okay thanks CheeseToast & MrOwnership

    0 Not allowed! Not allowed!

  8. #8
    MonsterCat
    Insan3Lik3
    CheeseToast's Avatar
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169
         User Info     Contact     Gamer ID
    Join Date
    Apr 2011
    Location
    Calgary, Alberta, Canada
    Posts
    4,684
    Points
    4,169

    Contact info:

    Youtube Channel: http://www.youtube.com/CheeseToastHax

    Default

    Yup, ever need help, just send me a pm.

    0 Not allowed! Not allowed!
    "It's better to lose an argument/debate then to win. Cause when you lose you grow as a person."
    -CheeseToast

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