Multiplayer problems (RPC confusion to be precise)

Options
I've been on working on a game for quite a while now, but yesterday I found a problem, where second player couldn't play on my server.

I know the exact problem and it is that I have two game modes, "DM" and "TDM" and I only set the game mode for client, which established the server.

How do I have to send this piece of code to other players?

Thanks for the help in advance!

Comments

  • vadim
    Options
    There are many ways to do so. Maybe most appropriate for game mode is use of room custom property which can be set or updated any time including before room creation. Property synchronized automatically between clients as soon as any client updated this property.