require("lib.samp.events").onShowDialog = function(id, style, title, b1, b2, text)
if text:find("Медик .+ хочет вылечить вас за") then
lua_thread.create(function() wait(50)
sampSendDialogResponse(sampGetCurrentDialogId(), 1, nil, nil)
return false
end)
end
end