I think he's criticizing his attitude which is fair play, he should be setting a better example to the younger players around him. There are ways to go about things, if you want to leave submit a written transfer request and continue with your head down and do your best.
Alan Smith is in no position to question anyone's attitude or performance on the pitch.