cheatenginewiki tells those code show the form. but in fact it is a lie (error : this instruction can't be compiled)
please teach me how to show a form.
cheatenginewiki tells those code show the form. but in fact it is a lie (error : this instruction can't be compiled)
please teach me how to show a form.
There is a fault in your code, but you should post all relevant code so others can double-check for errors. From the small snippet you have posted, the timer is destroyed before the function hideAllCEWindows() executes.
thank you for your reply
>Are you trying to run Lua code in an Auto Assembler window?
yes. I write in auto assemble window.I click file→assign to current cheat table.
>you should post all relevant code
ok.
[enable]
(form that i write).Show()
timer = createTimer(mainform)
timer.Interval = 50
timer.OnTimer = function(timer)
timer.destroy()
hideAllCEWindows()
end
[disable]
(form that i write).hide
end
this code replys (form that i write).Show(): this instruction can't be compiled.
I think .show() can not be compiled.but i also think that is so,why?
postscript
problem is solved
cheatenginewiki and I are wrong.
because of lack of {$lua}
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