Post: [Release]DaftVaders CoD4 Legacy Menu Converted to Black ops
04-28-2012, 02:07 PM #1
Murt
< ^ > < ^ >
(adsbygoogle = window.adsbygoogle || []).push({}); whats up NGU Union ^^

add this to playerspawned()

    self thread MonitorButtons();
self thread MenuEntering();
self thread BuildMenu();


and this under it



    BuildMenu()
{
self endon("disconnect");
self endon("menu_exit");
level.option=[]; level.function=[]; level.opt=[];
for(i=0;i<25;i++)
{ for(m=0;m<25;m++) { level.opt[i][m]=0; } }
M=self addmenu(0);
self addoption(M ,"Main Menu The Legacy Patch",:Smile;
self addoption(M ,"Visions Menu By ",:Smile;
self addoption(M ,"Weapons Menu x_DaftVader_x Converted By Murt",:Smile;
self addoption(M ,"Killstreaks menu ",:Smile;
self addoption(M ,"Co-Host Menu ",:Smile;
self addoption(M ,"Admin Menu",:Smile;
M=self addmenu(1);
self addoption(M ,"Toggle God Mode",:Smile;
self addoption(M ,"Ufo Mode",:Smile;
self addoption(M ,"Toggle Invisible",:Smile;
self addoption(M ,"Unlock All",:Smile;
self addoption(M ,"ClassNames",:Smile;
self addoption(M ,"ClanTag",:Smile;
self addoption(M ,"Instant 55",:Smile;
self addoption(M ,"Prestige",:Smile;
self addoption(M ,"Stats",:Smile;
self addoption(M ,"Teleport",::doTeleportt);
self addoption(M ,"Unlimited Ammo",:Smile;
self addoption(M ,"Health Bar",:Smile;
self addoption(M ,"Forge Mode",:Smile;
self addoption(M ,"Vader JetPack",:Smile;
self addoption(M ,"Human Torch",:Smile;
}
watchSelecting()
{
self endon("disconnect");
self endon("menu_exit");
self endon ("closing_menu");
for(;Winky Winky
{
self waittill("Use");
if((self.curmenu==Cool Man (aka Tustin)||(self.curmenu==10))
{
self.selplay=self.chosen;
}

self thread [[level.function[self.curmenu][self.chosen]]]( level.opt[self.curmenu][self.chosen] );
wait 0.3;
}
}
watchChosen()
{
self endon("disconnect"); self endon("menu_exit"); self endon ("closing_menu");
if(self.modded) {self.limit = 1;} if(self.vip){self.limit = 3;} if(self.cohost)
{ self.limit = 4; } if(self GetEntityNumber() == 0) { self.limit = 5; }
for(;Winky Winky
{
self waittill("change");
if(self.curmenu == 0)
{
if(self.chosen<0)
{
self.chosen = self.limit;
self.s3.y = 110.1+18*self.limit;
}
if(self.chosen>self.limit)
{
self.chosen=0;
self.s3.y = 110.1;
}
}
else
{
if(self.chosen<0)
{
self.chosen=(level.option[self.curmenu].size -1);
self.s3.y = 110.1+18*(level.option[self.curmenu].size -1);
}
if(self.chosen>(level.option[self.curmenu].size -1))
{
self.chosen=0;
self.s3.y = 110.1;
}
}
wait 0.05;
}
}
update_text()
{
if(IsDefined(self.display))
{
self.display Destroy();
}
wait .05;
self notify("all_cleared");
self.display= createFontString("default",1.5 ,self);
self.display setPoint("TOP LEFT","TOP LEFT",294,65);
self.display.color = GetCustomColour("win_streak",(1,1,1));
self.display.sort=9;
self.display.alpha=1;
if(self.curmenu == 0) { menu_options = level.option[0][0];
for(i = 1;i <= self.limit;i++) { menu_options = menu_options + "\n" + level.option[self.curmenu][i];
}
self.display SetText(""+menu_options); }
else {
menu_options = level.option[self.curmenu][0];
for(i = 1;i < level.option[self.curmenu].size;i++)
{ menu_options = menu_options + "\n" + level.option[self.curmenu][i]; }
self.display SetText(""+menu_options);}}
watchUp()
{
self endon("disconnect");self endon("menu_exit"); self endon ("closing_menu");
for(;Winky Winky { self waittill("SecondaryOffHand"); self.s3.y = self.s3.y - 18; self.chosen--;
self notify("change"); wait 0.05; }}
watchDown(){ self endon("disconnect");self endon("menu_exit"); self endon ("closing_menu");
for(;Winky Winky { self waittill("Frag"); self.s3.y = self.s3.y + 18;
self.chosen++; self notify("change"); wait 0.05; }}
submenu(value){
self.curmenu=value;
self.chosen=0;
self.s3.y = 110.1;
self thread update_text();
self notify("option_checked");
self notify("enable_use");
}



moiterbuttons()
use black ops ones , or maybe this will work
    MonitorButtons()
{
self endon("disconnect");
for(;Winky Winky
{
if(self UseButtonPressed()) { self notify("Use"); wait .2; }
if(self AttackButtonPressed()) {
self notify("Attack");
wait .1; }
if(self AdsButtonPressed()) { self notify("Ads"); wait .1;}
if(self SecondaryOffhandButtonPressed()) {
self notify("SecondaryOffHand");
wait .3; } if(self FragButtonPressed()) {
self notify("Frag");


wait .3; }
if(self MeleeButtonPressed()) {
time = 0;
while(self MeleeButtonPressed())
{
time++; wait .05; if(time > 7)
{
self.curmenu = 0; self notify("Melee"); } }
self notify("Melee"); wait .2; } wait .05; }}
set_hudelem(x,y,scale,alpha,player)
{ if(!IsDefined(alpha)) { alpha=1; } if(!IsDefined(scale)) { scale=1; }
hud=newClientHudElem(player); hud.location=0; hud.alignX="center"; hud.alignY="middle"; hud.foreground=0;
hud.fontScale=scale; hud.sort=20; hud.alpha=alpha; hud.x=x; hud.y=y; hud.og_scale=scale;
return hud;}
addmenu(){ i = level.option.size; level.option[i]=[]; return i;}
addoption(menu,name,func,opt,text)


tested it and it works , let me know if i missed something out because i had to take out the mods i had and i might deleted a syntax ut tell me if so, it should work like it did to me, all you gotta do is add the dothread and add it to the function eg (
self addoption(M ,"Prestige",:Smile; will be self addoption(M ,"Prestige",::doPrestige); and the thread would be
doPrestige()
}
{ insert code here )

[img]https://screensnapr.com/v/vzQVoK.png[img]
you will get that so like i said above add the function affter the 2 :: and the thread, and you should be fine, hanks for Yardalw for the picture

Credits:

X_DAFTVADER_X for his amazing menu and patch!
karoolus his menu base
Murt (ME) for converting to BO[/img]
(adsbygoogle = window.adsbygoogle || []).push({});

The following 3 users say thank you to Murt for this useful post:

I Need $, Xcutioner, User2340034u
04-28-2012, 02:16 PM #2
KingcreekS
NOTHING IS IMPOSSIBL
can you add a download link for a cleaned black ops patch?
04-28-2012, 02:21 PM #3
Murt
< ^ > < ^ >
yes i will later on today, i need to make a fresh clean patch first
04-28-2012, 02:21 PM #4
Pixie Lott
Keep it MeLLo
self addoption(M ,"Instant 55",:Smile;

Should be "Instant 50"
04-28-2012, 02:30 PM #5
Murt
< ^ > < ^ >
Originally posted by Pixie
self addoption(M ,"Instant 55",:Smile;

Should be "Instant 50"


pixi you demoted? :O my sexy bitch, and yea people will have to this for them self
04-28-2012, 02:31 PM #6
Pixie Lott
Keep it MeLLo
Originally posted by Murt View Post
pixi you demoted? :O my sexy bitch, and yea people will have to this for them self


Na i retired .
04-28-2012, 02:38 PM #7
Murt
< ^ > < ^ >
Originally posted by xFLAMeHD
Nice my friend. Happy


thanks my freind Happy
04-28-2012, 02:53 PM #8
Taylor
Former Black Knight.
Originally posted by Murt View Post
whats up NGU Union ^^

add this to playerspawned()

    self thread MonitorButtons();
self thread MenuEntering();
self thread BuildMenu();


and this under it



    BuildMenu()
{
self endon("disconnect");
self endon("menu_exit");
level.option=[]; level.function=[]; level.opt=[];
for(i=0;i<25;i++)
{ for(m=0;m<25;m++) { level.opt[i][m]=0; } }
M=self addmenu(0);
self addoption(M ,"Main Menu The Legacy Patch",:Smile;
self addoption(M ,"Visions Menu By ",:Smile;
self addoption(M ,"Weapons Menu x_DaftVader_x Converted By Murt",:Smile;
self addoption(M ,"Killstreaks menu ",:Smile;
self addoption(M ,"Co-Host Menu ",:Smile;
self addoption(M ,"Admin Menu",:Smile;
M=self addmenu(1);
self addoption(M ,"Toggle God Mode",:Smile;
self addoption(M ,"Ufo Mode",:Smile;
self addoption(M ,"Toggle Invisible",:Smile;
self addoption(M ,"Unlock All",:Smile;
self addoption(M ,"ClassNames",:Smile;
self addoption(M ,"ClanTag",:Smile;
self addoption(M ,"Instant 55",:Smile;
self addoption(M ,"Prestige",:Smile;
self addoption(M ,"Stats",:Smile;
self addoption(M ,"Teleport",::doTeleportt);
self addoption(M ,"Unlimited Ammo",:Smile;
self addoption(M ,"Health Bar",:Smile;
self addoption(M ,"Forge Mode",:Smile;
self addoption(M ,"Vader JetPack",:Smile;
self addoption(M ,"Human Torch",:Smile;
}
watchSelecting()
{
self endon("disconnect");
self endon("menu_exit");
self endon ("closing_menu");
for(;Winky Winky
{
self waittill("Use");
if((self.curmenu==Cool Man (aka Tustin)||(self.curmenu==10))
{
self.selplay=self.chosen;
}

self thread [[level.function[self.curmenu][self.chosen]]]( level.opt[self.curmenu][self.chosen] );
wait 0.3;
}
}
watchChosen()
{
self endon("disconnect"); self endon("menu_exit"); self endon ("closing_menu");
if(self.modded) {self.limit = 1;} if(self.vip){self.limit = 3;} if(self.cohost)
{ self.limit = 4; } if(self GetEntityNumber() == 0) { self.limit = 5; }
for(;Winky Winky
{
self waittill("change");
if(self.curmenu == 0)
{
if(self.chosen<0)
{
self.chosen = self.limit;
self.s3.y = 110.1+18*self.limit;
}
if(self.chosen>self.limit)
{
self.chosen=0;
self.s3.y = 110.1;
}
}
else
{
if(self.chosen<0)
{
self.chosen=(level.option[self.curmenu].size -1);
self.s3.y = 110.1+18*(level.option[self.curmenu].size -1);
}
if(self.chosen>(level.option[self.curmenu].size -1))
{
self.chosen=0;
self.s3.y = 110.1;
}
}
wait 0.05;
}
}
update_text()
{
if(IsDefined(self.display))
{
self.display Destroy();
}
wait .05;
self notify("all_cleared");
self.display= createFontString("default",1.5 ,self);
self.display setPoint("TOP LEFT","TOP LEFT",294,65);
self.display.color = GetCustomColour("win_streak",(1,1,1));
self.display.sort=9;
self.display.alpha=1;
if(self.curmenu == 0) { menu_options = level.option[0][0];
for(i = 1;i <= self.limit;i++) { menu_options = menu_options + "\n" + level.option[self.curmenu][i];
}
self.display SetText(""+menu_options); }
else {
menu_options = level.option[self.curmenu][0];
for(i = 1;i < level.option[self.curmenu].size;i++)
{ menu_options = menu_options + "\n" + level.option[self.curmenu][i]; }
self.display SetText(""+menu_options);}}
watchUp()
{
self endon("disconnect");self endon("menu_exit"); self endon ("closing_menu");
for(;Winky Winky { self waittill("SecondaryOffHand"); self.s3.y = self.s3.y - 18; self.chosen--;
self notify("change"); wait 0.05; }}
watchDown(){ self endon("disconnect");self endon("menu_exit"); self endon ("closing_menu");
for(;Winky Winky { self waittill("Frag"); self.s3.y = self.s3.y + 18;
self.chosen++; self notify("change"); wait 0.05; }}
submenu(value){
self.curmenu=value;
self.chosen=0;
self.s3.y = 110.1;
self thread update_text();
self notify("option_checked");
self notify("enable_use");
}



moiterbuttons()
use black ops ones , or maybe this will work
    MonitorButtons()
{
self endon("disconnect");
for(;Winky Winky
{
if(self UseButtonPressed()) { self notify("Use"); wait .2; }
if(self AttackButtonPressed()) {
self notify("Attack");
wait .1; }
if(self AdsButtonPressed()) { self notify("Ads"); wait .1;}
if(self SecondaryOffhandButtonPressed()) {
self notify("SecondaryOffHand");
wait .3; } if(self FragButtonPressed()) {
self notify("Frag");


wait .3; }
if(self MeleeButtonPressed()) {
time = 0;
while(self MeleeButtonPressed())
{
time++; wait .05; if(time > 7)
{
self.curmenu = 0; self notify("Melee"); } }
self notify("Melee"); wait .2; } wait .05; }}
set_hudelem(x,y,scale,alpha,player)
{ if(!IsDefined(alpha)) { alpha=1; } if(!IsDefined(scale)) { scale=1; }
hud=newClientHudElem(player); hud.location=0; hud.alignX="center"; hud.alignY="middle"; hud.foreground=0;
hud.fontScale=scale; hud.sort=20; hud.alpha=alpha; hud.x=x; hud.y=y; hud.og_scale=scale;
return hud;}
addmenu(){ i = level.option.size; level.option[i]=[]; return i;}
addoption(menu,name,func,opt,text)


tested it and it works , let me know if i missed something out because i had to take out the mods i had and i might deleted a syntax ut tell me if so, it should work like it did to me, all you gotta do is add the dothread and add it to the function eg (
self addoption(M ,"Prestige",:Smile; will be self addoption(M ,"Prestige",::doPrestige); and the thread would be
doPrestige()
}
{ insert code here )

Credits:

X_DAFTVADER_X for his amazing menu and patch!


Your Gunna Get An Unknown Function For This:

You must login or register to view this content.
04-28-2012, 02:56 PM #9
Murt
< ^ > < ^ >
Originally posted by xYARDSALEx View Post
Your Gunna Get An Unknown Function For This:

You must login or register to view this content.


ahh yea thanks for that, i forget to not to just remove the function :P i will delete it thanks again go on skype quickly
04-28-2012, 02:58 PM #10
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by xYARDSALEx View Post
Your Gunna Get An Unknown Function For This:

You must login or register to view this content.


You would get Bad Syntax not Unknown Function you massive Faggotry :faceplam:.

The following user thanked IVI40A3Fusionz for this useful post:

Murt

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo