If you’re riding dirty, make sure you follow the rules of the road.

Mozzy found that out the hard way after he was busted with an illegal weapon following a traffic stop in Las Vegas Thursday night.

The Sacramento emcee was driving his Maserati with no license plates and failed to signal during a lane change. To make things worse, Mozzy didn’t have a driver’s license. After a search of the vehicle, the cops found a loaded Glock handgun in a black book bag.

Being a felon caught with an illegal gun is a bigger problem for Mozzy, with a 2014 conviction for gun possession and possession of a controlled substance. He’s now facing charges for possession of an illegal weapon by a felon.

The rapper was released after posting $5k bail.