Just use #include “GameFramework/PlayerState.h”
And than GetPlayerState() will work normal.
Correct include is important. I was in same situation.
P.S.: Sorry for my English. I hope than can help you
Just use #include “GameFramework/PlayerState.h”
And than GetPlayerState() will work normal.
Correct include is important. I was in same situation.
P.S.: Sorry for my English. I hope than can help you