local notf = import 'imgui_notf.lua'
local sampev = require 'lib.samp.events'
function sampev.onServerMessage(color, text)
if text:find('^%s*.+%[%d+%] говорит: Привет') then
name, id = text:match('^%s*(.+)%[(%d+)%] говорит: Привет')
if notf then
notf.addNotification(string.format("Игрок: "..name..'['..id..']', 228, os.date()), 5)
end
end
end