local ev = require 'lib.samp.events'
function ev.onShowDialog(id, style, title, btn1, btn2, text)
--sampAddChatMessage(id, -1)
if id == 16252 then
str = text:match('Paspausk (%d)') --getting needed string
resp = 3 + tonumber(str) --i think dialog strings starts with 1 so...