Afghan police say unidentified gunmen in northwestern Pakistan have kidnapped an Afghan government advisor as he visited relatives in a border town .