View previous topic :: View next topic |
Author |
Message |
akikazu12 Newbie cheater Reputation: 0
Joined: 08 Apr 2020 Posts: 14
|
Posted: Mon Sep 20, 2021 12:35 am Post subject: Add certain value to an address? |
|
|
is there any way to add a certain value to changing address?
for example an address' value is 70, I want to add 100 to it so it becomes 170
but when the original value change to 20, I want it would be automatically added with 100, so it becomes 120..
but when the original value change to 0, I want it to be still 0, so unless it's 0, I want the value to be added with 100
|
|
Back to top |
|
|
Dark Byte Site Admin Reputation: 457
Joined: 09 May 2003 Posts: 25262 Location: The netherlands
|
Posted: Mon Sep 20, 2021 12:55 am Post subject: |
|
|
set the value to
Code: |
((value~=0) and (value+100)) or 0
|
_________________
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 |
|
|
akikazu12 Newbie cheater Reputation: 0
Joined: 08 Apr 2020 Posts: 14
|
Posted: Mon Sep 20, 2021 12:58 am Post subject: |
|
|
Dark Byte wrote: | set the value to
Code: |
((value~=0) and (value+100)) or 0
|
|
damn that's fast reply, thank you I'll try that
|
|
Back to top |
|
|
|