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.
Belgian footballer Mertens dies after collapsing on pitch
"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 soccer federation in 2013 when it was found he had been involved in match fixing.
Soccer match in Berlin ends in brawl amid anti-Muslim and anti-Semitic insults
El Salvador has seen its murder rate skyrocket this year, with homicides up 55 per cent compared with last year. So far this year, there have been 6,068 murders, according to police data.
COMMENTS
Comments are moderated and generally will be posted if they are on-topic and not abusive.
For more information, please see our Comments FAQ