| View previous topic :: View next topic |
| Author |
Message |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Feb 20, 2016 4:44 pm Post subject: getAddressList(). Need help, thanks. |
|
|
I know that the following function enables a script in the cheat table:
For example, in order to activate the "infinite health" script:
| Code: | | getAddressList().getMemoryRecordByDescription('infinite health').Active=true |
My question is: how to detect if the "infinite health" script is activated or not? I have tried the following, but it didn't work:
| Code: | if getAddressList().getMemoryRecordByDescription('infinite health').Active==false then
showMessage("1")
end |
Thanks in advance.
Last edited by Dr.Disrespect on Sat Feb 20, 2016 8:07 pm; edited 1 time in total |
|
| Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Feb 20, 2016 5:04 pm Post subject: |
|
|
Are you sure that your memory record has this description:
limit_to_250
There are no spaces at the end?
Because this
"limit_to_250"
is not equal to
"limit_to_250 "
and not equal to
"limit_to_250 "
_________________
|
|
| Back to top |
|
 |
Dr.Disrespect Grandmaster Cheater
Reputation: 3
Joined: 17 Feb 2016 Posts: 526
|
Posted: Sat Feb 20, 2016 8:07 pm Post subject: |
|
|
| mgr.inz.Player wrote: | Are you sure that your memory record has this description:
limit_to_250
There are no spaces at the end?
Because this
"limit_to_250"
is not equal to
"limit_to_250 "
and not equal to
"limit_to_250 " |
Sorry, I posted the wrong code, and I have updated my post.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Feb 20, 2016 8:38 pm Post subject: |
|
|
If the first script is working, then so is the second one.
...as long as they're not executing together.
|
|
| Back to top |
|
 |
LastExceed Expert Cheater
Reputation: 1
Joined: 05 Nov 2014 Posts: 130
|
Posted: Sun Feb 21, 2016 5:30 am Post subject: |
|
|
Actually it should work exactly that way (just tried it on my own, I had no problems).
Can you explain your problem a little more detailed? Is there an error or something like that?
|
|
| Back to top |
|
 |
|