Ice cream vendors in Stockton will soon be restricted to selling only food or beverages.

On Tuesday night the city council voted 7-0 to limit ice cream trucks to the sale of frozen treats. They are also no longer to sell after dark. The move came after some vendors were found selling items such as plastic toy guns, some of which looked real. Some children bought the toys and took them to school. One student was suspended.

A Stockton mother became angry about the toy gun sales and pushed for the ordinance. "Parents didn't know what they were buying on their way to school," said Beverly Foster. "I wanted to stop it. I think this will stop it."

The ordinance also requires trucks to be free of peeling paint and obvious scratches. Truck owners will also have to pay a fee to play music from the trucks.

The ordinance takes effect in 30 days.

(This story was provided by News10 KXTV Sacramento.)

You may not have everything you need to hear this story. Please enableJavascript or view our site requirements.