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 


Trainer Help

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
evan_4405
How do I cheat?
Reputation: 0

Joined: 15 Jun 2014
Posts: 1

PostPosted: Sun Jun 15, 2014 4:13 pm    Post subject: Trainer Help Reply with quote

I spent more than 5hrs in the middle of the night trying to get a button to work as a hotkey.

My hotkeys change strings to a different value, but I want to be able to do that on a click of a button. I tried multiple scripts I read on these forums which either didn't work or just crashed Cheat Engine and had me spend another 20 minutes redesigning my GUI.

I would also like to know how I can make my Trainer beep and close after the strings have been changed and how I can have a notification pop up when a user tries to change the strips without the target process running.

Trying to make a hot gui for my Arma 3 script injector Very Happy.
Thanks.

_________________
you guys should update your forum like icq aim msn yahoo wtf add like skype atleast and whats up with that year 2,002 netbook as the logo add like a gtx 780 son as the logo
Back to top
View user's profile Send private message
DaSpamer
Grandmaster Cheater Supreme
Reputation: 52

Joined: 13 Sep 2011
Posts: 1578

PostPosted: Sun Jun 15, 2014 4:54 pm    Post subject: Reply with quote

Code:
local form = createForm();
local button = createButton(form); -- button on the form...
button.onClick = function(sender) -- On Click event..
-- Do stuff before.. Like write string and such..
beep(); -- does the beep
-- closeCE(); -- shuts down.. alternatively you could use os.exit();
end;

_________________
HEY Hitler
Do you get lazy when making trainers?
Well no more!
My CETrainer will generate it for you in seconds, so you won't get lazy! Very Happy

http://forum.cheatengine.org/viewtopic.php?t=564919
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 Lua Scripting 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