A driver who got behind the wheel after taking a mixture of drugs has been warned it is his last chance to turn his life around.