Advertisement
Guest User

Untitled

a guest
Aug 1st, 2017
1,599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. if (Actor->GetNetDriver())
  2.         {
  3.             for (UNetConnection* Connection : Actor->GetNetDriver()->ClientConnections)
  4.             {
  5.                 UActorChannel* Channel = Connection->ActorChannels.FindRef(Actor);
  6.                 if (Channel != nullptr)
  7.                     Channel->ReplicateActor();
  8.             }
  9.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement