function onServerMessage(color, text)
local _, _, amount = string.find(text, "(.-)%((%d+) шт.\\\\)")
if amount and text:match("%f[%a]обрез%f[^%a]") then
sampAddChatMessage("[info] Получено " .. tonumber(amount) .. " обрезов", color)
return false
end
end