I am starting to add multiplayer to my prototype and wanted to try a little around so I fired up a new C++ ThirdPersonTemplate and just wanted to mess around a little. The first thing I tried was printing a text if I am playing on the Server so I added the Tick() function to the C++ character and this 2 lines of code
if(HasAuthority()) GEngine->AddOnScreenDebugMessage(-1, 5.f, FColor::Red, TEXT("Test"));
I didnt change anything else but the message is printed on both Client and Server and I can’t figure out why.
Ok am I missing something here. If I add those line in any other function then the Tick() function it’s working. But why?