Kirba How do I cheat?
Reputation: 0
Joined: 26 Oct 2023 Posts: 5
|
Posted: Wed Dec 06, 2023 3:33 am Post subject: Attaching the first process of several with the same name? |
|
|
Here's code of my trainer:
Code: |
strings_add(getAutoAttachList(), "krisp.exe")
function setSpeed(bla)
speedhack_setSpeed(0.00)
timer_setEnabled(t,false)
end
function onOpenProcess(pid)
t=createTimer(nil)
timer_onTimer(t, setSpeed)
timer_setInterval(t,10000)
timer_setEnabled(t, true)
end
|
1. the Trainer must wait for the program krisp.exe to start.
2. Then it waits 10 seconds until the program is fully launched.
3. After that it should attach the first process (but it grabs the last one)
4. Speedhack 0
How do I fix the code? Also, I'm not sure if step 1 works in my code. I'm bad
|
|