NRL star Ezra Mam has been been told he is lucky no one was killed after his "stupid" decision to drive unlicensed on a cocktail of drugs, including cocaine.