CLEO Help How to make a cleo without sampfunc ?

CLEO related
Status
Not open for further replies.

0B36

Expert
Joined
Jan 6, 2014
Messages
1,324
Reaction score
8
^^What he said. Dumb question. Don't use sampfuncs opcodes and you won't need sampfuncs. Simple.
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
springfield link said:
http://ugbase.eu/help-7/dialog-wo-sampfuncs/msg65433/#msg65433
please add into this cleo
Code:
{$CLEO .cs}
0000: NOP

:memo1
wait 0
if 
0ADC: test_cheat "MEMO"
else_jump @memo1
0AC6: 0@ = label @TEXT offset 
SAMP.ShowDialog(2, "POLICE", 0@, "OK", "Close", DIALOG_STYLE_LIST)
goto @memo1
    
:TEXT
hex
"C0: Can su tro giup cua tat ca don vi" 0A
"C1: Bao cao / Tra loi" 0A
"C2: Dang den hien truong"  0A
"C3: Tu choi / Dang ban" 0A
"C4: Xac nhan / Dong y" 0A
"C5: Giu vi tri" 0A
"C6: Bao cao vi tri" 0A
"C7: Onduty" 0A
"C8: Offduty" 0A
"C9: Can xe cuu thuong" 0A
"C10: Da bat duoc doi tuong" 0A
"C11: Cac don vi tap trung" 0A
"C12: Thong tin doi tuong"  0A
"C13: Nhiem vu hoan thanh" 0A
"C14: Co no sung" 0A
"C15: Tai nan" 00
end
 

Dwayne

Active member
Joined
Jun 4, 2014
Messages
125
Reaction score
0
springfield link said:
Post your code.
Code:
{$CLEO .cs}
0000: NOP

:memo1
wait 0
if 
0ADC: test_cheat "MEMO"
else_jump @memo1
0AC6: 0@ = label @TEXT offset 
SAMP.ShowDialog(2, "POLICE", 0@, "OK", "Close", DIALOG_STYLE_LIST)
goto @memo1
    
:TEXT
hex
"C0: Can su tro giup cua tat ca don vi" 0A
"C1: Bao cao / Tra loi" 0A
"C2: Dang den hien truong"  0A
"C3: Tu choi / Dang ban" 0A
"C4: Xac nhan / Dong y" 0A
"C5: Giu vi tri" 0A
"C6: Bao cao vi tri" 0A
"C7: Onduty" 0A
"C8: Offduty" 0A
"C9: Can xe cuu thuong" 0A
"C10: Da bat duoc doi tuong" 0A
"C11: Cac don vi tap trung" 0A
"C12: Thong tin doi tuong"  0A
"C13: Nhiem vu hoan thanh" 0A
"C14: Co no sung" 0A
"C15: Tai nan" 00
end
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
3
Dwayne link said:
Code:
{$CLEO .cs}
0000: NOP

:memo1
wait 0
if 
0ADC: test_cheat "MEMO"
else_jump @memo1
0AC6: 0@ = label @TEXT offset 
SAMP.ShowDialog(2, "POLICE", 0@, "OK", "Close", DIALOG_STYLE_LIST)
goto @memo1
    
:TEXT
hex
"C0: Can su tro giup cua tat ca don vi" 0A
"C1: Bao cao / Tra loi" 0A
"C2: Dang den hien truong"  0A
"C3: Tu choi / Dang ban" 0A
"C4: Xac nhan / Dong y" 0A
"C5: Giu vi tri" 0A
"C6: Bao cao vi tri" 0A
"C7: Onduty" 0A
"C8: Offduty" 0A
"C9: Can xe cuu thuong" 0A
"C10: Da bat duoc doi tuong" 0A
"C11: Cac don vi tap trung" 0A
"C12: Thong tin doi tuong"  0A
"C13: Nhiem vu hoan thanh" 0A
"C14: Co no sung" 0A
"C15: Tai nan" 00
end
You can't COMPILE it or you can't USE it?
For each problem you need SAMPFUNCS.
 
Status
Not open for further replies.
Top