Function to add weapon to hardpoint.