This is a zombie thread, but with recent replies.
Charlotte, FWIW, using shame as a motivator for your child to change her behavior isn't the best idea. Maybe you could 1) Ask your daughter why she does this, and 2) Tell her she needs to stop. Not b/c other's will not want to play with her, but b/c you told her to. You might need to remind her, but if you've established a relationship of respect with her, she'll get it..it just takes time for kids that age to learn some awareness and then some self control.