While filming the N.W.A. film Straight Outta Compton, there was a drive-by shooting right in front of the crew. Eyewitnesses told TMZ that the gunfire went off outside the Compton Courthouse last week when some neighborhood guys flashed gang signs at a passing car. 

Luckily, only one nearby civilian was hit and collapsed on the set BUT survived. The L.A. County Sheriff's Dept told them the shooting is under investigation.

They have not yet determined if it was gang-related. Even though many of the cast members and staff were shaken, they will continue filming this week in a rough area of Compton.

Salute: TMZ