How can i kill squirrel rodents if it is illegal to use an air rifle in my area?

Would a animal trap work? there is too many of these rodents and their eating my tomatoes. What are some other ways to kill them?
9 answers 9