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
Freiza
Grandmaster Cheater
Reputation: 22
Joined: 28 Jun 2010
Posts: 662

PostPosted: Tue Mar 20, 2012 10:58 am    Post subject:

Code:
addresslist = getAddressList()
cheat1= [[description1]]  -- Just put the description of 1st cheat script here.
cheat2= [[description2]]  -- Put the description of 2 cheat script here.
memoryrec1 = addresslist_getMemoryRecordByDescription(addresslist,cheat1)
memoryrec2 = addresslist_getMemoryRecordByDescription(addresslist,cheat2)

memoryrecord_onActivate(memoryrec1,func1)
memoryrecord_onActivate(memoryrec2,func2)

 function func1(memoryrec,before,currentstate)

memoryrecord_unfreeze(memoryrec2)
return true
end

 function func2(memoryrec,before,currentstate)

memoryrecord_unfreeze(memoryrec1)
return true
end


It will set only one cheat at a time. Put the cheat description as mentioned in code.
_________________
Back to top
View user's profile Send private message Send e-mail
Post reviews:   Approve 1
Author Review
lampuiho
Review: Approve
Post reference:
ReviewPosted: Sat Mar 24, 2012 12:45 am

very 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