Hammer was booked and released from Santa Rita Jail in Dublin, CA after he was popped for obstructing an officer in the performance of their duties and resisting an officer.
But Hammer went on Twitter this morning and his version of events is shocking. He claims the encounter started when a cop tapped on his car window and asked him, "Are you on parole or probation?"
Hammer thought it was all a joke until "he pulled out his guns, blew his whistle and yelled for help."
Hammer summed it all up by saying, "only thing more dangerous than a scared man with a gun, is a scared man with an agenda, a gun and a badge. I was citied for obstruction smh."
TMZ reached out to the Dublin PD for comment ... we're yet to hear back.