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 


Cha going text stored in labels

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

Joined: 30 Dec 2018
Posts: 11

PostPosted: Fri Feb 08, 2019 1:31 pm    Post subject: Cha going text stored in labels Reply with quote

Well, I'm creating a trainer and I'm replacing text for some labels. I want to change one label's text based on a read value.
My LUA script (attachment) does the function, but the value doesn't change. Do you have any idea what can be wrong with that?



IMG_20190208_202901.jpg
 Description:
 Filesize:  11.89 KB
 Viewed:  142 Time(s)

IMG_20190208_202901.jpg


Back to top
View user's profile Send private message
Corroder
Grandmaster Cheater
Reputation: 18

Joined: 10 Apr 2015
Posts: 684

PostPosted: Fri Feb 08, 2019 8:28 pm    Post subject: Reply with quote

Test :

Code:
local colorType = 0
Gloss = "Whatever you want"
if colorType == 0 then
 UDF1.CELabel6.Caption = Gloss
end

_________________
Singapore Sling + Johnnie Walker + Some Peanuts....
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