English Translation
I told him, but he didn’t pay attention.
“se” in this context takes on the meaning of “le” (to him).
In a nutshell, when “le” and “lo” are combined, “le” changes to “se” as is the case in this sentence. See this topic for a more detailed explanation.