How can I become a pilot in Tanzania?
I don't really know how civilian or military pilot training takes place in Tanzania, but I might recommend that you make a visit to a fixed base operator at a local airport there in Tanzania and talk with the staff about flight training.  They may be able to assist your further on that path.

A basic Google Search for Flight Training in Tanzania turned up this place.  I don't know how close you are to Dar es Salaam, but they do have a private flight school out there and could better assist you.

As for scholarships for flight training, check these guys out.

Oh, and these guys as well.

Good Luck with your training.