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 


Consultation on creating trainer

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
axel9999
Newbie cheater
Reputation: 0

Joined: 15 Oct 2012
Posts: 10

PostPosted: Tue Apr 30, 2013 6:47 am    Post subject: Consultation on creating trainer Reply with quote

Hello, wanted to know how it could add to a trainer, the option to activate by a key.

Trainers is that I see that have that option. Open the trainer, then the game within the game and press a key to activate the trainer.

Anyone help me?

Thanks
Back to top
View user's profile Send private message
daspamer
Grandmaster Cheater Supreme
Reputation: 54

Joined: 13 Sep 2011
Posts: 1588

PostPosted: Tue Apr 30, 2013 6:51 am    Post subject: Reply with quote

Code:
function Enable()
-- do whatever u want here
end
createHotkey(Enable, VK_F1)

_________________
I'm rusty and getting older, help me re-learn lua.
Back to top
View user's profile Send private message Visit poster's website
axel9999
Newbie cheater
Reputation: 0

Joined: 15 Oct 2012
Posts: 10

PostPosted: Tue Apr 30, 2013 6:59 am    Post subject: Reply with quote

thank!
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