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 


HELP! How to make Time / Clock in CE Trainer()..??

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
MateeJr GT
Advanced Cheater
Reputation: 0

Joined: 24 Dec 2017
Posts: 66

PostPosted: Sat Feb 17, 2018 6:56 am    Post subject: HELP! How to make Time / Clock in CE Trainer()..?? Reply with quote

How make clock in CE
I WILL DESIGN MY SELF BUT HE HAS ADDED A AUTOMATIC RUNNING TIME
PLS HELP

_________________
Hi Lynxz Gaming
Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Sat Feb 17, 2018 7:03 am    Post subject: Reply with quote

Try this :

Code:
MForm = createForm()

TimeLabel = createLabel(MForm)
TimeLabel.Left = 10
TimeLabel.Top = 8
TimeLabel.Font.Name = 'Verdana'
TimeLabel.Font.Style = 'fsBold'
TimeLabel.Font.Size = '12'
TimeLabel.Font.Color = '0x00595959'
TimeLabel.Alignment = 'taRightJustify'
TimeLabel.Name = 'TimeLabel'
TimeLabel.Visible = false
c=createTimer(nil)
c.Interval=1000
c.OnTimer=function(c)
TimeLabel.Visible = true
TimeLabel.Caption = tostring(os.date('%d-%m-%Y / %H:%M:%S'))
end
c.Enabled=true

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
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