dadajszen Cheater
Reputation: 0
Joined: 19 Sep 2013 Posts: 27
|
Posted: Thu Sep 19, 2013 12:46 pm Post subject: Could someone help me with the script |
|
|
Hi, so at the beginning I will say that my English is very bad because I'm Pole;) mmm .. let's get to the point, Lua is encoded by less than 2-days I am very green at this, okay I have this code:
form_show(UDF1) -- pokazanie okna UDF1
setMethodProperty(UDF1,'OnClose',function (sender) closeCE(); return caFree end) --wylaczenie okna udf1 po kliknieciu w krzyzyk
strings_add(getAutoAttachList(), "MineSweeper") --nazwa procesu, w ktory ingerujemy
@edit
function CEButton1Click(sender) --dodajemy kod dla funkcji przycisku CEButton1
local mr = addresslist_getMemoryRecordByDescription(getAddressList(),'Miny') --pobieramy adres z opisu w tabeli
memoryrecord_setValue(mr, memoryrecord_getValue(mr)+10) --dodajemy do powyzszego adresu wartosc 10
end --konczy funkcje
an error
[string "fomr_show (UDF1) ..."]: 2: ')' expected near '?'
if you can to help me with this code if someone could rewrote it to me so that I can click on the button froze, changed value, increased value, reduced value, but it's very very important to me
Last edited by dadajszen on Fri Sep 20, 2013 8:13 am; edited 1 time in total |
|