$iv_Pid = 3568
$iv_Address = 0xB6F5F0
;Player X pos :
$ah_Handle = _MemoryOpen ($iv_Pid)
_MemoryWrite ($iv_Address, $ah_Handle, '$iv_Address' + 10.0)
$iv_Pid = 3568 is the .exe for SAMP and 0xB6F5F0 is the Player pointer.
| In most cases, you can use even the dword of playeraddress as CPed value |
CPed +0x14 = Pointer to XYZ position structure (and rotation)
(CPed+0x14) +0x0 to +0x2C = [dword] Is the rotation matrix
(CPed+0x14) +0x30 = [dword] XPos
(CPed+0x14) +0x34 = [dword] YPos
(CPed+0x14) +0x38 = [dword] ZPos
I'm not really sure how I would use the information above to change the x y z positions. I'd appreciate it if someone could help me out a bit. Thank you in advance!