The chief of police shall have the right and privilege to permit the use of such necessary firearms and other types of guns, provided that a written permit is obtained from the chief of police that is limited to certain hours and certain days specified therein for the express purpose to kill birds, squirrels, rabbits, and other predatory animals and the like that are deemed by the chief of police to be a nuisance to the person or property of the residents and citizens of the city.