when Smith says "I" he means Smith, and when Jones says "I" he means Jones. Once this is clear, we can see that the sentence "I have a toothache" expresses a different proposition when Smith utters it from when Jones utters it. And since it expresses two different propositions, it is no surprise that one of these propositions is true and the other false.