Getting PlayerState on Server

Hello, I want to get PlayerState in BeginPlay. I saw in forums, PlayerStates replicate time is depends on internet connection so we shouldn’t use delay in BeginPlay. But there’s a function called OnRep_PlayerState and it’s triggered whenever PlayerState is changed. But it triggers only on clients. I need to take PlayerState on server in guaranteed. I don’t want to use delay or looped timer event. How can approach this problem? Anyone has any ideas?

You don’t have to wait on server. Player State always exist on server. its only for client where you have to use OnRep_PlayerState.