Send Integer to server

Options
Hello,

I have a game that contains multiple terrains. Once a user creates a room, a random Integer will be created, based on this number a terrain will be loaded. I want for whoever joins the room next to get the same Integer that was randomly created for the first user so both users will share/view the same terrain.

Thank you

Comments

  • vadim
    Options
    Hi,

    Use room custom properties. You can put integer into these properties when calling CreateRoom or any time later while room exists.