use the gamestatus addy
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
List Of My Public Releases
Wallhack and NoFog - Detected (https://www.mpgh.net/forum/164-combat...ml#post1391299)
BOSCHACK CA EU v1.0 - Detected (https://www.mpgh.net/forum/172-combat...eu-v1-0-a.html)
BOSCHACK CA EU v1.1 - Detected (https://www.mpgh.net/forum/172-combat...ml#post2371767)
BOSCHACK Returned - Detected (https://www.mpgh.net/forum/172-combat...eturn-pub.html)
Make Hacks In 5min in 3 Steps
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 }
Oh no! Vortex is gay!
[MPGH]AVGN (05-13-2012)
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
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.