Use the diode tester on your multimeter. If you put the anode on the base, the emitter and collector should conduct it it's an NPN transistor but won't on a PNP transistor. If you put the cathode on the base, the emitter and collector should conduct if it's a PNP transistor but it won't if it's an NPN transistor.