I asked him/her
Cuando le pregunté, él estaba ocupado trabajando.
When I asked him, he was busy working.
Le pregunté cuál era su nombre.
I asked her what her name was.
Le pregunté por qué estaba tan triste.
I asked him why he was so sad.
I asked him his name.
Le pregunté al chico del mostrador si tenían el libro que buscaba.
I asked the guy at the counter if they had the book I was looking for.
I didn't ask him that.
Le pregunté directamente si quería tener sexo conmigo.
I asked her directly if she wanted to have sex with me.
I asked her why she was crying.
I asked him.
That's not what I asked him.