I was hanging out and drinking as long as I could afford it,...
I was hanging out and drinking as long as I could afford it, or as long as somebody else could afford it.
I was hanging out and drinking as long as I could afford it, or as long as somebody else could afford it.