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 


Script changing 3 Values

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

Joined: 22 Jan 2014
Posts: 9

PostPosted: Wed Jan 22, 2014 3:45 pm    Post subject: Script changing 3 Values Reply with quote

Hi , I want to make teleport hack Trainer in Cheat Engine , with Buttons - every button must set the 3 values. Im big novice in programming. How should look the lua code?

For now, i have something like this - i now it's incorrect and don't works

Code:
form_show(CETrainer) 
setMethodProperty(CETrainer,'OnClose',function (sender) closeCE(); return caFree end)
strings_add(getAutoAttachList(), "gta_sa")

function CEButton1Click(sender) 
local mr = addresslist_getMemoryRecordByDescription(getAddressList(),'ew','ns','wys')
mrew.Value = 1129.328735
mrns.Value = 2796.748047
mrwys.Value = 10.8203125
end
function FormClick(sender)

end


I need to load 3 addres from the CE table and changed the value.
Thx for any help.
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