CLEO Help Cleo Dialog tutorial?

CLEO related
Status
Not open for further replies.

pepeelpubero

Well-known member
Joined
Jan 21, 2014
Messages
433
Reaction score
1
That works for me, the problem is it only shows one text and bad position. You must type the command 2 times then it works.

But here is part of a code made by springfield on some reply, it shows a dialog with the words in hex.

Code:
{$CLEO .cs}

//-------------MAIN---------------
thread 'DIALOG' 

:DIALOG_1
wait 0 
if 
0ADC:   test_cheat "pepe" 
else_jump @DIALOG_1
0AC6: 0@ = label @TEXT offset 
SAMP.ShowDialog(2, "TITLE", 0@, "OK", "CLOSE", DIALOG_STYLE_LIST)
goto @DIALOG_1 

:TEXT
hex
"BEER" 0A
"WINE" 0A
"BLOOD" 0A
"JUICE" 0A
"SPERM" 00
end

0A = new line
00 = end
 
Status
Not open for further replies.
Top