CLEO Help Dialog

CLEO related
Status
Not open for further replies.

killme1st2

Member
Joined
May 25, 2013
Messages
15
Reaction score
0
Hello. I have a dialog list, ex:

Dialog_style_list.png


How can I make it choose 'Item 1' on it's own?
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,271
Solutions
6
Reaction score
926
Location
Lithuania
Explane.:
[shcode=cpp]
0AB1: @FAKE_KEYPRESS_GUI_DOWN 1 _OFFSET_KEY_ 0x1E {Enter}
[/shcode]


[shcode=cpp]
// Spamp Gui paspaudimas [Migtukas þemyn]
:FAKE_KEYPRESS_GUI_DOWN
1@ = 0xB73458
005A: 1@ += 0@ // (int)
0B49: samp set_current_dialog_list_item 1
0AB2: ret 0
[/shcode]
 

Cern

New member
Joined
Mar 1, 2014
Messages
4
Reaction score
1
Parazitas said:
Explane.:
[shcode=cpp]
0AB1: @FAKE_KEYPRESS_GUI_DOWN 1 _OFFSET_KEY_ 0x1E {Enter}
[/shcode]


[shcode=cpp]
// Spamp Gui paspaudimas [Migtukas þemyn]
:FAKE_KEYPRESS_GUI_DOWN
1@ = 0xB73458
005A: 1@ += 0@  // (int)
0B49: samp set_current_dialog_list_item 1
0AB2: ret 0  
[/shcode]

What code if need Item 2?
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,271
Solutions
6
Reaction score
926
Location
Lithuania
Cern said:
Parazitas said:
Explane.:
[shcode=cpp]
0AB1: @FAKE_KEYPRESS_GUI_DOWN 1 _OFFSET_KEY_ 0x1E {Enter}
[/shcode]


[shcode=cpp]
// Spamp Gui paspaudimas [Migtukas þemyn]
:FAKE_KEYPRESS_GUI_DOWN
1@ = 0xB73458
005A: 1@ += 0@  // (int)
0B49: samp set_current_dialog_list_item 1
0AB2: ret 0  
[/shcode]

What code if need Item 3?

PHP:
0B49: samp set_current_dialog_list_item 1 // select list item 2

PHP:
0B49: samp set_current_dialog_list_item 2 // select list item 3

PHP:
0B49: samp set_current_dialog_list_item 3 // select list item 4
PHP:
0B49: samp set_current_dialog_list_item 4 // select list item 5
 
Status
Not open for further replies.
Top