Clean way to get variables from game instance to server?

Hey all,

iam trying to get a simple integer from the game instance to the game server when/after loading the main level. But it seems like iam doing something fundamentally wrong (i guess) because nothing i have tried works. The player- /gamestate is not valid on clients or the function iam trying to get the value simply doesn’t execute for some reason so nothing happens at all. Or i get a value but from the wrong gameinstance.
Is there a simple way of getting an integer (or any other information) from all clients game instances to the gamemode/gamestate?

Thanks for any input iam lost since a week now!
M

Closing this for now. I studied the network compodium from Alex Neukirchen and figured out i called some events on the wrong side (gameinstance on server side for example). Now it works as expected.