The only reason Pakistan has accepted China because of India. If China has joined India, Pakistan would have seen China as enemy too. History of Pakistan and USSR is reminder that made USSR pay big price for supporting India in 1971.
Nothing to do with Pakistan being pawn of China and if anything, China is just helping Pakistan to achieve their desirable target; India. Whereas India is literally pawn of every nations. India thinks they are excelling in foreign policy while in reality they are being squeezed out of their money like their resources captured by the invading armies for centuries.
That's why India is not respected nation whereas Pakistan learns how to give proper reply given the history between Pakistan-USSR which is on the record.