Posted: Wed Apr 12, 2017 10:14 pm Post subject: Activate tick sound with lua
I want to activate tick sound which is inside Cheat Engine
when I press F1 tick sound for activation run and press again deactivation sound come .
Code:
if mytimer == nil then
mytimer = createTimer(nil, false)
end
mytimer.OnTimer = function(timer)
mouse_event(MOUSEEVENTF_RIGHTDOWN | MOUSEEVENTF_RIGHTUP)
end
mytimer.Interval = 1
if myhotkey then
myhotkey.Destroy()
end
myhotkey = createHotkey(function()
mytimer.Enabled = not mytimer.Enabled
end, VK_F1)
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