Please don't think you're responsible for the person's suicide---because you are not.
Almost 20 years ago, a good friend of mine killed herself. She made many attempts over the previous 20 years, and admitted that she was just making the attempts "for attention."'
I induced her to vomit once, and I listened to her plenty of times. She didn't really appreciate my efforts, for she made abusive and threatening crank calls to my mother and I for years. After a while, I stopped responding to her, because of the abuse, and because my advice fell on deaf ears.
The last time she called me, she seemed sincere. I tried to listen to her--but I was probably cold, because of our history. A couple of weeks after that call, she took an overdose and died. In a way, I felt responsible (because of my coldness); but, in reality, I wasn't responsible---because she was the one who did this to herself, and I didn't encourage her to perform that action.