Include pxvehicletankdrive.h

Well that makes sense to me. Why did you create a blueprint that inherits from APawn? Why didn’t you create a blueprint that inherits from your custom class you just created? If you do that it will probably work.