Can anyone help me please?

Hello !

I tried everything, still cannot make my code working again after using ActorThatOpens = GetWorld()->GetPlayerController()->GetPawn();

PLEASE HELP ME !!

Kind regards,
Konstantin

1 Like

hi, i think its GetFirstPlayerController(); try it this way
if it didnt work either include these to yr header
#include “Engine/World.h”
#include “GameFramework/PlayerController.h”

2 Likes

Thank you so much !

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms