CLEO Help Help with snippet

CLEO related
Status
Not open for further replies.

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
Use
C-like:
0AA8: call_function_method 0x4048E0 struct 0xB74494 num_params 1 pop 0 $MyCar 0@

with the class pointer.
Thx, work.

R3
PHP:
:CLOSE_DIALOG
wait 0
IF 0AA2: 10@ = "samp.dll"
THEN      
    0A8E: 11@ = 10@ + 0x26E898 // SAMP_DIALOG_INFO_OFFSET
    0A8D: 12@ = readMem 11@ sz 4 vp 0
    0A8E: 11@ = 10@ + 0x6FF40 //SAMP_DIALOG_CLOSE
    0AA8: call_function_method 11@ struct 12@ num_params 1 pop 0 $DIALOG 0@
END
0AB2: 0
 
Last edited:

Parazitas

God
Joined
Jan 2, 2017
Messages
3,121
Solutions
5
Reaction score
882
Location
Lithuania
@springfield
@monday

What's wrong now?? Why i get crash msg???

PHP:
:DIALOG_PRESS_LEFT_BUTTON
wait 0
IF 0AA2: 10@ = "samp.dll"
THEN    
    0A8E: 11@ = 10@ + 0x26E898 // SAMP_DIALOG_INFO_OFFSET
    0A8D: 12@ = readMem 11@ sz 4 vp 0
    0A8E: 11@ = 10@ + 0x6F8C0 //SAMP_DIALOG_PRESS_LEFT_BUTTON
    0AA8: call_function_method 11@ struct 12@ num_params 1 pop 0 $DIALOG 0@
END
0AB2: 0

 
Status
Not open for further replies.
Top