functionCebutton1click (Sender)Localx = GetProperty (cetrainer.ceedit1,"Text")--It's important to get the value of the text box--Writeinteger (0x42c0c0,readinteger (0X42C0C0) +x)--Set the value of the 0X42C0C0 addressSetProperty (Cetrainer.ceedit2,"Text","0001000")--Set the value of the second text boxEnd
--trainergeneratorstart----This is the code that is automatically generated. Please change the code in a region--If you regenerate the modifier, get the Delete and rewrite code--Uncomment the following line if it is a Cheat Table format trainer and you don't want CE to show (Tip, Save As. Cetrainer alternatively)--hideallcewindows ()requiredceversion=6.4if(getceversion==Nil)or(Getceversion () <requiredceversion) ThenMessagedialog ('Please install Cheat Engine'.. Requiredceversion, Mterror, Mbok) closece ()EndAddressList=getaddresslist () CETrainer.SEPERATOR.Visible=falsegetautoattachlist (). Add ("modifier test tool. exe") Gplaysoundonaction=falsecetrainer.show ()functionAboutclick () showmessage (Gabouttext)EndGabouttext=[[This trainer is made by Cheat Enginewww.cheatengine.org]]functionCloseclick ()--called by the Close button OnClick event, and when closing the formclosece ()returnCafree--OnClick doesn ' t care, but OnClose would like a resultEnd--trainergeneratorstop--
Cheat Engine Lua