function sampev.onCreate3DText(id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text)
if id == 0 then -- ID твоего 3D текста сюда
testLOS = true -- Виден за объектами/стенами
return { id, color, position, distance, testLOS, attachedPlayerId, attachedVehicleId, text } -- Применить изменения
end
end