Pills shaped like popular gaming characters have sparked an urgent warning from health authorities in NSW.