By David Spicer
Former police officer Roger Rogerson killed student Jamie Gao two years ago during a drug deal gone wrong, his co-accused Glen McNamara has told a Sydney court.
McNamara and Rogerson, both former police officers, are on trial for the murder of the 20-year-old Sydney student.
The former detectives have both pleaded not guilty to killing Mr Gao at a storage shed in Padstow and dumping his body off the coast of Cronulla.
It is alleged the pair were involved in planning and carrying out Mr Gao's murder during a drug deal gone sour on May 20, 2014.
According to McNamara's barrister Kara Shead, it was Rogerson who shot Mr Gao before threatening her client and his family.
But Rogerson's barrister George Thomas has told the trial his client was not involved in the shooting and Mr Gao was already dead when Rogerson entered the storage unit.
McNamara on Thursday told the court Mr Gao pulled a knife on Rogerson inside thestorage unit during a heated argument.
"When he (Mr Gao) stood up directly in front of Rogerson and Rogerson shot him," Mr McNamara said in court.
"After the first shot he was splayed back," he added, demonstrating with his arms outstretched.
"He dropped the knife. Rogerson drew near but held aim.
Gao was moaning and he shot him again. I said 'why, why, why?'"
McNamara said he was hiding under a table when the shooting occurred.
Glen McNamara (R) has told court the victim pulled a knife on his co-accused during a heated argument.
'The triads have been chasing me all day'
McNamara said on the day of the shooting Rogerson had asked him to visit the storage unit to fix a door.
At one point McNamara said that he left to go to a local McDonald's where he met Mr Gao and later returned to the unit with him.
PHOTO: Roger Rogerson has pleaded not guilty to the murder of Jamie Gao. (AAP: Paul Miller)
"I said what happened. Mr Gao said the triads have been chasing me all day," McNamara said.
He told the court he then asked: "Why come to me?" and Mr Gao replied: "Roger told me so."
McNamara said he then asked: "Where is Roger?" and Mr Gao said: "He said he is supposed to be right behind us."
He said Rogerson arrived at the storage unit later.
McNamara has told the court he had "no idea" what the meeting with Mr Gao was about.
He said Rogerson told Mr Gao: "You were supposed to come to me you f***ing idiot."
"Gao said: 'Better to have a witness. Where is the money?'"
McNamara said that before the shooting Rogerson had asked Mr Gao for "the gear".
"Gao said: 'money first', Rogerson said: 'I want the gear'."
The trial continues.