| View previous topic :: View next topic |
| Author |
Message |
flyjet How do I cheat?
Reputation: 0
Joined: 31 Oct 2013 Posts: 5
|
Posted: Mon Mar 23, 2020 4:38 am Post subject: Unworking hotkeys |
|
|
Hi, there,
I'm physically disabled, so I have difficulties with quick keyboard inputs. So speedhack is a good solution. I created a generic table that I could adapt to each game changing the name of process(jeu means game in French). The problem is that something doesn't work in the speed change. I suspect that I'm not using the right function, what can you tell me?( names are in French) Here is my code:
| Code: | aalist=getAutoAttachList()
stringlist_add(aalist,"jeu.exe");
function vitesseNormale()
speedhack_setSpeed(1)
end
function vitesseReduite1()
speedhack_setSpeed(0.25)
end
function vitesseReduite2()
speedhack_setSpeed(0.1)
end
createHotkey(vitesseNormale(), VK_F1)
createHotkey(vitesseReduite1(), VK_F2)
createHotkey(vitesseReduite2(), VK_F3) |
thanks
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 472
Joined: 09 May 2003 Posts: 25874 Location: The netherlands
|
Posted: Mon Mar 23, 2020 6:43 am Post subject: |
|
|
it's not
| Code: |
createHotkey(vitesseNormale(), VK_F1)
|
but
| Code: |
createHotkey(vitesseNormale, VK_F1)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
flyjet How do I cheat?
Reputation: 0
Joined: 31 Oct 2013 Posts: 5
|
Posted: Mon Mar 23, 2020 10:25 am Post subject: |
|
|
It works, thanks for your help. Try to maintain your program as long as possible. In my situation, it's not just a cheating tool, it's an accessibility one as well.
Flyjet
|
|
| Back to top |
|
 |
|