How To. . .

Posts 16–30 of 31 · Page 2 of 3
Quote Originally Posted by freedompeace View Post
No it's not...
not illegal break but what if he had 100 items??
what if he had 999999 items???

what if he forgets to add it after he add a item... u kno how noobs complain
Quote Originally Posted by topblast View Post


not illegal break but what if he had 100 items??
what if he had 999999 items???

what if he forgets to add it after he add a item... u kno how noobs complain
If he would forget to add a break; clause, either he would run into a compiler warning / error , or program execution would step into the next label (depending on settings and compiler).
Quote Originally Posted by freedompeace View Post
If he would forget to add a break; clause, either he would run into a compiler warning / error , or program execution would step into the next label (depending on settings and compiler).
no i think it turn into a loop.. really it happen to me...

NEVER FORGET UR BREAKS IN ENDSCENE
Quote Originally Posted by topblast View Post


no i think it turn into a loop.. really it happen to me...

NEVER FORGET UR BREAKS IN ENDSCENE
It doesn't "turn into a loop", you probably had some looping code in there.

As a general rule of thumb, never forget your breaks ANYWHERE, not just the end scene :P
Quote Originally Posted by GameTrainerMaker View Post
Panic Key = Turns Off All hacks. not close the game.

the method you game me didnt work btw!
o lol i read ur post to fast lol um when i did my panic key i took all the off parts of each hack and put them together and just made a spot in my menu for it
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]
This is so ghetto but you maybe can do it this way too.
This is juast a random thought may or may not work.
[php]
if(Menu.mOpt[22].nopt){
if(GetAsyncKeyState( VK_DELETE )<0)
{
Menu.mOpt[i].nopt = 0;
}
}
[/php]
Quote Originally Posted by C00lGuy View Post
This is so ghetto but you maybe can do it this way too.
This is juast a random thought may or may not work.
[php]
if(Menu.mOpt[22].nopt){
if(GetAsyncKeyState( VK_DELETE )<0)
{
Menu.mOpt[i].nopt = 0;
}
}
[/php]
Thanks, well its the first time trying Panic Key Gellins base yes did have it, but didnt work. i will try your way!
Quote Originally Posted by C00lGuy View Post
This is so ghetto but you maybe can do it this way too.
This is juast a random thought may or may not work.
[php]
if(Menu.mOpt[22].nopt){
if(GetAsyncKeyState( VK_DELETE )<0)
{
Menu.mOpt[i].nopt = 0;
}
}
[/php]
Your "random thought" will not work, because the variable "i" will be undefined.
The Panic Key idea sounds really good, even if I can't think up a scenario to use it.
Quote Originally Posted by Illuminatus View Post
The Panic Key idea sounds really good, even if I can't think up a scenario to use it.
i just posted it :S my first post works. but people say its wrong!
Quote Originally Posted by GameTrainerMaker View Post
i just posted it :S my first post works. but people say its wrong!
No, i just said that it wasn't the best way to use a switch statement.
[php]
if(Menu.mOpt[22].nopt)
{
if(GetAsyncKeyState( VK_DELETE )<0)
{
for(int i = 0; i<22;i++)
{
Menu.mOpt[i].nopt = 0;
}
}
}
[/php]

That good enough?
can we add this to hans base?
holy shit it's user1

and i think it is maybe i can modify this to work for hans
HOLY SHIT WHO'S USER1
Posts 16–30 of 31 · Page 2 of 3
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us