| View previous topic :: View next topic |
| Author |
Message |
arnocopter How do I cheat?
Reputation: 0
Joined: 15 Nov 2022 Posts: 1
|
Posted: Tue Nov 15, 2022 11:09 am Post subject: making script using value of pointers? |
|
|
Hello!
I'm a total noob at coding/scripting and I mainly followed tutorials and premade scripts to make mine work.
So I managed to get pointers to get my character's coordinates (x/y/z) and I wanted to make a script to basically have a noclip (increasing the coordinates of my x/y by 1) depending on which hotkey I press. The type of the value of my coordinates are floats
I've searched a bit and I haven't found a way to return the value of a pointer, then using it to increase it by 1 when activated, or when I press specific hotkeys
I hope you guys can help me with that
PS : 80 offget gives me X, 84 Y and 88 Z coordinates |
|
| Back to top |
|
 |
cooleko Grandmaster Cheater
Reputation: 11
Joined: 04 May 2016 Posts: 717
|
|
| Back to top |
|
 |
Frouk Grandmaster Cheater
Reputation: 5
Joined: 22 Jun 2021 Posts: 518
|
Posted: Wed Nov 16, 2022 2:34 am Post subject: |
|
|
| xyz is just vector 3d or vector 4d of coordinates (X, Y, Z, (W if vector is 4d)), and i don't think that player pointer is accessed by many offsets, there must be atleast 4,3 offsets |
|
| Back to top |
|
 |
|