Post: Noob Menu System! xD
08-02-2012, 12:48 AM #1
Restxrt Modz
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Sup guys, it's Restxrt!
[/SIZE]

Basically, like I said in my Funny Grenades release, I was bored! Happy
So I made a Noob Menu System, for noobs or just for like PREMIER-GAMER's new menu look... A quick menu!

Function/Details:
Same as 1.13 patches or xbox infectable mod menu, (set <button/dpad> vstr <function>Winky Winky
I used 4 cursors in this, for the 4 lines of text

Sorry, no video, again :( But im going to get MW2 on PC Soon! Happy

My YouTube channel: You must login or register to view this content.

Here's the code:

    
}
onPlayerSpawned()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("spawned_player");
self thread notifyMenu();
self thread iniButtons();
self iPrintln("Press [{+actionslot 2}] To Open The Menu");
self.god = 0;
}
}
notifyMenu()
{
self endon("death");
self.menuOpen = 0;
for(;Winky Winky
{
self waittill("buttonPress", button);
if(button == "Down"&&!self.menuOpen)
{
self giveWeapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");
wait 1.5;
self VisionSetNakedForPlayer( "black_bw", 1 );
self freezeControls(true);
self thread startSmallMenuSystem();
}
}
}
startSmallMenuSystem()
{
self endon("death");
self endon("stop_edit");
self.menuOpen = 1;
txt = [];
txt[0] = self createFontString("hudbig", 1);
txt[0] setPoint("CENTER");
txt[0] setText("^7[ ^3Gold Deagle ^7]");
txt[1] = self createFontString("hudbig", 1);
txt[1] setPoint("CENTER");
txt[1] setText("\n^7Infinite Ammo");
txt[2] = self createFontString("hudbig", 1);
txt[2] setPoint("CENTER");
txt[2] setText("\n\n^7Wallhack");
txt[3] = self createFontString("hudbig", 1);
txt[3] setPoint("CENTER");
txt[3] setText("\n\n\n^7God Mode");
other = [];
other[0] = self createFontString("hudbig", 1.2);
other[0] setPoint("TOP");
other[0] setText("\n\n\n^3Mod Menu!");
curs = [];
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
editing = true;
while(editing)
{
self waittill("buttonPress", button);
switch(button)
{
case "Up":
if(!curs[3]&&curs[0])
{
curs[3] = 1;
curs[0] = 0;
curs[1] = 0;
curs[2] = 0;
txt[3] setText("\n\n\n^7[ ^3God Mode ^7]");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[2]&&curs[3])
{
curs[2] = 1;
curs[0] = 0;
curs[1] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7[ ^3Wallhack ^7]");
}
else if(!curs[1]&&curs[2])
{
curs[1] = 1;
curs[0] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7[ ^3Infinite Ammo ^7]");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[0]&&curs[1])
{
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7[ ^3Gold Deagle^7 ]");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
break;
case "Down":
if(!curs[1]&&curs[0])
{
curs[1] = 1;
curs[0] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7[ ^3Infinite Ammo ^7]");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[2]&&curs[1])
{
curs[2] = 1;
curs[0] = 0;
curs[1] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7[ ^3Wallhack ^7]");
}
else if(!curs[3]&&curs[2])
{
curs[3] = 1;
curs[0] = 0;
curs[1] = 0;
curs[2] = 0;
txt[3] setText("\n\n\n^7[ ^3God Mode ^7]");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[0]&&curs[3])
{
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7[ ^3Gold Deagle ^7]");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
break;
case "A":
if(curs[0]) self thread gold();
else if(curs[1]) self thread infAmmo();
else if(curs[2]) self thread wallhack();
else if(curs[3]) self thread doGod();
break;
case "B":
for(i=0;i<txt.size;i++) txt[i] destroy();
for(i=0;i<other.size;i++) other[i] destroy();
self switchToWeapon(self getLastWeapon());
self VisionSetNakedForPlayer( getDvar("mapname"), .5 );
self freezeControls(false);
wait .01;
self.menuOpen = 0;
editing = false;
self notify("stop_edit");
break;
}
wait .01;
}
}
gold()
{
self giveWeapon("deserteaglegold_mp");
self iPrintln("Gold Deagle: ^2Received");
}
infAmmo()
{
if(!self.ammo)
{
self thread runAmmo();
self iPrintln("Infinite Ammo: ^2Enabled");
self.ammo = 1;
}
else
{
self notify("stop_ammo");
self iPrintln("Infinite Ammo: ^1Disabled");
self.ammo = 0;
}
}
runAmmo()
{
self endon("stop_ammo");
for(;Winky Winky
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
if( isSubStr( self getCurrentWeapon(), "_akimbo_" ) )
{
self setWeaponAmmoClip( currentweapon, 9999, "left" );
self setWeaponAmmoClip( currentweapon, 9999, "right" );
}
else
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}

currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
wallhack()
{
if(!self.wallhack)
{
self setclientdvar("r_znear","45");
self iPrintln("Wallhack: ^2Enabled");
self.wallhack = 1;
}
else
{
self setclientdvar("r_znear","5");
self iPrintln("Wallhack: ^1Disabled");
self.wallhack = 0;
}
}
doGod()
{
if(!self.god)
{
self thread runGod();
self iPrintln("God Mode: ^2Enabled");
self.god = 1;
}
else
{
self notify("god_done");
self iPrintln("God Mode: ^1Disabled");
self.maxhealth = 100;
self.health = self.maxhealth;
self.god = 0;
}
}
runGod()
{
self endon("death");
self endon("god_done");
self.maxhealth = 90000;
self.health = self.maxhealth;
while(1)
{
wait 0.4;
if(self.health < self.maxhealth)
self.health = self.maxhealth;
}
}
iniButtons()
{
buttons = strTok("Up|+actionslot 1,Down|+actionslot 2,Left|+actionslot 3,Right|+actionslot 4,X|+usereload,B|+stance,Y|weapnext,A|+gostand,LS|+breath_sprint,RS|+melee,LB|+smoke,RB|+frag", ",");
foreach(button in buttons)
{
btn = strTok(button, "|");
self thread buttonActions(btn[0], btn[1]);
}
}
buttonActions(button, action)
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand(button, action);
for(;Winky Winky
{
self waittillmatch(button);
self notify("buttonPress", button);
}
}


You can change the text for another function, or add text, but you'll have to add 1 cursor for each one you add :carling:
You can also add some cool effects and sh*t! Happy lol

Credits:
Zy0n - Idea
People that support me Happy


Restxrt <3
[/COLOR]

---------- Post added at 08:48 PM ---------- Previous post was at 05:14 PM ----------

50 views, no reply :( :fa:
(adsbygoogle = window.adsbygoogle || []).push({});

The following user thanked Restxrt Modz for this useful post:

LightModz
08-02-2012, 03:17 AM #2
ChromeVisionz
Do a barrel roll!
replied :carling:
08-02-2012, 05:23 AM #3
Restxrt Modz
Do a barrel roll!
Originally posted by ChromeVisionz View Post
replied :carling:
Yeah ! Happy Finally :P
08-02-2012, 06:39 AM #4
Tyler
NumberBIGBABY Woot
so what, is this 1.13 or 1.11? lol

The following user groaned Tyler for this awful post:

Cmd-X
08-02-2012, 10:44 AM #5
seb5594
Proud Former Admin
Originally posted by Tyler022
so what, is this 1.13 or 1.11? lol


1.11 .....
08-02-2012, 10:53 AM #6
KCxFTW
Who’s Jim Erased?
I about shit myself laughing when I read the question "so what, is this 1.13 or 1.11?" When have you ever seen coding like this in a 1.13 patch....:dumb::ha!:

The following 2 users say thank you to KCxFTW for this useful post:

Cmd-X, Skurt
08-02-2012, 12:29 PM #7
I had tried to make a noobish mw2 patch but bucn's ps3 editor deleted my stuff and never saved anything. I was pretty f***ing mad.
08-02-2012, 01:04 PM #8
Originally posted by Restxrt
Sup guys, it's Restxrt!
[/SIZE]

Basically, like I said in my Funny Grenades release, I was bored! Happy
So I made a Noob Menu System, for noobs or just for like PREMIER-GAMER's new menu look... A quick menu!

Function/Details:
Same as 1.13 patches or xbox infectable mod menu, (set <button/dpad> vstr <function>Winky Winky
I used 4 cursors in this, for the 4 lines of text

Sorry, no video, again :( But im going to get MW2 on PC Soon! Happy

My YouTube channel: You must login or register to view this content.

Here's the code:

    
}
onPlayerSpawned()
{
self endon("disconnect");
for(;Winky Winky
{
self waittill("spawned_player");
self thread notifyMenu();
self thread iniButtons();
self iPrintln("Press [{+actionslot 2}] To Open The Menu");
self.god = 0;
}
}
notifyMenu()
{
self endon("death");
self.menuOpen = 0;
for(;Winky Winky
{
self waittill("buttonPress", button);
if(button == "Down"&&!self.menuOpen)
{
self giveWeapon("killstreak_ac130_mp");
self switchToWeapon("killstreak_ac130_mp");
wait 1.5;
self VisionSetNakedForPlayer( "black_bw", 1 );
self freezeControls(true);
self thread startSmallMenuSystem();
}
}
}
startSmallMenuSystem()
{
self endon("death");
self endon("stop_edit");
self.menuOpen = 1;
txt = [];
txt[0] = self createFontString("hudbig", 1);
txt[0] setPoint("CENTER");
txt[0] setText("^7[ ^3Gold Deagle ^7]");
txt[1] = self createFontString("hudbig", 1);
txt[1] setPoint("CENTER");
txt[1] setText("\n^7Infinite Ammo");
txt[2] = self createFontString("hudbig", 1);
txt[2] setPoint("CENTER");
txt[2] setText("\n\n^7Wallhack");
txt[3] = self createFontString("hudbig", 1);
txt[3] setPoint("CENTER");
txt[3] setText("\n\n\n^7God Mode");
other = [];
other[0] = self createFontString("hudbig", 1.2);
other[0] setPoint("TOP");
other[0] setText("\n\n\n^3Mod Menu!");
curs = [];
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
editing = true;
while(editing)
{
self waittill("buttonPress", button);
switch(button)
{
case "Up":
if(!curs[3]&&curs[0])
{
curs[3] = 1;
curs[0] = 0;
curs[1] = 0;
curs[2] = 0;
txt[3] setText("\n\n\n^7[ ^3God Mode ^7]");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[2]&&curs[3])
{
curs[2] = 1;
curs[0] = 0;
curs[1] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7[ ^3Wallhack ^7]");
}
else if(!curs[1]&&curs[2])
{
curs[1] = 1;
curs[0] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7[ ^3Infinite Ammo ^7]");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[0]&&curs[1])
{
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7[ ^3Gold Deagle^7 ]");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
break;
case "Down":
if(!curs[1]&&curs[0])
{
curs[1] = 1;
curs[0] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7[ ^3Infinite Ammo ^7]");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[2]&&curs[1])
{
curs[2] = 1;
curs[0] = 0;
curs[1] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7[ ^3Wallhack ^7]");
}
else if(!curs[3]&&curs[2])
{
curs[3] = 1;
curs[0] = 0;
curs[1] = 0;
curs[2] = 0;
txt[3] setText("\n\n\n^7[ ^3God Mode ^7]");
txt[0] setText("^7Gold Deagle");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
else if(!curs[0]&&curs[3])
{
curs[0] = 1;
curs[1] = 0;
curs[2] = 0;
curs[3] = 0;
txt[3] setText("\n\n\n^7God Mode");
txt[0] setText("^7[ ^3Gold Deagle ^7]");
txt[1] setText("\n^7Infinite Ammo");
txt[2] setText("\n\n^7Wallhack");
}
break;
case "A":
if(curs[0]) self thread gold();
else if(curs[1]) self thread infAmmo();
else if(curs[2]) self thread wallhack();
else if(curs[3]) self thread doGod();
break;
case "B":
for(i=0;i<txt.size;i++) txt[i] destroy();
for(i=0;i<other.size;i++) other[i] destroy();
self switchToWeapon(self getLastWeapon());
self VisionSetNakedForPlayer( getDvar("mapname"), .5 );
self freezeControls(false);
wait .01;
self.menuOpen = 0;
editing = false;
self notify("stop_edit");
break;
}
wait .01;
}
}
gold()
{
self giveWeapon("deserteaglegold_mp");
self iPrintln("Gold Deagle: ^2Received");
}
infAmmo()
{
if(!self.ammo)
{
self thread runAmmo();
self iPrintln("Infinite Ammo: ^2Enabled");
self.ammo = 1;
}
else
{
self notify("stop_ammo");
self iPrintln("Infinite Ammo: ^1Disabled");
self.ammo = 0;
}
}
runAmmo()
{
self endon("stop_ammo");
for(;Winky Winky
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
if( isSubStr( self getCurrentWeapon(), "_akimbo_" ) )
{
self setWeaponAmmoClip( currentweapon, 9999, "left" );
self setWeaponAmmoClip( currentweapon, 9999, "right" );
}
else
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}

currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}
wallhack()
{
if(!self.wallhack)
{
self setclientdvar("r_znear","45");
self iPrintln("Wallhack: ^2Enabled");
self.wallhack = 1;
}
else
{
self setclientdvar("r_znear","5");
self iPrintln("Wallhack: ^1Disabled");
self.wallhack = 0;
}
}
doGod()
{
if(!self.god)
{
self thread runGod();
self iPrintln("God Mode: ^2Enabled");
self.god = 1;
}
else
{
self notify("god_done");
self iPrintln("God Mode: ^1Disabled");
self.maxhealth = 100;
self.health = self.maxhealth;
self.god = 0;
}
}
runGod()
{
self endon("death");
self endon("god_done");
self.maxhealth = 90000;
self.health = self.maxhealth;
while(1)
{
wait 0.4;
if(self.health < self.maxhealth)
self.health = self.maxhealth;
}
}
iniButtons()
{
buttons = strTok("Up|+actionslot 1,Down|+actionslot 2,Left|+actionslot 3,Right|+actionslot 4,X|+usereload,B|+stance,Y|weapnext,A|+gostand,LS|+breath_sprint,RS|+melee,LB|+smoke,RB|+frag", ",");
foreach(button in buttons)
{
btn = strTok(button, "|");
self thread buttonActions(btn[0], btn[1]);
}
}
buttonActions(button, action)
{
self endon("death");
self endon("disconnect");
self notifyOnPlayerCommand(button, action);
for(;Winky Winky
{
self waittillmatch(button);
self notify("buttonPress", button);
}
}


You can change the text for another function, or add text, but you'll have to add 1 cursor for each one you add :carling:
You can also add some cool effects and sh*t! Happy lol

Credits:
Zy0n - Idea
People that support me Happy


Restxrt <3
[/COLOR]

---------- Post added at 08:48 PM ---------- Previous post was at 05:14 PM ----------

50 views, no reply :( :fa:



oh god....

no offense but you need to clean some things up, you can shorten it by a bunch :y:

Now I'm not trying to "diss" you, because it's great that you're trying & learning and you will only get better. But you'll get it soon enough just keep trying!
08-02-2012, 01:23 PM #9
KCxFTW
Who’s Jim Erased?
Originally posted by GAMER View Post
oh god....

no offense but you need to clean some things up, you can shorten it by a bunch :y:

Now I'm not trying to "diss" you, because it's great that you're trying & learning and you will only get better. But you'll get it soon enough just keep trying!


LMAO nice signature :lol:
08-02-2012, 03:09 PM #10
Restxrt Modz
Do a barrel roll!
Originally posted by GAMER View Post
oh god....

no offense but you need to clean some things up, you can shorten it by a bunch :y:

Now I'm not trying to "diss" you, because it's great that you're trying & learning and you will only get better. But you'll get it soon enough just keep trying!
No no i know coding prety well its just because i was so bored, so i decide to make a NOOB menu system, i make menu system lol :P im not that noob

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo