$x \rightarrow c$ and $x\rightarrow \infty$ aren't quite the same thing though they are very similar.
$x \rightarrow c$ means "$x$ gets very close to $c$" or more technically: For an arbitrarily small $\delta > 0$, $|x - c| < \delta$.
$x\rightarrow \infty$ doesn't mean "$x$ gets very close to infinity". "infinity" isn't a value anything can get "close" to. $x\rightarrow \infty$ means $x$ gets very large" of more technically: For an arbitrarily large $N$, $x > N$.
These differences are reflected in how we do $\lim_{x\rightarrow\{c, \infty} f(x) = \{k, \infty\}$.
1) $\lim_{x\rightarrow c} f(x) = k$ means: For every $\epsilon > 0$ there exists a $\delta > 0$ so that $|x-c| < \delta \implies |f(x) - k |< \epsilon$.
2) $\lim_{x\rightarrow c} f(x) = \infty$ means: For every $N$ there exists a $\delta > 0$ so that $|x-c| < \delta \implies f(x) > N$.
3) $\lim_{x\rightarrow \infty} f(x) = c$ (this is the one you want) means: For every $\epsilon > 0$ there exists an $M$ so that $x > M \implies |f(x) - k |< \epsilon$.
4) $\lim_{x\rightarrow \infty} f(x) =\infty$ means: For every $N$ there exists a an $M$ so that $x > M \implies f(x) > N$.
So in your case you want to find an $M$ (in terms of $\epsilon$) so that $n > M \implies |\frac{i}n - 0| < \epsilon$. Hint: use $M \ge \frac 1 \epsilon$.