Menu Panic

Posts 1–8 of 8 · Page 1 of 1
Menu Panic
hey.. i coded in some minutes (1 min^^) simple menu panic feature..

1. you need a arry for your featues.. like this:
Code:
#define MaxFeatures 20 // here you have to set your features (how much u have)
int Features[MaxFeatures]; // now your array is done!
2. you have to give your features a ID
Code:
int aimbot = 1;
int wallhack = 2;
int chams = 3;
... and so on
3. if you have a crap menu like topblast v 1.0 (idk.. HL_BOT use it & some other guys)
(i use my own )

idk how to make the menu entry...
Code:
"Wallhack" ... &Feature[wallhack]

// and later if you like to use your wallhack
if (Feature[wallhack] == 1)
{
// wallhack code
}
4. then in your hack thread, function, we
(we only set all array ID´s the value 0!)
(your font settings should be react by chageing the value and not by using mouse or hotkay.. (mouse & hotkey reaction are ga* )
Code:
	if (Feature[MenuPanic] == 1)
	{
		for(int i = 0; i < MaxFeatures; i++)
		{
			if(i == MenuPanic) {}
			else
			{
				Feature[i] = 0;
			}
			
		}
	}
yeah so simple was menu panic to set all features "off"

coded by me @Code[VB]
Quote Originally Posted by Code[VB] View Post
hey.. i coded in some minutes (1 min^^) simple menu panic feature..

1. you need a arry for your featues.. like this:
Code:
#define MaxFeatures 20 // here you have to set your features (how much u have)
int Features[MaxFeatures]; // now your array is done!
2. you have to give your features a ID
Code:
int aimbot = 1;
int wallhack = 2;
int chams = 3;
... and so on
3. if you have a crap menu like topblast v 1.0 (idk.. HL_BOT use it & some other guys)
(i use my own )

idk how to make the menu entry...
Code:
"Wallhack" ... &Feature[wallhack]

// and later if you like to use your wallhack
if (Feature[wallhack] == 1)
{
// wallhack code
}
4. then in your hack thread, function, we
(we only set all array ID´s the value 0!)
(your font settings should be react by chageing the value and not by using mouse or hotkay.. (mouse & hotkey reaction are ga* )
Code:
	if (Feature[MenuPanic] == 1)
	{
		for(int i = 0; i < MaxFeatures; i++)
		{
			if(i == MenuPanic) {}
			else
			{
				Feature[i] = 0;
			}
			
		}
	}
yeah so simple was menu panic to set all features "off"

coded by me @Code[VB]
Well let me say a few things, first you wouldn't skip turning off the panic key, otherwise if you tried to turn a feature on you couldnt unless you went back and turned it off. second you could enum the features instead of doing all that crap.. still a bad idea. this could be done a lot, lot better.
Quote Originally Posted by ~FALLEN~ View Post
Well let me say a few things, first you wouldn't skip turning off the panic key, otherwise if you tried to turn a feature on you couldnt unless you went back and turned it off. second you could enum the features instead of doing all that crap.. still a bad idea. this could be done a lot, lot better.
Why should this be a "bad idea" ?

U should know that this is a bad idea:
Code:
if(Feature[MenuPanic] == 1)
{
Feature[Aimbot] = 0;
Feature[Wallhack] = 0;
//...
}
you could jump out of Panic Menu with only 1 line more.. Lol
Code:
if(i == MaxFeatures) { Feature[MenuPanic] = 0; }
damn easy.. and should work too.
Quote Originally Posted by Code[VB] View Post
Why should this be a "bad idea" ?

U should know that this is a bad idea:
Code:
if(Feature[MenuPanic] == 1)
{
Feature[Aimbot] = 0;
Feature[Wallhack] = 0;
//...
}
you could jump out of Panic Menu with only 1 line more.. Lol
Code:
if(i == MaxFeatures) { Feature[MenuPanic] = 0; }
damn easy.. and should work too.
because it's very poor coding.. super ugly too. 0.o you're acting as if menu panic is hard or coveted, when it's not. i feel sorry for you if thats how your menu works btw.. :/
Quote Originally Posted by ~FALLEN~ View Post
because it's very poor coding.. super ugly too. 0.o you're acting as if menu panic is hard or coveted, when it's not. i feel sorry for you if thats how your menu works btw.. :/
..True.. Man i like you menu so raw

@Code[VB] Nice and thanks for sharing bro
easier way:
Code:
if(features[menupanic]) ZeroMemory(features, maxfeatures * 4)
and agree with fallen
you must use enum lolz
Posts 1–8 of 8 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?