View previous topic :: View next topic |
Author |
Message |
hozukcan How do I cheat? Reputation: 0
Joined: 23 Apr 2014 Posts: 7
|
Posted: Wed Jun 25, 2014 4:34 am Post subject: ToggleBox |
|
|
Code: | [ENABLE]
aobscan(aob,d0 30 d0 66 C9 CC 01 48)
aob:
db 24 02 48
[DISABLE]
|
how can i use this with togglebox? i want to make on/off button
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Wed Jun 25, 2014 4:41 am Post subject: |
|
|
In the onchange event of the togglebox use code like this:
Code: |
function CEToggleBoxThingChange(sender)
getAddressList().getMemoryRecordByDescription("entrythathasthis").Active=sender.Checked
end
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
hozukcan How do I cheat? Reputation: 0
Joined: 23 Apr 2014 Posts: 7
|
Posted: Wed Jun 25, 2014 4:45 am Post subject: |
|
|
Dark Byte wrote: | In the onchange event of the togglebox use code like this:
Code: |
function CEToggleBoxThingChange(sender)
getAddressList().getMemoryRecordByDescription("entrythathasthis").Active=sender.Checked
end
|
|
Im sorry i wrote wrong code
Code: | function CEButton1Click(sender)
--put this inside the Button function
local script1= addresslist_getMemoryRecordByDescription(getAddressList(), "1.hile") --change this according to your scripts..
memoryrecord_freeze(script1)-- this will Freeze (AKA enable) the the script
showMessage("hack is activated") --remove the -- before the showMessage, if you'd like to show that message..
--memoryrecord_unfreeze(script1)-- this will Freeze (AKA enable) the the script
end |
i want to make on/off button for it.I think its possible with togglebox for enable and disable it.
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Wed Jun 25, 2014 6:00 am Post subject: |
|
|
read my previous post. Use the onChange event, and in there set the Active property of the memory record to true/false based on the state of the togglebox (the Checked property of the togglebox)
Code: |
getAddressList().getMemoryRecordByDescription("1.hile").Active=sender.Checked
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
hozukcan How do I cheat? Reputation: 0
Joined: 23 Apr 2014 Posts: 7
|
Posted: Wed Jun 25, 2014 10:04 am Post subject: |
|
|
Dark Byte wrote: | read my previous post. Use the onChange event, and in there set the Active property of the memory record to true/false based on the state of the togglebox (the Checked property of the togglebox)
Code: |
getAddressList().getMemoryRecordByDescription("1.hile").Active=sender.Checked
|
|
okay I get it.so where should i write on/off in panel? There is only one caption :S
|
|
Back to top |
|
|
|