How to automatically select an option from a dialog list?
I dont know really much about cleo scripting, i thought that it should be like this, but the game just crashes when it starts.
if
0B4C: samp is_dialog_active
then
0B49: samp set_current_dialog_list_item 2
0B47: samp close_current_dialog_with_button 1
end
Also, i would want the mod to check if there's an opened dialog after pressing a key.
I dont know really much about cleo scripting, i thought that it should be like this, but the game just crashes when it starts.
if
0B4C: samp is_dialog_active
then
0B49: samp set_current_dialog_list_item 2
0B47: samp close_current_dialog_with_button 1
end
Also, i would want the mod to check if there's an opened dialog after pressing a key.