Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sun Nov 13, 2016 6:06 pm Post subject: In CE, how to pass a variable created in ASM to Lua? (Solved |
|
|
For example, I have a variable in ASM as the following:
| Code: |
...
label(teamID)
.....
mov [teamID],bx <------get the value in bx
.....
teamID:
dd 0
registersymbol(teamID)
|
My question is:
How to pass "teamID" to Lua? I want to show the value of "teamID" on my trainer, so I need to get the value of it.
Thanks.
Edit:
I found the answer after googling a bit. For those who also need to know the answer, here it is:
| Code: |
CETrainer.CEEdit1.Text = readInteger'teamID'
| [/quote] |
|