Pacheco, 33, was with a group of friends chatting in a petrol station when an unknown assailant shot at the group various times, authorities said. Two other people were injured and were taken to a nearby hospital in the city of Santa Ana, west of the capital San Salvador.
"The attorney general's office in Santa Ana processed the crime scene of the murder of Alfredo Pacheco at 3.30 am in a petrol station," it said.
Pacheco was a defender who played for the Salvadoran clubs Club Deportivo FAS and Asociacion Deportiva Isidro Metapan. He also played for the New York Red Bulls in the United States.
Pacheco was the player with the most caps for the Salvadoran national team. He was banned from the sport by the Salvadoran football federation in 2013 when it was found he had been involved in match fixing.
News that makes sense
Your trusted source for staying up-to-date with the world around you. Get free daily news updates and analysis, straight to your inbox.
El Salvador has seen its murder rate skyrocket this year, with homicides up 55 percent compared with last year. So far this year, there have been 6,068 murders, according to police data.
(Reporting by Nelson Renteria; Editing by Diane Craft)
