Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Enable/Disable Panel button for cheat activation

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
WALLED
!BEWARE! Deletes post on answer
Reputation: 0

Joined: 17 Feb 2020
Posts: 16

PostPosted: Sat Aug 22, 2020 12:42 am    Post subject: Enable/Disable Panel button for cheat activation Reply with quote

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?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites