sounds as if there was a ENTITY player definition somewhere in your code. that's weird, because player is defined as ENTITY*. honestly, i have no clue but would try to change ENTITY* player to ENTITY* myplayer and player = me to myplayer = my and replace player by myplayer.