require "moonloader"
local samp = require "samp.events"
require 'lib.moonloader'
function main()
if not isSampLoaded() then return end
while true do
wait(0)
end
function samp.onShowDialog(id, style, title, button1, button2, text)
if text:match("Оленина (%d+)") then
ol = text:match('Оленина (%d+)')
local result, button, list, input = sampHasDialogRespond(1)
if result then
if ol then
button == 1
end
end
end
end