if id == 1429 then
local i = 0
for line in text:gmatch("[^\n]+") do
i = i + 1
if line:find('Открыть') then
sampSendDialogResponse(id, 1, i-1, '')
return false
end
end
end
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter