A South Carolina man has been sentenced to prison for a deadly shooting outside a bar.