Somewhere Timbaland is kicking up his feet and laughing. LOL. Famed producer Scott Storch was arrested last week in Las Vegas for possession of cocaine. Smh! Get the full details below.

Marisa Mendez

According to law enforcement, Storch was arrested at a Vegas hotel around 8:30 AM on Feb. 4.

Sources tell us … the arrest went down after an employee called police to complain that Storch wouldn’t pay for his room.

When cops arrived to the scene, we’re told officers discovered Storch was in possession of cocaine. Storch was hauled to a nearby police station … where he was released on $5k bond.

Storch — who has worked with stars like Beyoncé, 50 Cent, Dr. Dre, Snoop, Pink and more — famously blew a $30 million fortune after getting hooked on drugs back in 2006. He eventually checked into rehab and has been working on his recovery ever since.

Scott was out in L.A. this weekend acting like nothing ever happened, casually joking about one of his former artists, Brooke Hogan, while smoking a cigar.

10:38 AM PST UPDATE– Storch tried to hide a baggy of cocaine in a trash can at the Cosmopolitan Hotel in Vegas before cops arrived … this according to the police report, obtained by TMZ.

In the report, the arresting officer says cops fished out the baggy after receiving a tip from hotel security … and discovered it contained 2.7 grams of blow.

TMZ