local sampev = require 'lib.samp.events'
function sampev.onShowDialog(id, style, title, b1, b2, text)
--[[
id - ID диалога
style - Стиль диалога
title - Заголовок диалога
b1, b2 - Кнопки диалога
text - Текст диалога
]]
sampAddChatMessage(text, -1)
end