on the controler, override the method on playerControler " virtual void ClientRestart_Implementation(class APawn* NewPawn) override;" ( and get pawn + cast to your pawn class and call it from there )
on the controler, override the method on playerControler " virtual void ClientRestart_Implementation(class APawn* NewPawn) override;" ( and get pawn + cast to your pawn class and call it from there )