How to properly set variable in gamestate?

ive come across the following problem:
i have a array of a struct holding also the players names in gamestate. to change the name a client can call a event, that is run on the server. this changes the array element for the name.
but i can only run it from the listen server. the client does nothing :frowning:

the reason for that was that i tried to call that from an ui widget. those are owned by the client. i now call an event in the playerontroller which then changes the name. and it works.

that was indeed my problem but i could solve it by calling the server event from the playercontroller. not from the widget. (it still comes from the widget, but goes to playercontroller first)