A city may by ordinance regulate, restrict, or prohibit the sale, possession or use within the city of pellet guns or any other mechanism or device designed or used to project a missile by compressed air or mechanical action with less than deadly force.
N.C. Gen. Stat. § 160A-190