| View previous topic :: View next topic |
| Author |
Message |
johnnaov How do I cheat?
Reputation: 0
Joined: 21 Apr 2022 Posts: 2
|
Posted: Thu Apr 21, 2022 11:41 am Post subject: how do i use lua script and assembly script in one script f |
|
|
hello.
im trying to figure out how to make the lua scripot and assembly script in one file.
so far ive got
{$lua}
{$lua}
[enable]
[disable]
but it has issues and doesnt work as expected can anyone help.
thanks!
|
|
| Back to top |
|
 |
LeFiXER Grandmaster Cheater Supreme
Reputation: 20
Joined: 02 Sep 2011 Posts: 1069 Location: 0x90
|
Posted: Thu Apr 21, 2022 11:50 am Post subject: |
|
|
Maybe this will explain better.
| Code: |
[ENABLE]
{$LUA}
-- Lua Code Here
-- To execute Auto Assembler code within a Lua block, use this function
autoAssemble(text, targetself OPTIONAL, disableInfo OPTIONAL)
--[[ Which runs the Auto Assembler with the given text. Returns True on success, with a secondary table you can use when disabling (if targetself is set, it will assemble into Cheat Engine itself). If disableInfo is provided the [Disable] section will be handled
Note: text is the Auto Assembler code you which to execute
]]
{$ASM}
[DISABLE]
|
|
|
| Back to top |
|
 |
johnnaov How do I cheat?
Reputation: 0
Joined: 21 Apr 2022 Posts: 2
|
Posted: Thu Apr 21, 2022 12:39 pm Post subject: |
|
|
| LeFiXER wrote: | Maybe this will explain better.
| Code: |
[ENABLE]
{$LUA}
-- Lua Code Here
-- To execute Auto Assembler code within a Lua block, use this function
autoAssemble(text, targetself OPTIONAL, disableInfo OPTIONAL)
--[[ Which runs the Auto Assembler with the given text. Returns True on success, with a secondary table you can use when disabling (if targetself is set, it will assemble into Cheat Engine itself). If disableInfo is provided the [Disable] section will be handled
Note: text is the Auto Assembler code you which to execute
]]
{$ASM}
[DISABLE]
|
|
wow, thanks! this makes sense.
|
|
| Back to top |
|
 |
|