Hi guys, I use the below script as a bunnyhop script for CounterStrike Source. I've added the process_watcher so that when the game is quit, the script stops automatically.
What I'm wondering though is, is it possible to have the script so that it only works while i'm actually playing the game?
i.e. so that if I Alt-Tab out of the game, the script pauses, but when Alt-Tab back INTO the game, the script continues?
if state = U
SetTimer process_watcher, 100
Process Exist, hl2.exe
If ErrorLevel = 0