function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if dialogId == 0 then
return false
end
end
-- 2 вариант
function sampev.onShowDialog(dialogId, style, title, button1, button2, text)
if dialogId == 0 then
sampSendDialogResponse(dialogId,0,-1,-1)
end
end