 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
yazigegeda Expert Cheater
Reputation: 0
Joined: 22 Jan 2019 Posts: 183
|
Posted: Sun Aug 23, 2020 6:48 am Post subject: Re: lua script auto press key |
|
|
| vil33 wrote: | hello master...
let me ask something hehe :D
i want to make button in my trainer auto press space bar.
But when i fill the code it's no working ,i think that code what i fill is wrong
| Quote: | function execute()
for i=1,1000 do
doKeyPress(VK_space)
end
end
createHotkey(execute, VK_space) |
i want went i press or click a button it press " SPACE "
Thank you master.
Have a nice day :D :? |
| Code: |
function execute()
for i=1,1000 do
doKeyPress(VK_space)
end
end
createHotkey(execute, 32)
|
|
|
| Back to top |
|
 |
vil33 Cheater
Reputation: 0
Joined: 29 Jul 2020 Posts: 34
|
Posted: Sun Aug 23, 2020 6:50 am Post subject: Re: lua script auto press key |
|
|
| yazigegeda wrote: | | vil33 wrote: | hello master...
let me ask something hehe
i want to make button in my trainer auto press space bar.
But when i fill the code it's no working ,i think that code what i fill is wrong
| Quote: | function execute()
for i=1,1000 do
doKeyPress(VK_space)
end
end
createHotkey(execute, VK_space) |
i want went i press or click a button it press " SPACE "
Thank you master.
Have a nice day  |
| Code: |
function execute()
for i=1,1000 do
doKeyPress(VK_space)
end
end
createHotkey(execute, 32)
|
|
sorry master...
i mean when i click button
can you show me the code?
i want when i click button a command press " SPACE "
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|