A magistrate has blasted NRL star Ezra Mam for driving on a cocktail of drugs including cocaine, saying he is lucky no one was killed in a head-on collision.