by Free Britney at

Troubled hip-hopper Lil Scrappy says he is addicted to marijuana, and having failed a urine test, will be checking into rehab to deal with that.

Lil Scrappy Mug Shot

Scraps appeared in a Georgia courtroom Wednesday, where officials revealed a urine test that he took last week - and came back positive for marijuana.

His lawyer, Mawuli Mel Davis, says his client acknowledges that he's still using pot and will check into a rehab facility before his next hearing in June.

The rapper was arrested for violating his probation back in March ... after a dispute over a different urine test. We are sensing a bit of a pattern here.

Officials say that Scrappy tried to turn in a urine sample that was cold - a sign of possible tampering - then refused to make another "submission" on the spot.

Maybe he was just dehydrated?

Tags: ,