The man charged with murder said the victim was his friend and claimed the shooting was accidental, warrants show.