Search found 1 match

by 0dijm1md
Sun May 02, 2021 4:23 am
Forum: Cheat Engine Lua Scripting
Topic: Toggle timer on/off
Replies: 1
Views: 266

Toggle timer on/off

I'm trying to have a toggle button attached to a timer. Val = 0 function CETrainer_CEToggleBox1Click(sender) local timer = createTimer(getMainForm()) timer.Interval = 1000 timer.OnTimer = function(timer) writeInteger("Castles.exe+311B0A", 120) writeInteger("Catles.exe+311D0D", 120) sleep(100) writeI...