How to deal with my friend who is an addict

She's becoming an asshole. Me and my other friend are being strong and preventing her from doing stuff. But I'm tired. She just wants to kill herself. I can't help someone who doesn't want to help themselves. I need strength. I need cheat codes but I know there isn't any. What did a friend say that helped you?