Cleo Dialog

Nic.eXe

Новичок
Автор темы
3
0
Hello. I have a cleo mod with 2 dialogs and I want to make one more but it don't work.
This is the actual 2 dialogs:
if
0B3C: samp is_dialog_responded id 1000 button 2 @ list_item 3 @ input_text 0
then

if and
2 @ == 1 // Pressed = 1
3 @ == 0 // List item number
then
0AC6: 0 @ = label @briefs offset
0B3B: samp show_dialog id 1001 caption "{00ff99} [Helper Help] {FFFFFF} Briefs" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 1 // List item number
then
0AC6: 0 @ = label @joburi offset
0B3B: samp show_dialog id 1002 caption "{00ff99} [Helper Help] {FFFFFF} Job-uri" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 2 // List item number
then
0AC6: 0 @ = label @factiuni offset
0B3B: samp show_dialog id 1003 caption "{00ff99} [Helper Help] {FFFFFF} Factiuni" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 3 // List item number
then
0AC6: 0 @ = label @casesiafaceri offset
0B3B: samp show_dialog id 1004 caption "{00ff99} [Helper Help] {FFFFFF} Case si afaceri" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 4 // List item number
then
0AC6: 0 @ = label @masini offset
0B3B: samp show_dialog id 1005 caption "{00ff99} [Helper Help] {FFFFFF} Masini" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 5 // List item number
then
0AC6: 0 @ = label @cutiisimisiuni offset
0B3B: samp show_dialog id 1006 caption "{00ff99} [Helper Help] {FFFFFF} Cutii si misiuni" text 0 @ button_1 "Close" button_2 "" style 0
end

if and
2 @ == 1 // Pressed = 1
3 @ == 6 // List item number
then
0AC6: 0 @ = label @altecomenzi offset
0B3B: samp show_dialog id 1007 caption "{00ff99} [Helper Help] {FFFFFF} Alte comenzi" text 0 @ button_1 "Close" button_2 "" style 0
end

And:
if
0B3C: samp is_dialog_responded id 1008 button 18 @ list_item 19 @ input_text 0
then

if and
18 @ == 1 // Pressed = 1
19 @ == 0 // List item number
then
0AC6: 17 @ = label @ cars1 offset
0B3B: samp show_dialog id 1009 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Cars (Part 1)" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 1 // List item number
then
0AC6: 17 @ = label @ cars2 offset
0B3B: samp show_dialog id 1010 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Cars (Part 2)" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 2 // List item number
then
0AC6: 17 @ = label @ cars3 offset
0B3B: samp show_dialog id 1011 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Cars (Part 3)" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 3 // List item number
then
0AC6: 17 @ = label @bikes offset
0B3B: samp show_dialog id 1012 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Bikes" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 4 // List item number
then
0AC6: 17 @ = label @boats offset
0B3B: samp show_dialog id 1013 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Boats" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 5 // List item number
then
0AC6: 17 @ = label @aircrafts offset
0B3B: samp show_dialog id 1014 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Aircrafts" text 17 @ button_1 "Close" button_2 "" style 0
end

if and
18 @ == 1 // Pressed = 1
19 @ == 6 // List item number
then
0AC6: 17 @ = label @special offset
0B3B: samp show_dialog id 1015 caption "{00ff99} [Helper Help] {FFFFFF} DealerShip Special" text 17 @ button_1 "Close" button_2 "" style 0
end

end

end

Can someone give me a example for first 2 dialog options how I need to make? Thanks.
 

JEEMBО

Известный
Друг
1,240
581
Еще раз увижу такое,последует наказание. Человек хочет писать на клео,пусть пишет. Ты не в праве решать за его.
Hello. I have a cleo mod with 2 dialogs and I want to make one more but it don't work.
This is the actual 2 dialogs:
https://blast.hk/forums/116/