HelpJoining ingame without hacks disabling (coding)

Posts 19 of 9 · Page 1 of 1
Joining ingame without hacks disabling (coding)
So, me and my friend have been coding a combat arms hack but we've run into one problem. We need to figure out how to make it so whenever you join a match, the hacks that were previously activated are still activated, instead of having them all disable once you exit a game (which that's what we've had to do).

When we join a match, our hacks work fine. When we leave, we have the hacks turn off. The real problem is having them re-activate when joining another game, and we don't know how to make that possible.
use the gamestatus addy
Quote Originally Posted by Sixx93 View Post
use the gamestatus addy
If you read the thread then you would know we already know how to do that, we want the hacks to reactivate and not just disable when I go in my next match
Quote Originally Posted by arun823 View Post
If you read the thread then you would know we already know how to do that, we want the hacks to reactivate and not just disable when I go in my next match
Leave the boolean the menu reads to decide color/to render on/off alone, and inside the check to see if that is active, include another to see if ingame. For example:
Code:
if(hackOn && inGame()){
//execute hack functions
}else{
//one or both conditions were not met, perform off operations
}
Quote Originally Posted by Saltine View Post

Leave the boolean the menu reads to decide color/to render on/off alone, and inside the check to see if that is active, include another to see if ingame. For example:
Code:
if(hackOn && inGame()){
//execute hack functions
}else{
//one or both conditions were not met, perform off operations
}
Thanks, but I want it to reactivate when joining back in game because it just disables it.
Quote Originally Posted by arun823 View Post
Thanks, but I want it to reactivate when joining back in game because it just disables it.
That would be off when you leave and re-enabled when you join...
no it doesnt just disable it... it disable it and then when ingame reactivates it... if u think it only turn it off then learn to code bro...
and learn how ca work
Quote Originally Posted by PureHell View Post
no it doesnt just disable it... it disable it and then when ingame reactivates it... if u think it only turn it off then learn to code bro...
and learn how ca work
Lol... actually code c++ or at least think about how wrong your statement was before you comment. I don't think you get what he's saying... I'm pretty sure he is having trouble coding it, not understanding the concept.
create a list of booleans then if the user is out of the game set the booleans of the hacks that were on to true leave the old ones as false. Then, wait for the user enters a game. If the user is in game then go through the list and set everything with a true boolean to on.
Posts 19 of 9 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?