Shots were fired at a car in Merrylands on Sunday.
Police said the shots were fired in Montrose Avenue at about midday.
They said two men drove a car to the street to meet some other men.
Police believe the group confronted them before shots were fired at their vehicle.
No one was hurt, but they fled the scene.
Police are investigating and urged anyone with any information to contact Rosehill detectives on 9897 4199 or Crime Stoppers on 1800 333 000.