Well Frank Alexander stated that while in Italy Pac popped two pills at a nightclub one nite, I have to guess that he did use coke not crack occasionaly. It is commonly refered to as the "rich man" drugs it's well known a lot of celebritys are highly addicted and or frequent user's.
When you have the spotlight in your face, you need something like a drug or alcohol to escape the world. Being around Death Row at the time I really doubt Pac could have strayed away from the drug.
But if he did or didn't it doesn't really matter he was a legend not matter what he did in his private life.