When using PTC methods your better off making a global boolean to detect if hack is selected or not, you only need to PTC once except for No Fog which requires you to PTC every time you respawn. Anyway if you have selected a hack from menu or hotkey then set the global boolean to true, then in your thread if global boolean = true then run through your PTC commands and after running through your PTC commands set it back to false until next time you select a hack to use, Also set this global boolean to true when joining a new game so you dont have to turn them back on again, do this by using the game status address.