Hard to tell given only these pieces of code…
Change GetPlayerPawn to GetPlayerController, and your input as well, then get the PlayerState from it
Hard to tell given only these pieces of code…
Change GetPlayerPawn to GetPlayerController, and your input as well, then get the PlayerState from it