fix send dialog

master
rubin 3 years ago
parent ac1cd0bde0
commit ca2c093615
  1. 4
      SRP-Number.lua

@ -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

Loading…
Cancel
Save