GrahamS, yep, that bit is about getting drugs, but the song is about how he doesn’t want that in his life any more, and how his music and bandmates rescued him from it.
Actually Kiedis said that the song was written about how he felt distant from his bandmates, because he was trying to get completely clean of drugs due to the death of the RHCP’s original guitarist, but they were still doing weed so he felt that he was no longer as close to them.
The song deals with his misery and isolation, and how he feels more kinship with the city of LA than with other human beings (hence the It’s hard to believe that there’s nobody out there/It’s hard to believe that I’m all alone/Atleast I have her love, the city, she loves me/Lonely as I am, together we cry), whilst also touching on his past as an addict and the depths he stooped to (such as going into gang territory to try and get a fix).
Incidentally he fell off the wagon was back on smack four years after that song was written. Doh!