Homeless people urged to use shelters after 5 killed