I'm just using a simple check on the GameStatus addy.
Then I use it to stop hacks from being turned on when your not ingame:Code:BYTE *ptr = (BYTE*)GameStatus; #define InGameCheck ptr[0]
But I can't use this to turn hacks off when you exit a game can I?Code:if(InGameCheck==1) { if(EspNames==false){ Codec((LPVOID)EspName1, "\x90\x90", 2); Codec((LPVOID)EspName2, "\x90\x90", 2); EspNames = true;
Random example:
Code:if(InGameCheck==1) { //Do lots of hacks and shit }else{ AllHacksOff(); }