View previous topic :: View next topic |
Author |
Message |
mben Newbie cheater
Reputation: 0
Joined: 20 Jan 2018 Posts: 14
|
Posted: Thu Jan 25, 2018 4:00 am Post subject: question about simple hot key in lua |
|
|
hi, i have this simple code
Code: |
function hola()
print("hello")
end
createHotkey (hola,VK_V) |
and when i press key "v" the output window show 9 times in row the word hello, why?
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Thu Jan 25, 2018 4:35 am Post subject: |
|
|
could be the hotkey settings (settings->hotkey) have really low values (default is 100/100)
You can also override that on a per hotkey basis
Code: |
function hola()
print("hello")
end
hk=createHotkey (hola,VK_V)
hk.DelayBetweenActivate=250
|
_________________
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 |
|
 |
mben Newbie cheater
Reputation: 0
Joined: 20 Jan 2018 Posts: 14
|
Posted: Fri Jan 26, 2018 10:15 am Post subject: |
|
|
Dark Byte wrote: | could be the hotkey settings (settings->hotkey) have really low values (default is 100/100)
You can also override that on a per hotkey basis
Code: |
function hola()
print("hello")
end
hk=createHotkey (hola,VK_V)
hk.DelayBetweenActivate=250
|
|
thanks darkbyte by response, yes it seems something with that because i am on laptop, maybe some incompatibility.
|
|
Back to top |
|
 |
|