
<?xml version="1.0" encoding="utf-8"?> <CheatTable CheatEngineTableVersion="18"> <CheatEntries/> <UserdefinedSymbols/> <LuaScript> lastSpeed=1; function checkKeys(timer) if (isKeyPressed(VK_XBUTTON1)) then if lastspeed ~= 2 then speedhack_setSpeed(2) lastSpeed=2 end elseif (isKeyPressed(VK_XBUTTON2)) then if lastspeed ~= 10 then speedhack_setSpeed(10) lastSpeed=10 end elseif lastspeed ~= 1 then speedhack_setSpeed(1) lastSpeed=1 end end t=createTimer(nil) timer_setInterval(t, 100) timer_onTimer(t, checkKeys) timer_setEnabled(t, true) </LuaScript> </CheatTable>