View previous topic :: View next topic |
Author |
Message |
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sun Oct 01, 2017 2:08 am Post subject: GetAddressList |
|
|
Hey, I'm new to lua and all but wanted to know about this:
Code: | [ENABLE]
{$lua}
getAddressList().getMemoryRecordByDescription("Health").Value=100
{$asm}
[DISABLE] |
Let's say my Health is Float, will this work if I put 100? I mean is it going to work for 4 Bytes and 8 Bytes like Doubles, Float, 4 byte, 2 byte stuff like that?
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25298 Location: The netherlands
|
Posted: Sun Oct 01, 2017 3:57 am Post subject: |
|
|
yes, Value is a string (like when you type it in the CE GUI), lua will convert that 100 to the string '100' and then pass it to value
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
|
KalasDev Master Cheater Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Sun Oct 01, 2017 4:21 am Post subject: |
|
|
Awesome, thank you
|
|
Back to top |
|
|
|