Sting9x Expert Cheater Reputation: 0
Joined: 27 Jul 2016 Posts: 124
|
Posted: Mon Oct 09, 2017 6:33 am Post subject: How to Progressbar in lua ? |
|
|
Hello member CE
I have problems need help to complete this script
I am applying a example of Dark Byte, the code above i am using auto AOB
Code: |
al=? ? ? ?()
starthack=al.getMemoryRecordByDescription('starthack')
function starthackclick(sender)
starthack.Value= ? ? ? ?
end
function onOpenProcess(processid)
--called whenever cheatengine opens a process
--Update the status label
CETrainer.CELabel1.Caption="Attached to process"
--update the progressbar
--Right now, the progress is configures to range from 0 to 100
--Having opened the process probably means fully done, so:
CETrainer.CEProgressbar1.Position=100 --100% done
end
CETrainer.show();
CETrainer.CELabel1.Caption="Waiting for the process to be opened"
CETrainer.CEProgressbar1.Position=50
getAutoAttachList().add('game.exe') --adds the process to the auto attach list
|
|
|