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, 06:09 PM #11
Cody_h4x
Nobody is like me
:carling: :carling:
08-04-2012, 01:14 AM #12
Nice 1.11 patch!!! JKJK
08-04-2012, 01:38 AM #13
Fraud
Banned
i have been looking for this, thanks
08-10-2012, 10:51 PM #14
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:







Hey Restxrt, Cody here ^-^

You seem like a cool and nice guy :3 could you help me with something small? :3 If so
add on either, Skype or AIM or whatever you can :3
The usernames are the same for AIM and Skype so no worries :3
Username: CodyMoores

If you can, Thanks so much :3

If not, it's cool bro. Still have mad respect <3

---------- Post added at 08:21 PM ---------- Previous post was at 08:20 PM ----------

Hey Restxrt, Cody here ^-^

You seem like a cool and nice guy :3 could you help me with something small? :3 If so
add on either, Skype or AIM or whatever you can :3
The usernames are the same for AIM and Skype so no worries :3
Username: CodyMoores

If you can, Thanks so much :3

If not, it's cool bro. Still have mad respect <3
08-11-2012, 03:24 AM #15
seb5594
Proud Former Admin
Originally posted by GAMER View Post
no offense but you need to clean some things up, you can shorten it by a bunch

Why Script shorten? We have now your Custom FF Tool :carling:

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo