Hi,
Thank you for your answer, unfortunately I did not find IsLocallyControlled() using c++, I found it can be used with blueprint.
In C++ i found GetWorld()->GetFirstPlayerController()->IsLocalController() and GetWorld()->GetFirstPlayerController()->IsLocalPlayerController(), but they did not give me the result i was expecting