Release Gr3Zz/Requiem v1 Menu Base Release!! [Zombies]

Kontrol

Insane-Known Member
Messages
14
Points
358
Hello all of the people of ccm! Today, im releasing Gr3Zz menu base customized to my liking and different colors and position! Hopefully you guys enjoy! I havent seen many menu bases for .GSC but many SPRX and I edited Gr3Zz and removed mods and moved position and its GSC :smile:


Code:
#include maps/mp/_utility;
#include common_scripts/utility;
#include maps/mp/gametypes_zm/_hud_util;
#include maps/mp/_utility;
#include maps/mp/zombies/_zm_utility;
init()
{
    level.clientid=0;
    level thread onplayerconnect();
    precachemodel("defaultactor");
    precachemodel("defaultvehicle");
    precachemodel("test_sphere_silver");
    PrecacheItem("zombie_knuckle_crack");
}
onplayerconnect()
{
    for(;;)
    {
        level waittill("connecting",player);
        if(isDefined(level.player_out_of_playable_area_monitor))
        level.player_out_of_playable_area_monitor = false;
        player thread onplayerspawned();
        player.clientid=level.clientid;
        level.clientid++;
        player.Verified=false;
        player.VIP=false;
        player.Admin=false;
        player.CoHost=false;
        player.MyAccess="";
        player.godenabled=false;
        player.MenuEnabled=false;
        player DefaultMenuSettings();
    }
}
onplayerspawned()
{
    self endon("disconnect");
    level endon("game_ended");
    for(;;)
    {
        self waittill("spawned_player");
        if(self isHost())
        {
            self freezecontrols(false);
            self.Verified=true;
            self.VIP=true;
            self.Admin=true;
            self.CoHost=true;
            self.MyAccess="^1Host";
            self thread BuildMenu();
            self thread doNewsbar();
            self thread doMenuCenter1()
}
        else if (self.Verified==false)
        {
            self.MyAccess="";
        }
    }
}
MenuStructure()
{
    if (self.Verified==true)
    {
        self MainMenu("Requiem v1",undefined);
        self MenuOption("Requiem v1",0,"Sub Menu 1",::SubMenu,"Sub Menu 1");
        self MenuOption("Requiem v1",1,"Sub Menu 2",::SubMenu,"Sub Menu 2");
        self MenuOption("Requiem v1",2,"Sub Menu 3",::SubMenu,"Sub Menu 3");
        self MenuOption("Requiem v1",3,"Sub Menu 4",::SubMenu,"Sub Menu 4");
    }
    if (self.VIP==true)
    {
        self MenuOption("Requiem v1",4,"Sub Menu 5",::SubMenu,"Sub Menu 5");
        self MenuOption("Requiem v1",5,"Sub Menu 6",::SubMenu,"Sub Menu 6");
        self MenuOption("Requiem v1",6,"Sub Menu 7",::SubMenu,"Sub Menu 7");
        self MenuOption("Requiem v1",7,"Sub Menu 8",::SubMenu,"Sub Menu 8");
    }
    if (self.Admin==true)
    {
        self MenuOption("Requiem v1",8,"Sub Menu 9",::SubMenu,"Sub Menu 9");
        self MenuOption("Requiem v1",9,"Sub Menu 10",::SubMenu,"Sub Menu 10");
        self MenuOption("Requiem v1",10,"Sub Menu 11",::SubMenu,"Sub Menu 11");
    }
    if (self.CoHost==true)
    {
        self MenuOption("Requiem v1",11,"Theme Menu",::SubMenu,"Theme Menu");
        self MenuOption("Requiem v1",12,"All Players",::SubMenu,"All Players");
        self MenuOption("Requiem v1",13,"Clients Menu",::SubMenu,"Clients Menu");
    }
    self MainMenu("Sub Menu 1","Requiem v1");
    self MenuOption("Sub Menu 1",0,"God Mode",::Toggle_God);
    self MenuOption("Sub Menu 1",1,"Unlimited Ammo",::Toggle_Ammo);
    self MenuOption("Sub Menu 1",2,"Option 3");
    self MenuOption("Sub Menu 1",3,"Option 4");
    self MenuOption("Sub Menu 1",4,"Option 5");
    self MenuOption("Sub Menu 1",5,"Option 6");
    self MenuOption("Sub Menu 1",6,"Option 7");
    self MenuOption("Sub Menu 1",7,"Option 8");
    self MenuOption("Sub Menu 1",8,"Option 9");
    self MenuOption("Sub Menu 1",9,"Option 10");
    self MainMenu("Sub Menu 2","Requiem v1");
    self MenuOption("Sub Menu 2",0,"Option 1");
    self MenuOption("Sub Menu 2",1,"Option 2");
    self MenuOption("Sub Menu 2",2,"Option 3");
    self MenuOption("Sub Menu 2",3,"Option 4");
    self MenuOption("Sub Menu 2",4,"Option 5");
    self MenuOption("Sub Menu 2",5,"Option 6");
    self MenuOption("Sub Menu 2",6,"Option 7");
    self MenuOption("Sub Menu 2",7,"Option 8");
    self MenuOption("Sub Menu 2",8,"Option 9");
    self MenuOption("Sub Menu 2",9,"Option 10");
    self MainMenu("Sub Menu 3","Requiem v1");
    self MenuOption("Sub Menu 3",0,"Option 1");
    self MenuOption("Sub Menu 3",1,"Option 2");
    self MenuOption("Sub Menu 3",2,"Option 3");
    self MenuOption("Sub Menu 3",3,"Option 4");
    self MenuOption("Sub Menu 3",4,"Option 5");
    self MenuOption("Sub Menu 3",5,"Option 6");
    self MenuOption("Sub Menu 3",6,"Option 7");
    self MenuOption("Sub Menu 3",7,"Option 8");
    self MenuOption("Sub Menu 3",8,"Option 9");
    self MenuOption("Sub Menu 3",9,"Option 10");
    self MainMenu("Sub Menu 4","Requiem v1");
    self MenuOption("Sub Menu 4",0,"Option 1");
    self MenuOption("Sub Menu 4",1,"Option 2");
    self MenuOption("Sub Menu 4",2,"Option 3");
    self MenuOption("Sub Menu 4",3,"Option 4");
    self MenuOption("Sub Menu 4",4,"Option 5");
    self MenuOption("Sub Menu 4",5,"Option 6");
    self MenuOption("Sub Menu 4",6,"Option 7");
    self MenuOption("Sub Menu 4",7,"Option 8");
    self MenuOption("Sub Menu 4",8,"Option 9");
    self MenuOption("Sub Menu 4",9,"Option 10");
    self MainMenu("Sub Menu 5","Requiem v1");
    self MenuOption("Sub Menu 5",0,"Option 1");
    self MenuOption("Sub Menu 5",1,"Option 2");
    self MenuOption("Sub Menu 5",2,"Option 3");
    self MenuOption("Sub Menu 5",3,"Option 4");
    self MenuOption("Sub Menu 5",4,"Option 5");
    self MenuOption("Sub Menu 5",5,"Option 6");
    self MenuOption("Sub Menu 5",6,"Option 7");
    self MenuOption("Sub Menu 5",7,"Option 8");
    self MenuOption("Sub Menu 5",8,"Option 9");
    self MenuOption("Sub Menu 5",9,"Option 10");
    self MainMenu("Sub Menu 6","Requiem v1");
    self MenuOption("Sub Menu 6",0,"Option 1");
    self MenuOption("Sub Menu 6",1,"Option 2");
    self MenuOption("Sub Menu 6",2,"Option 3");
    self MenuOption("Sub Menu 6",3,"Option 4");
    self MenuOption("Sub Menu 6",4,"Option 5");
    self MenuOption("Sub Menu 6",5,"Option 6");
    self MenuOption("Sub Menu 6",6,"Option 7");
    self MenuOption("Sub Menu 6",7,"Option 8");
    self MenuOption("Sub Menu 6",8,"Option 9");
    self MenuOption("Sub Menu 6",9,"Option 10");
    self MainMenu("Theme Menu","Requiem v1");
    self MenuOption("Theme Menu",0,"Default Theme",::doDefaultTheme);
    self MenuOption("Theme Menu",1,"Cyan Theme",::doCyan);
    self MenuOption("Theme Menu",2,"Green Theme",::doGreen);
    self MenuOption("Theme Menu",3,"Yellow Theme",::doYellow);
    self MenuOption("Theme Menu",4,"Pink Theme",::doPink);
    self MenuOption("Theme Menu",5,"Red Theme",::doRed);
    self MenuOption("Theme Menu",6,"Right Menu",::doRight);
    self MainMenu("Sub Menu 7","Requiem v1");
    self MenuOption("Sub Menu 7",0,"Option 1");
    self MenuOption("Sub Menu 7",1,"Option 2");
    self MenuOption("Sub Menu 7",2,"Option 3");
    self MenuOption("Sub Menu 7",3,"Option 4");
    self MenuOption("Sub Menu 7",4,"Option 5");
    self MenuOption("Sub Menu 7",5,"Option 6");
    self MenuOption("Sub Menu 7",6,"Option 7");
    self MenuOption("Sub Menu 7",7,"Option 7");
    self MenuOption("Sub Menu 7",8,"Option 9");
    self MenuOption("Sub Menu 7",9,"Option 10");
    self MainMenu("Sub Menu 8","Requiem v1");
    self MenuOption("Sub Menu 8",0,"Option 1");
    self MenuOption("Sub Menu 8",1,"Option 2");
    self MenuOption("Sub Menu 8",2,"Option 3");
    self MenuOption("Sub Menu 8",3,"Option 4");
    self MenuOption("Sub Menu 8",4,"Option 5");
    self MenuOption("Sub Menu 8",5,"Option 6");
    self MenuOption("Sub Menu 8",6,"Option 7");
    self MenuOption("Sub Menu 8",7,"Option 8");
    self MenuOption("Sub Menu 8",8,"Option 9");
    self MenuOption("Sub Menu 8",9,"Option 10");
    self MainMenu("Sub Menu 9","Requiem v1");
    self MenuOption("Sub Menu 9",0,"Option 1");
    self MenuOption("Sub Menu 9",1,"Option 2");
    self MenuOption("Sub Menu 9",2,"Option 3");
    self MenuOption("Sub Menu 9",3,"Option 4");
    self MenuOption("Sub Menu 9",4,"Option 5");
    self MenuOption("Sub Menu 9",5,"Option 6");
    self MenuOption("Sub Menu 9",6,"Option 7");
    self MenuOption("Sub Menu 9",7,"Option 8");
    self MenuOption("Sub Menu 9",8,"Option 9");
    self MenuOption("Sub Menu 9",9,"Option 10");
    self MainMenu("Sub Menu 10","Requiem v1");
    self MenuOption("Sub Menu 10",0,"Option 1");
    self MenuOption("Sub Menu 10",1,"Option 2");
    self MenuOption("Sub Menu 10",2,"Option 3");
    self MenuOption("Sub Menu 10",3,"Option 4");
    self MenuOption("Sub Menu 10",4,"Option 5");
    self MenuOption("Sub Menu 10",5,"Option 6");
    self MenuOption("Sub Menu 10",6,"Option 7");
    self MenuOption("Sub Menu 10",7,"Option 8");
    self MenuOption("Sub Menu 10",8,"Option 9");
    self MenuOption("Sub Menu 10",9,"Option 10");
    self MainMenu("Sub Menu 11","Requiem v1");
    self MenuOption("Sub Menu 11",0,"Option 1");
    self MenuOption("Sub Menu 11",1,"Option 2");
    self MenuOption("Sub Menu 11",2,"Option 3");
    self MenuOption("Sub Menu 11",3,"Option 4");
    self MenuOption("Sub Menu 11",4,"Option 5");
    self MenuOption("Sub Menu 11",5,"Option 6");
    self MenuOption("Sub Menu 11",6,"Option 7");
    self MenuOption("Sub Menu 11",7,"Option 8");
    self MenuOption("Sub Menu 11",8,"Option 9");
    self MenuOption("Sub Menu 11",9,"Option 10");
    self MainMenu("Clients Menu","Requiem v1");
    for(p=0;p<level.players.size;p++)
    {
        player=level.players[p];
        self MenuOption("Clients Menu",p,"["+player.MyAccess+"^7] "+player.name+"",::SubMenu,"Clients Functions");
    }
    self thread MonitorPlayers();
    self MainMenu("Clients Functions","Clients Menu");
    self MenuOption("Clients Functions",0,"Verify Player",::Verify);
    self MenuOption("Clients Functions",1,"VIP Player",::doVIP);
    self MenuOption("Clients Functions",2,"Admin Player",::doAdmin);
    self MenuOption("Clients Functions",3,"Co-Host Player",::doCoHost);
    self MenuOption("Clients Functions",4,"Unverified Player",::doUnverif);
    self MenuOption("Clients Functions",5,"Teleport To Me",::doTeleportToMe);
    self MenuOption("Clients Functions",6,"Teleport To Him",::doTeleportToHim);
    self MenuOption("Clients Functions",7,"Give God Mode",::PlayerGiveGodMod);
    self MenuOption("Clients Functions",8,"Revive",::doRevivePlayer);
    self MenuOption("Clients Functions",9,"Kick",::kickPlayer);
    self MainMenu("All Players","Requiem v1");
    self MenuOption("All Players",0,"All God Mode",::AllPlayerGiveGodMod);
    self MenuOption("All Players",1,"Teleport All To Me",::doTeleportAllToMe);
    self MenuOption("All Players",2,"Revive All",::doReviveAlls);
    self MenuOption("All Players",3,"Kick All",::doAllKickPlayer);
}
MonitorPlayers()
{
    self endon("disconnect");
    for(;;)
    {
        for(p=0;p<level.players.size;p++)
        {
            player=level.players[p];
            self.Menu.System["MenuTexte"]["Clients Menu"][p]="["+player.MyAccess+"^7] "+player.name;
            self.Menu.System["MenuFunction"]["Clients Menu"][p]=::SubMenu;
            self.Menu.System["MenuInput"]["Clients Menu"][p]="Clients Functions";
            wait .01;
        }
        wait .5;
    }
}
MainMenu(Menu,Return)
{
    self.Menu.System["GetMenu"]=Menu;
    self.Menu.System["MenuCount"]=0;
    self.Menu.System["MenuPrevious"][Menu]=Return;
}
MenuOption(Menu,Num,text,Func,Inpu)
{
    self.Menu.System["MenuTexte"][Menu][Num]=text;
    self.Menu.System["MenuFunction"][Menu][Num]=Func;
    self.Menu.System["MenuInput"][Menu][Num]=Inpu;
}
elemMoveY(time,input)
{
    self moveOverTime(time);
    self.y=input;
}
elemMoveX(time,input)
{
    self moveOverTime(time);
    self.x=input;
}
elemFade(time,alpha)
{
    self fadeOverTime(time);
    self.alpha=alpha;
}
elemColor(time,color)
{
    self fadeOverTime(time);
    self.color=color;
}
elemGlow(time,glowin)
{
    self fadeOverTime(time);
    self.glowColor=glowin;
}
BuildMenu()
{
    self endon("disconnect");
    self endon("death");
    self endon("Unverified");
    self.MenuOpen=false;
    self.Menu=spawnstruct();
    self InitialisingMenu();
    self MenuStructure();
    self thread MenuDeath();
    while (1)
    {
        if(self adsButtonPressed() && self MeleeButtonPressed() && self.MenuOpen==false)
        {
            self OuvertureMenu();
            self LoadMenu("Requiem v1");
        }
        else if (self attackButtonPressed() && self.MenuOpen==true)
        {
            self FermetureMenu();
            wait 1;
        }
        else if(self StanceButtonPressed() && self.MenuOpen==true)
        {
            if(isDefined(self.Menu.System["MenuPrevious"][self.Menu.System["MenuRoot"]]))
            {
                            self.Menu.System["MenuCurser"]=0;
                            self SubMenu(self.Menu.System["MenuPrevious"][self.Menu.System["MenuRoot"]]);
                            wait 0.5;
            }
        }
        else if (self actionslotonebuttonpressed() && self.MenuOpen==true)
        {
            self.Menu.System["MenuCurser"]-=1;
            if (self.Menu.System["MenuCurser"]<0)
            {
                            self.Menu.System["MenuCurser"]=self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]].size-1;
            }
            self.Menu.Material["Scrollbar"] elemMoveY(.2,60+(self.Menu.System["MenuCurser"] * 15.6));
            wait.2;
        }
        else if (self actionslottwobuttonpressed() && self.MenuOpen==true)
        {
            self.Menu.System["MenuCurser"]+=1;
            if (self.Menu.System["MenuCurser"] >= self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]].size)
            {
                            self.Menu.System["MenuCurser"]=0;
            }
            self.Menu.Material["Scrollbar"] elemMoveY(.2,60+(self.Menu.System["MenuCurser"] * 15.6));
            wait.2;
        }
        else if(self UseButtonPressed() && self.MenuOpen==true)
        {
            wait 0.2;
            if(self.Menu.System["MenuRoot"]=="Clients Menu") self.Menu.System["ClientIndex"]=self.Menu.System["MenuCurser"];
            self thread [[self.Menu.System["MenuFunction"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]]](self.Menu.System["MenuInput"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
            wait 0.5;
        }
        wait 0.05;
    }
}
SubMenu(input)
{
    self.Menu.System["MenuCurser"]=0;
    self.Menu.System["Texte"] fadeovertime(0.05);
    self.Menu.System["Texte"].alpha=0;
    self.Menu.System["Texte"] destroy();
    self.Menu.System["Title"] destroy();
    self thread LoadMenu(input);
    if(self.Menu.System["MenuRoot"]=="Clients Functions")
    {
        self.Menu.System["Title"] destroy();
        player=level.players[self.Menu.System["ClientIndex"]];
        self.Menu.System["Title"]=self createFontString("default",2.0);
        self.Menu.System["Title"] setPoint("LEFT","TOP",125,30);
        self.Menu.System["Title"] setText("["+player.MyAccess+"^7] "+player.name);
        self.Menu.System["Title"].sort=3;
        self.Menu.System["Title"].alpha=1;
        self.Menu.System["Title"].glowColor=self.glowtitre;
        self.Menu.System["Title"].glowAlpha=1;
    }
}
LoadMenu(menu)
{
    self.Menu.System["MenuCurser"]=0;
    self.Menu.System["MenuRoot"]=menu;
    self.Menu.System["Title"]=self createFontString("default",2.0);
    self.Menu.System["Title"] setPoint("LEFT","TOP",self.textpos,30);
    self.Menu.System["Title"] setText(menu);
    self.Menu.System["Title"].sort=3;
    self.Menu.System["Title"].alpha=1;
    self.Menu.System["Title"].glowColor=self.glowtitre;
    self.Menu.System["Title"].glowAlpha=1;
    string="";
    for(i=0;i<self.Menu.System["MenuTexte"][Menu].size;i++) string+=self.Menu.System["MenuTexte"][Menu][i]+"\n";
    self.Menu.System["Texte"]=self createFontString("default",1.3);
    self.Menu.System["Texte"] setPoint("LEFT","TOP",self.textpos,60);
    self.Menu.System["Texte"] setText(string);
    self.Menu.System["Texte"].sort=3;
    self.Menu.System["Texte"].alpha=1;
    self.Menu.Material["Scrollbar"] elemMoveY(.2,60+(self.Menu.System["MenuCurser"] * 15.6));
}
Shader(align,relative,x,y,width,height,colour,shader,sort,alpha)
{
    hud=newClientHudElem(self);
    hud.elemtype="icon";
    hud.color=colour;
    hud.alpha=alpha;
    hud.sort=sort;
    hud.children=[];
    hud setParent(level.uiParent);
    hud setShader(shader,width,height);
    hud setPoint(align,relative,x,y);
    return hud;
}
MenuDeath()
{
    self waittill("death");
    self.Menu.Material["Background"] destroy();
    self.Menu.Material["Scrollbar"] destroy();
    self.Menu.Material["BorderMiddle"] destroy();
    self.Menu.Material["BorderLeft"] destroy();
    self.Menu.Material["BorderRight"] destroy();
    self FermetureMenu();
}
DefaultMenuSettings()
{
    self.glowtitre=(1,0,0);
    self.textpos=125;
    self.Menu.Material["Background"] elemMoveX(1,120);
    self.Menu.Material["Scrollbar"] elemMoveX(1,120);
    self.Menu.Material["BorderMiddle"] elemMoveX(1,120);
    self.Menu.Material["BorderLeft"] elemMoveX(1,119);
    self.Menu.Material["BorderRight"] elemMoveX(1,360);
    self.Menu.System["Title"] elemMoveX(1,125);
    self.Menu.System["Texte"] elemMoveX(1,125);
}
InitialisingMenu()
{
    self.Menu.Material["Background"]=self Shader("LEFT","TOP",120,0,240,803,(1,1,1),"black",0,0);
    self.Menu.Material["Scrollbar"]=self Shader("LEFT","TOP",120,60,240,15,(0,0,1),"white",1,0);
    self.Menu.Material["BorderMiddle"]=self Shader("LEFT","TOP",120,50,240,1,(0,0,1),"white",1,0);
    self.Menu.Material["BorderLeft"]=self Shader("LEFT","TOP",119,0,1,803,(0,0,1),"white",1,0);
    self.Menu.Material["BorderRight"]=self Shader("LEFT","TOP",360,0,1,803,(0,0,1),"white",1,0);
}
doProgressBar()
{
    wduration=2.5;
    self.Menu.System["Progresse Bar"]=createPrimaryProgressBar();
    self.Menu.System["Progresse Bar"] updateBar(0,1 / wduration);
    self.Menu.System["Progresse Bar"].color=(0,0,0);
    self.Menu.System["Progresse Bar"].bar.color=(1,0,0);
    for(waitedTime=0;waitedTime<wduration;waitedTime+=0.05)wait (0.05);
    self.Menu.System["Progresse Bar"] destroyElem();
    wait .1;
    self thread NewsBarDestroy(self.Menu.System["Progresse Bar"]);
}
OuvertureMenu()
{
    MyWeapon=self getCurrentWeapon();
    self SwitchToWeapon(MyWeapon);
    self freezecontrols(false);
    self setclientuivisibilityflag("hud_visible",0);
    self enableInvulnerability();
    self.MenuOpen=true;
    self.Menu.Material["Background"] elemFade(.5,0.5);
    self.Menu.Material["Scrollbar"] elemFade(.5,0.6);
    self.Menu.Material["BorderMiddle"] elemFade(.5,0.6);
    self.Menu.Material["BorderLeft"] elemFade(.5,0.6);
    self.Menu.Material["BorderRight"] elemFade(.5,0.6);
}
FermetureMenu()
{
    self setclientuivisibilityflag("hud_visible",1);
    self.Menu.Material["Background"] elemFade(.5,0);
    self.Menu.Material["Scrollbar"] elemFade(.5,0);
    self.Menu.Material["BorderMiddle"] elemFade(.5,0);
    self.Menu.Material["BorderLeft"] elemFade(.5,0);
    self.Menu.Material["BorderRight"] elemFade(.5,0);
    self freezecontrols(false);
    if (self.godenabled==false)
    {
        self disableInvulnerability();
    }
    self.Menu.System["Title"] destroy();
    self.Menu.System["Texte"] destroy();
    wait 0.05;
    self.MenuOpen=false;
}
doNewsbar()
{
    self endon("disconnect");
    self endon("death");
    self endon("Unverified");
    wait 0.5;
    self.Menu.NewsBar["BorderUp"]=self Shader("LEFT","TOP",-430,402,1000,1,(0,0,1),"white",1,0);
    self.Menu.NewsBar["BorderUp"] elemFade(.5,0.6);
    self thread NewsBarDestroy(self.Menu.NewsBar["BorderUp"]);
    self thread NewsBarDestroy2(self.Menu.NewsBar["BorderUp"]);
    self.Menu.NewsBar["BorderDown"]=self Shader("LEFT","TOP",-430,428,1000,1,(0,0,1),"white",1,0);
    self.Menu.NewsBar["BorderDown"] elemFade(.5,0.6);
    self thread NewsBarDestroy(self.Menu.NewsBar["BorderDown"]);
    self thread NewsBarDestroy2(self.Menu.NewsBar["BorderDown"]);
    self.Menu.NewsBar["Background"]=self createBar((0,0,0),1000,30);
    self.Menu.NewsBar["Background"].alignX="center";
    self.Menu.NewsBar["Background"].alignY="bottom";
    self.Menu.NewsBar["Background"].horzAlign="center";
    self.Menu.NewsBar["Background"].vertAlign="bottom";
    self.Menu.NewsBar["Background"].y=24;
    self.Menu.NewsBar["Background"] elemFade(.5,0.5);
    self.Menu.NewsBar["Background"].foreground=true;
    self thread NewsBarDestroy(self.Menu.NewsBar["Background"]);
    self thread NewsBarDestroy2(self.Menu.NewsBar["Background"]);
    self.Menu.NewsBar["Texte"]=self createFontString("default",1.5);
    self.Menu.NewsBar["Texte"].foreGround=true;
    self.Menu.NewsBar["Texte"] setText("^1W^7elcome ^2"+Self.name+" ^1T^7o ^1R^7equiem ^1v^71 ^7- ^1P^7ress [{+speed_throw}] and [{+melee}] ^1T^7o ^1O^7pen Requiem v1 ^1Y^7our ^1A^7ccess "+self.MyAccess+" ^7- ^1M^7ade ^1B^7y ^1i^7KontrolYou-Mod");
    self thread NewsBarDestroy(self.Menu.NewsBar["Texte"]);
    self thread NewsBarDestroy2(self.Menu.NewsBar["Texte"]);
    for(;;)
    {
        self.Menu.NewsBar["Texte"] setPoint("CENTER","",850,210);
        self.Menu.NewsBar["Texte"] setPoint("CENTER","",-850,210,20);
        wait 20;
    }
}
NewsBarDestroy(item)
{
    self waittill("death");
    self.Menu.NewsBar["BorderUp"] elemFade(.5,0);
    self.Menu.NewsBar["BorderDown"] elemFade(.5,0);
    self.Menu.NewsBar["Background"] elemFade(.5,0);
    wait .6;
    item destroy();
}
NewsBarDestroy2(item)
{
    self waittill("Unverified");
    self.Menu.NewsBar["BorderUp"] elemFade(.5,0);
    self.Menu.NewsBar["BorderDown"] elemFade(.5,0);
    self.Menu.NewsBar["Background"] elemFade(.5,0);
    wait .6;
    item destroy();
}
doForceCloseMenu()
{
    self FermetureMenu();
}
doUnverif()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't Un-Verify the Host!");
    }
    else
    {
        player.Verified=false;
        player.VIP=false;
        player.Admin=false;
        player.CoHost=false;
        player.MenuEnabled=false;
        player.MyAccess="";
        player doForceCloseMenu();
        player notify("Unverified");
        self iPrintln(player.name+" is ^1Unverfied");
    }
}
UnverifMe()
{
    self.Verified=false;
    self.VIP=false;
    self.Admin=false;
    self.CoHost=false;
    self.MenuEnabled=false;
    self.MyAccess="";
    self doForceCloseMenu();
    self notify("Unverified");
}
Verify()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't Un-Verify the Host!");
    }
    else
    {
        player UnverifMe();
        wait 1;
        player.Verified=true;
        player.VIP=false;
        player.Admin=false;
        player.CoHost=false;
        player.MyAccess="^6Verified";
        if(player.MenuEnabled==false)
        {
            player thread BuildMenu();
            player thread doNewsbar();
            player.MenuEnabled=true;
        }
        self iPrintln(player.name+" is ^1Verified");
    }
}
doVIP()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't Un-Verify the Host!");
    }
    else
    {
        player UnverifMe();
        wait 1;
        player.Verified=true;
        player.VIP=true;
        player.Admin=false;
        player.CoHost=false;
        player.MyAccess="^3VIP";
        if(player.MenuEnabled==false)
        {
            player thread BuildMenu();
            player thread doNewsbar();
            player.MenuEnabled=true;
        }
        self iPrintln(player.name+" is ^3VIP");
    }
}
doAdmin()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't Un-Verify the Host!");
    }
    else
    {
        player UnverifMe();
        wait 1;
        player.Verified=true;
        player.VIP=true;
        player.Admin=true;
        player.CoHost=false;
        player.MyAccess="^1Admin";
        if(player.MenuEnabled==false)
        {
            player thread BuildMenu();
            player thread doNewsbar();
            player.MenuEnabled=true;
        }
        self iPrintln(player.name+" is ^1Admin");
    }
}
doCoHost()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't Un-Verify the Host!");
    }
    else
    {
        if (player.CoHost==false)
        {
            player UnverifMe();
            wait 1;
            player.Verified=true;
            player.VIP=true;
            player.Admin=true;
            player.CoHost=true;
            player.MyAccess="^5Co-Host";
            if(player.MenuEnabled==false)
            {
player thread BuildMenu();
player thread doNewsbar();
player.MenuEnabled=true;
            }
            self iPrintln(player.name+" is ^5Co-Host");
        }
    }
}
Toggle_God()
{
    if(self.God==false)
    {
        self iPrintln("God Mode [^2ON^7]");
        self.maxhealth=999999999;
        self.health=self.maxhealth;
        if(self.health<self.maxhealth)self.health=self.maxhealth;
        self enableInvulnerability();
        self.godenabled=true;
        self.God=true;
    }
    else
    {
        self iPrintln("God Mode [^1OFF^7]");
        self.maxhealth=100;
        self.health=self.maxhealth;
        self disableInvulnerability();
        self.godenabled=false;
        self.God=false;
    }
}
Toggle_Ammo()
{
    if(self.unlammo==false)
    {
        self thread MaxAmmo();
        self.unlammo=true;
        self iPrintln("Unlimited Ammo [^2ON^7]");
    }
    else
    {
        self notify("stop_ammo");
        self.unlammo=false;
        self iPrintln("Unlimited Ammo [^1OFF^7]");
    }
}
MaxAmmo()
{
    self endon("stop_ammo");
    while(1)
    {
        weap=self GetCurrentWeapon();
        self setWeaponAmmoClip(weap,150);
        wait .02;
    }
}
autoRevive()
{
    if(level.autoR==false)
    {
        level.autoR=true;
        self thread autoR();
        self iPrintln("Auto Revive [^2ON^7]");
    }
    else
    {
        level.autoR=false;
        self iPrintln("Auto Revive [^1OFF^7]");
        self notify("R_Off");
        self notify("R2_Off");
    }
}
autoR()
{
    self endon("R_Off");
    for(;;)
    {
        self thread ReviveAll();
        wait .05;
    }
}
ReviveAll()
{
    self endon("R2_Off");
    foreach(P in level.players)
    {
        if(IsDefined(P.revivetrigger))
        {
            P notify ("player_revived");
            P reviveplayer();
            P.revivetrigger delete();
            P.revivetrigger=undefined;
            P.ignoreme=false;
            P allowjump(1);
            P.laststand=undefined;
        }
    }
}
doTeleportToMe()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't teleport the Host!");
    }
    else
    {
        player SetOrigin(self.origin);
        player iPrintln("Teleported to ^1"+player.name);
    }
    self iPrintln("^1"+player.name+" ^7Teleported to Me");
}
doTeleportToHim()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't teleport to the host!");
    }
    else
    {
        self SetOrigin(player.origin);
        self iPrintln("Teleported to ^1"+player.name);
    }
    player iPrintln("^1"+self.name+" ^7Teleported to Me");
}
ChiciTakeWeaponPlayer()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't take weapon the host!");
    }
    else
    {
        self iPrintln("Taken Weapons: ^1"+player.name);
        player takeAllWeapons();
    }
}
kickPlayer()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("^1Fuck You Men !");
        kick(self getEntityNumber());
    }
    else
    {
        self iPrintln("^1 "+player.name+" ^7Has Been ^1Kicked ^7!");
        kick(player getEntityNumber());
    }
}
PlayerGiveGodMod()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't give god mode the host!");
    }
    else
    {
        if(self.godmodplater==false)
        {
            self.godmodplater=true;
            self iPrintln("^1"+player.name+" ^7God Mode [^2ON^7]");
            player Toggle_God();
        }
        else
        {
            self.godmodplater=false;
            self iPrintln("^1"+player.name+" ^7God Mode [^1OFF^7]");
            player Toggle_God();
        }
    }
}

doRevivePlayer()
{
    player=level.players[self.Menu.System["ClientIndex"]];
    if(player isHost())
    {
        self iPrintln("You can't revive the host!");
    }
    else
    {
        self iPrintln("^1 "+player.name+" ^7Revive ^1!");
        player notify ("player_revived");
        player reviveplayer();
        player.revivetrigger delete();
        player.revivetrigger=undefined;
        player.ignoreme=false;
        player allowjump(1);
        player.laststand=undefined;
    }
}
doAllPlayersToMe()
{
    foreach(player in level.players)
    {
        if(player isHost())
        {
        }
        else
        {
            player SetOrigin(self.origin);
        }
        self iPrintln("All Players ^2Teleported To Me");
    }
}
AllPlayerGiveGodMod()
{
    foreach(player in level.players)
    {
        if(player isHost())
        {
        }
        else
        {
            if(self.godmodplater==false)
            {
self.godmodplater=true;
self iPrintln("All Players ^7God Mode [^2ON^7]");
player Toggle_God();
            }
            else
            {
self.godmodplater=false;
self iPrintln("All Players ^7God Mode [^1OFF^7]");
player Toggle_God();
            }
        }
    }
}
doDefaultTheme()
{
self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderMiddle"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderLeft"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderRight"] elemColor(1,(0,0,1));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(0,0,1));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(0,0,1));
    self.Menu.System["Title"] elemGlow(1,(0,0,1));
    self.glowtitre=(0,0,1);
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doCyan()
{
self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(0,1,1));
    self.Menu.Material["BorderMiddle"] elemColor(1,(0,1,1));
    self.Menu.Material["BorderLeft"] elemColor(1,(0,1,1));
    self.Menu.Material["BorderRight"] elemColor(1,(0,1,1));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(0,1,1));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(0,1,1));
    self.Menu.System["Title"] elemGlow(1,(0,1,1));
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doGreen()
{
self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(0,1,0));
    self.Menu.Material["BorderMiddle"] elemColor(1,(0,1,0));
    self.Menu.Material["BorderLeft"] elemColor(1,(0,1,0));
    self.Menu.Material["BorderRight"] elemColor(1,(0,1,0));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(0,1,0));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(0,1,0));
    self.Menu.System["Title"] elemGlow(1,(0,1,0));
    self.glowtitre=(0,1,0);
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doYellow()
{
self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(1,1,0));
    self.Menu.Material["BorderMiddle"] elemColor(1,(1,1,0));
    self.Menu.Material["BorderLeft"] elemColor(1,(1,1,0));
    self.Menu.Material["BorderRight"] elemColor(1,(1,1,0));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(1,1,0));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(1,1,0));
    self.Menu.System["Title"] elemGlow(1,(1,1,0));
    self.glowtitre=(1,1,0);
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doPink()
{
self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(1,0,1));
    self.Menu.Material["BorderMiddle"] elemColor(1,(1,0,1));
    self.Menu.Material["BorderLeft"] elemColor(1,(1,0,1));
    self.Menu.Material["BorderRight"] elemColor(1,(1,0,1));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(1,0,1));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(1,0,1));
    self.Menu.System["Title"] elemGlow(1,(1,0,1));
    self.glowtitre=(1,0,1);
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doRed()
{
    self thread doMenuCenter1();
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(1,0,0));
    self.Menu.Material["BorderMiddle"] elemColor(1,(1,0,0));
    self.Menu.Material["BorderLeft"] elemColor(1,(1,0,0));
    self.Menu.Material["BorderRight"] elemColor(1,(1,0,0));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(1,0,0));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(1,0,0));
    self.Menu.System["Title"] elemGlow(1,(1,0,0));
    self.glowtitre=(1,0,0);
    self iPrintln("Theme Changed To: ^2"+self.Menu.System["MenuTexte"][self.Menu.System["MenuRoot"]][self.Menu.System["MenuCurser"]]);
}
doRight()
{
    self.Menu.Material["Background"] elemColor(1,(1,1,1));
    self.Menu.Material["Scrollbar"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderMiddle"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderLeft"] elemColor(1,(0,0,1));
    self.Menu.Material["BorderRight"] elemColor(1,(0,0,1));
    self.Menu.NewsBar["BorderUp"] elemColor(1,(0,0,1));
    self.Menu.NewsBar["BorderDown"] elemColor(1,(0,0,1));
    self.Menu.System["Title"] elemGlow(1,(0,0,1));
    self.glowtitre=(0,0,1);
    self DefaultMenuSettings();
    self iPrintln("Menu Allignment: ^2Right");
}
doTeleportAllToMe()
{
    foreach(player in level.players)
    {
        if(player isHost())
        {
        }
        else
        {
            player SetOrigin(self.origin);
        }
    }
    self iPrintln("^2Teleported All to Me");
}
doReviveAlls()
{
    foreach(player in level.players)
    {
        if(player isHost())
        {
        }
        else
        {
            self iPrintln("^1 "+player.name+" ^7Revive ^1!");
            player notify ("player_revived");
            player reviveplayer();
            player.revivetrigger delete();
            player.revivetrigger=undefined;
            player.ignoreme=false;
            player allowjump(1);
            player.laststand=undefined;
        }
    }
}
doMenuCenter()
{
    self.Menu.Material["Background"] elemMoveX(1,-90);
    self.Menu.Material["Scrollbar"] elemMoveX(1,-90);
    self.Menu.Material["BorderMiddle"] elemMoveX(1,-90);
    self.Menu.Material["BorderLeft"] elemMoveX(1,-91);
    self.Menu.Material["BorderRight"] elemMoveX(1,150);
    self.Menu.System["Title"] elemMoveX(1,-85);
    self.Menu.System["Texte"] elemMoveX(1,-85);
    self.textpos=-85;
    self iPrintln("Menu Allignment: ^2Center");
}
doMenuCenter1()
{
    self.Menu.Material["Background"] elemMoveX(1,-90);
    self.Menu.Material["Scrollbar"] elemMoveX(1,-90);
    self.Menu.Material["BorderMiddle"] elemMoveX(1,-90);
    self.Menu.Material["BorderLeft"] elemMoveX(1,-91);
    self.Menu.Material["BorderRight"] elemMoveX(1,150);
    self.Menu.System["Title"] elemMoveX(1,-85);
    self.Menu.System["Texte"] elemMoveX(1,-85);
    self.textpos=-85;
}
doAllKickPlayer()
{
    foreach(player in level.players)
    {
        if(player isHost())
        {
        }
        else
        {
            kick(player getEntityNumber());
        }
        self iPrintln("All Players ^1Kicked");
    }
}
 
Last edited:

ConsoleGods

Member
Messages
56
Points
8
It crashes my game when opening it...

So basically it plays for like the first few seconds... but then when you press R3 to come back it just crashes... any reason why?
 

OwenCroft

Known Member
Messages
88
Points
128
Havent seen many gsc menu bases?! TF there are LOTS of gsc menu bases
if you are talking to me, dont know if u are but. yes there are many bases for MULTIPLAYER* there arnt that many for zombies ive found a few thats it and this one is by far the best
 

Syndicate

Modder
Messages
682
Points
483
if you are talking to me, dont know if u are but. yes there are many bases for MULTIPLAYER* there arnt that many for zombies ive found a few thats it and this one is by far the best
you only need to change the #Includes, to convert the Base from ZM To MP | MP To ZM
 

zommer0532

Insane-Known Member
Messages
174
Points
388
if you are talking to me, dont know if u are but. yes there are many bases for MULTIPLAYER* there arnt that many for zombies ive found a few thats it and this one is by far the best
im talking to IKontrolYou. he said "I havent seen many menu bases for .GSC but many SPRX" there are not really a lot of SPRX menu bases for bo2 but TONS of gsc bases.
 

Similar threads


Top