If you reside in Dubai, and your Pakistani passport is about to expire, then you need to pay a visit sooner to the Pakistan consulate in Dubai, in order to renew your Passport.In this article, I'll share with you, the details and procedure of Pakistani Passport renewal in Dubai. Needless to say that this is based on my personal experience :)Pakistan Consulate General, Dubai is based in Umm-Hurair locality (Bur Dubai) in Dubai. (See the consulate location here)
There is RTA (paid) parking available beside the Consulate. It's a B-Category Lot parking, so 1-hour parking will cost you 3 Dirhams.