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 


Cheat Engine Forum Index
PostGo back to topic
Zanzer
I post too much
Reputation: 126
Joined: 09 Jun 2013
Posts: 3278

PostPosted: Thu Dec 17, 2015 11:34 pm    Post subject:

You are an odd one, indeed.
Code:
index = 0
spaces = 40
step = 1
values = {}
for i=0,spaces do
  local text = "*"
  for j=0,i do
    text = " " .. text
  end
  values[i] = text
end
timer=createTimer(nil, false)
timer.Interval=100
timer.OnTimer=function(timer)
  if index >= spaces then
    step = -1
  elseif index <= 0 then
    step = 1
  end
  index = index + step
  UDF1.CELabel1.SetCaption(values[index])
end
timer.Enabled=true
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
Rydian
Review: Approve
Post reference:
ReviewPosted: Fri Dec 18, 2015 1:04 am

I laughed, but you're still helpful.
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites