How do I get a debug message to show on only one screen in a multiplayer game?

This didn’t work for me. All the messages showed up on all of the players still. I did use this right:
if (IsLocallyControlled()){
GEngine->AddOnScreenDebugMessage(-1, 300.f, FColor::Blue, TEXT(“Blue”));
}