Except in a lot of wild west towns there were stricter gun laws than we have now. Most had to check there firearms at the sheriffs office when entering town.
In return, the sheriff and his deputies guaranteed your safety while in the town.
What police force does that today?
The argument is a red herring and has little relevance in today's world. It's also often preached by the left but historically not accurate. There were some towns with check-in ordinances (Ft. Worth, Dodge and Tombstone) comes to mind but the Left loves to claim "many, or almost all" which is not true. People were carrying guns in every area of the country including the cities back east. The Left loves to say and write about no-carry laws and always blames conservatives fantasies of the Wild West when they are questioned about it.
Roger McGrath on the History Channel has studied crime rates from available documentation, and found that the Wild West was more civilized than today.
Open carry in the United States - Wikipedia, the free encyclopedia
Open carry was common during the pioneer era and in the American Old West. According to UCLA historian Dr. Roger McGrath in his book Guns, Highwaymen and Vigilantes: Violence in the Old West (1984), the rates of murder, robbery, rape, and other assorted violent crimes were far lower than they are today, and McGrath attributes those lower rates directly to the open carry of firearms.
In the book McGrath states that "the young, the old, and the female—those most vulnerable—were far safer in the most wild and wooly frontier towns than they are in any American city today," because "people had arms, knew how to use them, and were willing to fight with deadly force to protect their persons or property."
There is also a book about citizens in the Old West fighting against gangs of criminals:
[ame=http://www.amazon.com/Outgunned-Stories-Citizens-Stood-Outlaws/dp/158182386X/ref=sr_1_1/002-6333805-1916814?ie=UTF8&s=books&qid=1178719111&sr=1-1]Outgunned!: True Stories of Citizens Who Stood Up to Outlaws-And Won: Robert A Waters, John T Waters: 9781581823868: Amazon.com: Books[/ame]
It's a classic story from hundreds of western shoot-'em-ups: a gang of outlaws rides into town, terrorizes local citizens, and finally meets their match when the heroic sheriff appears. In real life, it was different. Some of the most notorious western outlaws were killed or captured by townspeople. And the trend continued throughout the Prohibition era.
Outgunned! True Stories of Citizens Who Stood Up to Outlaws-and Won describes a dozen such cases. There's Jesse James, whose gang was decimated by armed citizens while the James-Younger Gang was attempting to rob a bank in Northfield, Minnesota. There's Tom Horn, assassin for the Wyoming cattle barons, who was shot by citizens during an ill-fated jailbreak. And there's George Birdwell, "Pretty Boy" Floyd's chief lieutenant; he and his partners were gunned down by outraged townspeople as they attempted to hold up a bank in the all-black town of Boley, Oklahoma. There's the notorious Dalton gang that entered Coffeyville, Kansas, one cold fall morning in 1892 and attempted to rob two banks at the same time; four of the outlaws were killed by armed citizens. Then there¹s Anthony Chebatoris, a Prohibition-era socialist who, after murdering an innocent bystander during an attempted bank robbery in Midland, Michigan, was shot by a dentist who kept a hunting rifle in his office.
Outgunned! True Stories of Citizens Who Stood Up to Outlaws-and Won is the first book to systematically describe cases of American citizens protecting themselves against criminals. All are documented in contemporary writings or by noted historians. In some cases, new information has been located and incorporated into the book. Many books romanticize outlaws or lawmen, but until now the role of townspeople who banded together to save themselves and their neighbors has been given little more than passing interest.