Residents warned that setting off fireworks is illegal