Posted: Tue Mar 15, 2016 5:40 am Post subject: How to do a memoryrecord that trigger script?
i want to make a memoryrecord in the cheattable that, if checked, trigger a script with some aobscan to find some locations of memory and update other memoryrecords with this locations in the cheattable.
How is possible to do that?
[ENABLE]
aobscan(shiny, AA BB CC DD)
registersymbol(shiny)
[DISABLE]
If there's multiple locations:
Code:
[ENABLE]
{$lua}
local res = AOBScan("AA BB CC DD")
if res then
for i=0, res.Count, 1 do
registerSymbol("shiny"..i, res[i])
end
res.destroy()
end
{$asm}
[DISABLE]
_________________
I don't know where I'm going, but I'll figure it out when I get there.
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