|
|
|
@ -144,8 +144,8 @@ function sampev.onServerMessage(color, message) |
|
|
|
|
repeat wait(10) until sampIsDialogActive() and string.find(sampGetDialogCaption(), "Ìàãàçèí") |
|
|
|
|
wait(mode[2]["run"]) |
|
|
|
|
if mode[1]["run"] then |
|
|
|
|
sampSetCurrentDialogListItem(2) |
|
|
|
|
sampCloseCurrentDialogWithButton(1) |
|
|
|
|
local dialogId = sampGetCurrentDialogId() |
|
|
|
|
sampSendDialogResponse(dialogId,1,2,"") |
|
|
|
|
end |
|
|
|
|
end) |
|
|
|
|
end |
|
|
|
|