# Getting PlayerState on Server

**URL:** <https://forums.unrealengine.com/t/getting-playerstate-on-server/481025>\
**Category:** Character & Animation\
**Tags:** playerstate, unreal-engine, question\
**Created:** [March 29, 2021, 2:36am UTC](https://forums.unrealengine.com/t/getting-playerstate-on-server/481025 "2021-03-29T02:36:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anoberia](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/anoberia/32/590142_2.png) [@Anoberia](https://forums.unrealengine.com/u/Anoberia)\
**Post date:** [March 29, 2021, 2:36am UTC](https://forums.unrealengine.com/t/getting-playerstate-on-server/481025/1 "2021-03-29T02:36:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![KuroPhoenix7](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@KuroPhoenix7](https://forums.unrealengine.com/u/KuroPhoenix7)\
**Post date:** [March 29, 2021, 11:26am UTC](https://forums.unrealengine.com/t/getting-playerstate-on-server/481025/2 "2021-03-29T11:26:52Z")

</div>

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.
