View previous topic :: View next topic |
Author |
Message |
shadowwolf How do I cheat? Reputation: 0
Joined: 01 Apr 2013 Posts: 9 Location: The netherlands
|
Posted: Fri May 31, 2013 9:05 am Post subject: How to make a hotkey in lua? |
|
|
I'm wondering how I could make a hotkey in the cheat table lua script. I've created this working lua script and I'm wondering how I could set a hotkey to enable and disable it. The current script is this:
autoAssemble([[aobscan(bla, D9 58 44 8B 05 ?? ?? ?? ?? D9 40 44 D9 05)
bla:
db 90 90 90]]);
autoAssemble([[aobscan(bla, D9 9F 8? 00 00 00 0F B6)
bla:
db 90 90 90 90 90 90]]);
If anyone can help me that'd be great.
|
|
Back to top |
|
|
DaSpamer Grandmaster Cheater Supreme Reputation: 52
Joined: 13 Sep 2011 Posts: 1578
|
Posted: Fri May 31, 2013 9:24 am Post subject: |
|
|
Code: | createHotkey(function , key). |
_________________
|
|
Back to top |
|
|
shadowwolf How do I cheat? Reputation: 0
Joined: 01 Apr 2013 Posts: 9 Location: The netherlands
|
Posted: Sat Jun 01, 2013 6:22 am Post subject: |
|
|
thank you, couldn't find the createHotkey command anywhere, but now it's working
|
|
Back to top |
|
|
mgr.inz.Player I post too much Reputation: 218
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jun 01, 2013 6:29 am Post subject: Re: How to make a hotkey in lua? |
|
|
shadowwolf wrote: | aobscan(bla, D9 9F 8? 00 00 00 0F B6) |
Just to point out that 8? is treated as ??
_________________
|
|
Back to top |
|
|
|