if check == 2 then
if id == 2920 then
sampSendDialogResponse(id, 1, 3, -1)
step = 2
end
if id == 2931 and step == 2 then
FileWrite:write("\n".."\n".."---------------by-FlipSize-----------------".."\n".."\n"..text)
local tLines = split(text, "\n")
if tLines[#tLines]:find("{B0E73A}Вперед >>>", 1, true) then
sampAddChatMessage("<2>".." "..#tLines-3, -100)
sampSendDialogResponse(id, 1, #tLines-3, "Вперед >>>")
step = 2
if tLines[#tLines]:find("{B0E73A}Вперед >>>", 1, true) then
FileWrite:close()
check = 0
sampAddChatMessage("EBBBBBAAAAAAT", -400)
end
end
end
end