local sampev = require 'lib.samp.events'
function sampev.onCreate3DText(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text)
if text:find("{cccccc}Бочка с нефтью\nВладелец: {31B404}.+\nУдерживайте по бочке 'ПКМ' или пальцем") then
local text1, name, text2 = text:match("({cccccc}Бочка с нефтью\nВладелец: )({31B404}.+)(\nУдерживайте по бочке 'ПКМ' или пальцем)")
return {id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, name}
end
end