How get Client side another Pawn on Multiplayer?

I have two client and one server,I want to get the replication pawn in the client,For example, I released a skill, the other players pulled me in the vicinity,So I want to get this object and set his position。Has anyone tried it?

i use APawn* ServerPawn = UGameplayStatics::GetPlayerPawn(GetWorld(), 1);but it is null ,Is there any other way?