- 25
- 0
I have made this dialog
How can I check when the dialog is closed?
I tried this, but it crashes.
Код:
0B3B: samp show_dialog id 58 caption "aaaaaaaaaa" text "bbbbbbbbbbbb" button_1 "OK" button_2 "NO" style DIALOG_STYLE_INPUT
Код:
0B3B: samp show_dialog id 58 caption "aaaaaaaaaa" text "bbbbbbbbbbbb" button_1 "OK" button_2 "NO" style DIALOG_STYLE_INPUTwhile true
while true
wait 0
0B81: dialog 58 pop_event_to 2@ control_id_to 3@
if
2@ == 0x101
then
0AF8: samp add_message_to_chat "premuto" 5@
end
end