local playerPed = PlayerPedId()
local interiorId = GetInteriorFromEntity(playerPed)
if interiorId ~= 0 then
local minX, minY, minZ, maxX, maxY, maxZ = GetInteriorEntitiesExtents(interiorId, roomId)
print("current entities extents is: " .. vec(minX, minY, minZ) .." / " .. vec(maxX, maxY, maxZ))
end