A man was given a suspended jail sentence after admitting child sex offenses following an incident involving a drone at a Salisbury.