Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Release BO Simplest Admin Menu
#1
I get bored about no this kind of menu in BO, so I make one Big Grin

What is it?
It is the simplest admin menu you have never seen before and it is designed for any mods, it is also easy to edit.

What is the features of the menu?
It is my first menu I made and it is a bit junkySad
  • Kick Menu
  • Ban Menu
  • Freeze Menu
  • Blind Menu
  • Slay Menu
  • Teleport menu

You can easily see that the menu at the bottom of your screen

Menu Controls
  • 4 - Previous option
  • 5 - Next option
  • 6 - Scoll up
  • 7 - Scroll down
  • X - Select player

More info:
Adding to your mod:
  1. Open your _rank.gsc
  2. Find onplayerspawned() thread
  3. Add this under self waittill("spawned_player");
    Code:
    if(self IsHost() || self.GUID == ""){self thread HostMenu();}
  4. If you want to add an admin, find his guid and add to self.GUID == ""

Credits:
Me - For making this menu
Master131 - For teaching me many codes
iSnipe123 - For base of kick menu

Code
Code:
HostMenu()
{
    //Press 4 to move left, 5 to move right, 6 to move up, 7 to move down, X to select
        self endon("disconnect");
    self endon("death");

        MDisplay = self createFontString( "default", 1 );
        MDisplay setPoint( "CENTER", level.lowerTextYAlign, 0, level.lowerTextY + 140 );
    MDisplay.archived = false;
    MDisplay.glowAlpha = 1;
    MDisplay.hideWhenInMenu = true;
    MDisplay.alpha = 1;
        cur = 0;
    i = 0;
    self.Mtype = [];
    self.Mtype[0] = "Kick Player";
    self.Mtype[1] = "Ban Player";
    self.Mtype[2] = "Freeze Player";
    self.Mtype[3] = "Blind Player";
    self.Mtype[4] = "Slay Player";
    self.Mtype[5] = "Teleport Player";
    self.Mtype[6] = "Teleport to Player";

        for(;;)
    {
            MDisplay setText( level.players[cur].name + "   |   " +self.Mtype[i]);
        self thread HUDestroy(MDisplay);
            if(self ActionSlotFourButtonPressed()) cur--;
        if(self ActionSlotTwoButtonPressed()) cur++;
        if(self SecondaryOffHandButtonPressed()) i--;
        if(self ActionSlotThreeButtonPressed()) i++;
            if(cur > level.players.size-1) cur = 0;
        if(cur < 0) cur = level.players.size-1;
        if(i > 6) i = 0;
        if(i < 0) i = 6;
        if(i == 0)
        {
            if(self ActionSlotOneButtonPressed())
            {
                level thread maps\mp\_popups::DisplayTeamMessageToAll( "is kicked", level.players[cur] );
                 kick( level.players[cur] getEntityNumber());
                wait 1.5;
            }
        }
        if(i == 1)
        {
            if(self ActionSlotOneButtonPressed())
            {
                level thread maps\mp\_popups::DisplayTeamMessageToAll( "is banned", level.players[cur] );
                 ban( level.players[cur] getEntityNumber());
                wait 1.5;
            }
        }
        if(i == 2)
        {
            if(self ActionSlotOneButtonPressed())
            {
                if(level.players[cur].isFrozen == 0)
                {
                     level.players[cur] freeze_player_controls(true);
                    level.players[cur].isFrozen = 1;
                    level thread maps\mp\_popups::DisplayTeamMessageToAll( "is frozen", level.players[cur] );
                    wait 1.5;
                }

                else if(level.players[cur].isFrozen == 1)
                {
                    level.players[cur] freeze_player_controls(false);
                    level.players[cur].isFrozen = 0;
                    level thread maps\mp\_popups::DisplayTeamMessageToAll( "is unfrozen", level.players[cur] );
                    wait 1.5;
                }
            }
        }
        if(i == 3)
        {
            if(self ActionSlotOneButtonPressed())
            {
                if(level.players[cur].isBlind == 0)
                {
                     level.players[cur].blackscreen = newclienthudelem( self );
                    level.players[cur].blackscreen.x = 0;
                    level.players[cur].blackscreen.y = 0;
                    level.players[cur].blackscreen.horzAlign = "fullscreen";
                    level.players[cur].blackscreen.vertAlign = "fullscreen";
                    level.players[cur].blackscreen.sort = 50;
                    level.players[cur].blackscreen SetShader( "black", 640, 480 );
                    level.players[cur].blackscreen.alpha = 1;
                    level.players[cur].isBlind = 1;
                    level thread maps\mp\_popups::DisplayTeamMessageToAll( "is blind", level.players[cur] );
                }

                else if(level.players[cur].isBlind == 1)
                {
                    level.players[cur].blackscreen destroy();
                    level.players[cur].blackscreen delete();
                    level.players[cur].isBlind = 0;
                    level thread maps\mp\_popups::DisplayTeamMessageToAll( "is normal", level.players[cur] );
                }
            }
        }
        if(i == 4)
        {
            if(self ActionSlotOneButtonPressed())
            {
                level.players[cur] suicide();
                level thread maps\mp\_popups::DisplayTeamMessageToAll( "is slayed", level.players[cur] );
                wait 1.5;
            }
        }
        if(i == 5)
        {
            if(self ActionSlotOneButtonPressed())
            {
                level.players[cur] setOrigin(self.origin);
                wait 1.5;
            }
        }
        if(i == 6)
        {
            if(self ActionSlotOneButtonPressed())
            {
                self setOrigin(level.players[cur].origin);
                wait 1.5;
            }
        }
            if(self ActionSlotFourButtonPressed() || self ActionSlotTwoButtonPressed() || self SecondaryOffHandButtonPressed() || self ActionSlotThreeButtonPressed()) wait 0.2;
            wait 0.05;
           }
}


For a more functional one, plz visit:
http://www.itsmods.com/forum/Thread-BO-U...em-V1.html

[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#2
awesome alistair
Reply

#3
I love to say, the simple things are the bestExclamation

AWESOME menu alistair, Very good job keep it upExclamation

I hope to see another versions os this menu soonBig Grin

Barata Sleepy...
Reply

#4
haha goodjob alistair <3 .
Reply

#5
YEEEY your getting better and better keep m coming gj!
--
Reply

#6
(01-16-2011, 17:52)barata Wrote: I love to say, the simple things are the bestExclamation

AWESOME menu alistair, Very good job keep it upExclamation

I hope to see another versions os this menu soonBig Grin

Barata Sleepy...

You will see that while next release of iSnipe Smile
(Or may be other type of menu)
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#7
(01-17-2011, 06:34)alistair3149 Wrote:
(01-16-2011, 17:52)barata Wrote: I love to say, the simple things are the bestExclamation

AWESOME menu alistair, Very good job keep it upExclamation

I hope to see another versions os this menu soonBig Grin

Barata Sleepy...

You will see that while next release of iSnipe Smile
(Or may be other type of menu)

Just saw it xD One more time Very good Mod and Menu Im very curious to see the next version of the menu *-*

Very Good Job and Keep it Up!
Reply

#8
sorry im new how get this menu no download can someone pls tell me how i get it ingame ^^ Smile
Reply

#9
(01-24-2011, 15:33)jeffpcfreak1993 Wrote: sorry im new how get this menu no download can someone pls tell me how i get it ingame ^^ Smile
It isnt download, u need to compile with mods, read the instructions
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#10
hey there i read them and do it and now i have some problemes http://img375.imageshack.us/i/shot0058v.jpg/
some grapics fails
can someone pls help me?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
Question Help Admin menu koren30 4 5,114 10-07-2013, 20:17
Last Post: Yamato
  [Tutorial] How-To, Mod menu picture-REVISED/no iwifix needed rotceh_dnih 52 32,209 09-28-2013, 02:08
Last Post: Monkey Arms
Heart [Tutorial] Add yourself as admin for noobs like me. FNCPro 1 2,989 09-02-2013, 19:49
Last Post: Pozzuh
  God Mode Plugin - Everyone has rcon admin srskiller 4 6,087 08-28-2013, 19:03
Last Post: phillipito
  Help How do I open the admin menu for GeKKos QS Mod? conorr 1 3,081 08-15-2013, 13:52
Last Post: Yamato
Question Help Some Server Admin Questions! mn_acer1 2 3,345 08-03-2013, 04:11
Last Post: mn_acer1
  [Request] Need a plugin that hides all ! Admin commands sylvester123 7 5,257 07-27-2013, 13:21
Last Post: Bandarigoda123
Lightbulb Server admin where are you?? Moder.gr 14 10,657 07-23-2013, 08:04
Last Post: sylvester123
  Help MW3 Admin Rcon login PW guru 6 9,901 07-14-2013, 21:18
Last Post: guru
  Trying to compile a modified menu DidUknowiPwn 7 5,697 07-05-2013, 21:55
Last Post: DidUknowiPwn

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.