How To. . .

Posts 115 of 31 · Page 1 of 3
How To. . .
How, Do i add a Panic Key To gellins Menu base ? it had one, but it got deleted accidently !

Thanks in advanced!
Search on google, the base in google has it already.
Quote Originally Posted by GameTrainerMaker View Post
How, Do i add a Panic Key To gellins Menu base ? it had one, but it got deleted accidently !

Thanks in advanced!
add this like u would for a hack

exit(1)
Panic Key = Turns Off All hacks. not close the game.

the method you game me didnt work btw!
Well this is what it said in Gellins base v2

Code:
void cMenu::PanicKey(void)//Untested
{
	if( GetAsyncKeyState( PANICKEY ) &1 )
		for(int i = this->mSet.min; i < this->mSet.max; i++)
			this->mOpt[i].nopt = 0;
	
	//this->mOpt[12].nopt = 0;
}
You can make a button to make all your PTC's to the default values.
._.

set all variables to whatever your off value is.

Code:
if (DirectInput::keyboard->IsKeyDown(Keys::Delete))
{
 for(i = 0; i < menuItems.Length; i++)
  menuItems[i].pModifier = false;
}
Quote Originally Posted by GameTrainerMaker View Post
How, Do i add a Panic Key To gellins Menu base ? it had one, but it got deleted accidently !

Thanks in advanced!
that is easy
Code:
if(panic)
       for(int i=1; i=mSet.max; i++)
               mOpt[i].nopt = 0;
Woops, forgot to add code O:

Code:
if (DirectInput::keyboard->IsKeyDown(Keys::Delete))
{
 for(i = 0; i < menuItems.Length; i++)
  menuItems[i].pModifier = false;
}
Oh u already posted ur D:

PS MINE MIGHT BE C&PABLE :S
i done it like this

[php]
switch(Menu.mOpt[22].nopt){
case 1:
//default values for all hacks here
Menu.mOpt[1].nopt = 0;
Menu.mOpt[2].nopt = 0;
Menu.mOpt[3].nopt = 0;
Menu.mOpt[4].nopt = 0;
Menu.mOpt[5].nopt = 0;
Menu.mOpt[6].nopt = 0;
Menu.mOpt[7].nopt = 0;
Menu.mOpt[8].nopt = 0;
Menu.mOpt[9].nopt = 0;
Menu.mOpt[10].nopt = 0;
Menu.mOpt[11].nopt = 0;
Menu.mOpt[12].nopt = 0;
Menu.mOpt[13].nopt = 0;
Menu.mOpt[14].nopt = 0;
Menu.mOpt[15].nopt = 0;
Menu.mOpt[16].nopt = 0;
Menu.mOpt[17].nopt = 0;
Menu.mOpt[18].nopt = 0;
Menu.mOpt[19].nopt = 0;
Menu.mOpt[20].nopt = 0;
Menu.mOpt[21].nopt = 0;


Menu.mOpt[22].nopt = 0;
break;
}
[/php]
Quote Originally Posted by GameTrainerMaker View Post
i done it like this

[php]
switch(Menu.mOpt[22].nopt){
case 1:
//default values for all hacks here
Menu.mOpt[1].nopt = 0;
Menu.mOpt[2].nopt = 0;
Menu.mOpt[3].nopt = 0;
Menu.mOpt[4].nopt = 0;
Menu.mOpt[5].nopt = 0;
Menu.mOpt[6].nopt = 0;
Menu.mOpt[7].nopt = 0;
Menu.mOpt[8].nopt = 0;
Menu.mOpt[9].nopt = 0;
Menu.mOpt[10].nopt = 0;
Menu.mOpt[11].nopt = 0;
Menu.mOpt[12].nopt = 0;
Menu.mOpt[13].nopt = 0;
Menu.mOpt[14].nopt = 0;
Menu.mOpt[15].nopt = 0;
Menu.mOpt[16].nopt = 0;
Menu.mOpt[17].nopt = 0;
Menu.mOpt[18].nopt = 0;
Menu.mOpt[19].nopt = 0;
Menu.mOpt[20].nopt = 0;
Menu.mOpt[21].nopt = 0;


Menu.mOpt[22].nopt = 0;
break;
}
[/php]
1. We'd totally know what mOpt[22] is.
2. Not the best way to use a switch statement.
i dont have anything wrong.. i just tested and it works 100%
GTM , that way gives you an illegal break. Use TopBlast's method.
Quote Originally Posted by Drake4 View Post
GTM , that way gives you an illegal break. Use TopBlast's method.
No it's not...
Posts 115 of 31 · Page 1 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?