This is a P-64 which was made by North American so it has some similar looks, but a completely different plane.
Wrong, anybody familiar with that plane can tell you it shares a large number of parts. It is in fact a T-6 with a turtle deck, shorter wings, and larger engine. Not an entirely differant airplane. The stock T-6 had the capability of using real guns and needed no modification, just the installation of the guns. However it is not really good for anything much above training with guns, though used as an attack aircraft in some contries it was a poor choice. The P-64 and NA-50 are the same plane and is considered the combat version of the T-6, a T-6 with guns is not actually good for combat, too slow and underpowered.