WALLED !BEWARE! Deletes post on answer
Reputation: 0
Joined: 17 Feb 2020 Posts: 16
|
Posted: Sat Aug 22, 2020 12:42 am Post subject: Enable/Disable Panel button for cheat activation |
|
|
Hi, I got a code
Code: | if sender.showhint == false then
sender.showhint = true
sender.color = '$00333333'
end
autoAssemble([[
"Game.exe"+2D38AA:
db 75 07
]]);
sender.showhint = false
sender.color = '$00040404'
autoAssemble([[
"Game.exe"+2D38AA:
db 74 07
]]); |
and i want to do like, if u press on the panel, it will change color to black and it will activate the cheat, if u again press on it, the panel color will change to grey and the cheat will deactivate.
With this code the panel changes to black, and activates the cheat, but how to deactivate it on again clicking?
|
|