you can't do

NULL!=player

you should

player!=NULL


3333333333