Posted: Sat Feb 25, 2023 5:35 pm Post subject: Auto Assemble Script Return a Variable
I have this auto assemble script that works fine in CE but I can't get it to work with the trainer. I don't know what I'm doing wrong, I tried looking through some examples and didn't see anything through or with context. Can someone be so kind and point out my errors?
function LastResortChange(sender)
if (UDF1.LastResort.State==cbChecked)then
autoAssemble(script, true)
UDF1.LastResortVal.Text = "checked"
else
autoAssemble(script, false)
UDF1.LastResortVal.Text = "unchecked"
end
end
function ButtonRefreshClick(sender)
setProperty(UDF1.LastResortText,"Text", readQword(pntr))
end
autoAssemble(text, targetself OPTIONAL, disableInfo OPTIONAL) : runs the auto assembler with the given text. Returns true on success, with as secondary a 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
autoAssemble(text, disableInfo OPTIONAL)
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