CLEO Help gta patches with cleo

CLEO related
Status
Not open for further replies.

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
hi guys i need the prevent setplayerpos patch in cleo
not the nop set player position
it not the same can you give me source?
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
271
Look through s0beit ini at gta:patches, it's the same concept but instead of writing samp.dll memory you write gta_sa.exe mem.
 

zaki19

Well-known member
Joined
Feb 27, 2013
Messages
393
Reaction score
0
i make that

{$CLEO}
03A4: "dznoob"
0000: "ugbase.eu"
0@ = 0
0AA2: 1@ = load_library "gta_sa.exe"
000A: 1@ += 0x005E4110 //prevent serplayerpos
0A8D: 2@ = read_mem 1@ size 3 vp 0

WHILE TRUE
wait 0
if
    0ADC: "psp"
then
    if
        0@ == 0
    then
        0AD1: "SetPlayerPos ON" 1500
        0@ = 1           
        0A8C: write_memory 1@ size 3 value 0xC21000 vp 1
    else
        0AD1: "SetPlayerPos OFF" 1500
        0@ = 0
        0A8C: write_memory 1@ size 3 value 2@ vp 1
    end               
end
end










but it not working wheres the problem
 
Status
Not open for further replies.
Top