function sampev.onServerMessage(color, text)
local id, message = string.match(text,'Репорт от:.+%[(%d+)%]: (.*)')
if id ~= nil and message ~= nil then
for k, v in pairs(answers) do
if string.find(message, k) then
lua_thread.create(function()
wait(1000)
sampSendChat(string.format('/pm %s %s', id, v))
end)
end
end
end
end