Post: /*Simple Code For Stealth Scrolling Menu*/
03-09-2011, 12:53 AM #1
(adsbygoogle = window.adsbygoogle || []).push({}); ..........
(adsbygoogle = window.adsbygoogle || []).push({});

The following 14 users say thank you to x_DaftVader_x for this useful post:

-Whiteboy-, Alexis Rhodes, Chrome Playa, iJokaa, Ju1cy, Kameo, killa skillz, Mr. Aimbot, Murt, oO-GKUSH-Oo, ViiZiiKz, xCristian, xIAmSchwem
03-14-2011, 07:27 PM #29
Originally posted by .Blackstorm View Post
Gay threads out, aedome ones in. *BUMP* =D

haha, I hope you meant to say "awesome" Smile
03-14-2011, 08:37 PM #30
Hey Vader if your quiting modding can i buy your acc Happy

it was my bday recently so i got moneys
03-14-2011, 10:19 PM #31
Blackstorm
Veni. Vidi. Vici.
Originally posted by ..V.. View Post
haha, I hope you meant to say "awesome" Smile


I did :p stupid iPod :dingding:
03-14-2011, 10:28 PM #32
Originally posted by .Blackstorm View Post
I did :p stupid iPod :dingding:


I know, I do it with my desire HD. I'm sure I've negative repped a few people by mistake cos of this touchscreen. Smile
03-15-2011, 02:05 AM #33
Blackstorm
Veni. Vidi. Vici.
Originally posted by ..V.. View Post
I know, I do it with my desire HD. I'm sure I've negative repped a few people by mistake cos of this touchscreen. Smile


lol that's horrible, a -40 by accident? lol
03-15-2011, 08:31 PM #34
PussayPatrol
I'm a neat monster...
Originally posted by ..V.. View Post
Ok, If its true that you can only Mod the _missions.gsc in the 1.12 patch you might want to use this.

Its just the simple stealth scrolling menu I made for my own patch. It uses IprintLnBold so no one else sees it, even in spectate or killcam Winky Winky

You press up or down to scroll the options and press X to select.

Yeah, Im sure it could be done better but it works well for me and it might get you out of trouble for now.. Once its compressed it takes hardly any room up so leaves plenty for your functions..

You can add as many options as you want, I had 37 in total I think Smile

Let me know if I have missed anything or you find any errors ..


OnPlayerSpawned()
    
self.PickedN=0;

if(self isHost())
{
self thread ScrollUP();
self thread ScrollDown();
self thread a();
self thread b();
self thread mP1();
}



Functions:
    
/*Created by x_DaftVader_x*/
ScrollUp() {
self endon("death");
CU("R", "+actionslot 2");
for (;Winky Winky {
pi("R");
self.PickedN++;
self thread scroll();
self thread scroll2();
}
}
ScrollDown() {
self endon("death");

CU("L", "+actionslot 1");
for (;Winky Winky {
pi("L");
self.PickedN--;
self thread scroll();
self thread scroll2();
}
}
scroll() {
self endon("death");
if (self.PickedN < 0) self.PickedN = 5;
}
scroll2() {
self endon("death");
if (self.PickedN > 5) self.PickedN = 1;
}

a() {/*this one displays the options*/
self endon("disconnect");
self endon("death");
CU("T", "+actionslot 1");
CU("S", "+actionslot 2");
for (;Winky Winky {
self waittill_any("T", "S");
if (self.PickedN == 0) {
iP("");//leave this empty
}
if (self.PickedN == 1) {
iP("Mod 1");
}
if (self.PickedN == 2) {
iP("Mod 2");
}
if (self.PickedN == 3) {
iP("Mod 3");
}
if (self.PickedN == 4) {
iP("Mod 4");
}
if (self.PickedN == 5) {
iP("Mod 5");
}

}
}

b() {/*this one starts the function*/
self endon("death");
CU("X", "+gostand");
for (;Winky Winky {
pi("X");
if (self.PickedN == 0) {}// leave this blank
if (self.PickedN == 1) {
//self thread to function here
}
if (self.PickedN == 2) {
//self thread to function here
}
if (self.PickedN == 3) {
//self thread to function here

}
if (self.PickedN == 4) {
//self thread to function here
}
if (self.PickedN == 5) {
//self thread to function here
}

}
}


mP1() {
self endon("death");
CU("X", "+gostand");
for (;Winky Winky {
pi("X");
w(1);
if (self.PickedN > 0) self.PickedN = 0;
}
}

iP(text) {
self iprintlnbold(text);
}
w(V) {
wait(V);
}

CU(n,t) {
self notifyOnPlayerCommand(n,t);
}
shi(t) {
self notify(t);
}
pi(s) {
self waittill(s);
}


You can add more options in the a() and b() threads and then just change the numbers in here
    
scroll() {
self endon("death");
if (self.PickedN < 0) self.PickedN = 5;
}
scroll2() {
self endon("death");
if (self.PickedN > 5) self.PickedN = 1;
}


I used toggles in mine which were added like this..

Example:

OnPlayerConnect()
    
player.Recoil=0;


Then in the menu thread, use this:
    
if (self.PickedN == 1) {
if(self.Recoil==0)
{self.Recoil=1;
self thread CrazyRecoil();
iP("Crazy Recoil : ON");
}
else
{self.Recoil=0;
self notify("norecoil");
iP("Crazy Recoil : OFF");
}
}
/*add self endon("norecoil"); to the CrazyRecoil(); to stop it on command!!*/



Good Job Man Keep up The Great Work :black:
03-15-2011, 09:02 PM #35
Coqui
Former Staff
Good man thanks for the sharing

The following user thanked Coqui for this useful post:

Nero.
03-15-2011, 10:46 PM #36
Nero.
Space Ninja
NICEEE lol

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo