A young man facing two murder charges allegedly accidentally shot and killed his friend on a suburban street in Melbourne's north before turning the gun on a father of two over a suspected marijuana deal gone wrong.

Homicide detectives charged the 23-year-old Norden Wilio on Tuesday over the deaths of Ali Ali, 28, and Deniz Hasan, 40, in Meadow Heights on March 4.

Deniz Hasan, one of two victims shot dead in Meadow Heights.

The alleged gunman went with his friend Mr Ali to meet Mr Hasan over the suspected marijuana deal, it is understood.

A struggle broke out, The Age has been told, before the alleged gunman accidentally shot Mr Ali and then turned the gun on Mr Hasan.