[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
aobscanmodule(INJECT,0F 29 81 20 01 00 00 48) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
newmem:
code:
movaps [rcx+00000120],xmm0
jmp return
INJECT:
jmp newmem
nop 2
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db 0F 29 81 20 01 00 00
unregistersymbol(INJECT)
dealloc(newmem)
Thanks for the reply!
It's almost what I want. To be more specific, the first three are the coordinates: 85.77 (X), 29.77 (Y) ,-0.67 (Z) and i want only Z to freeze(increase/decrease manually).The code that you gave me freezes all three coordinates.