Need help with Lobby system

Hi every one
Im just trying to set up a simple lobby system. When the host click on start all players in current lobby should be in the game.

I got this :
    public void OnClickStart()
    {
        if (!PhotonNetwork.isMasterClient)
           return;

        PhotonNetwork.LoadLevel(1);

    }
Do you know how to tell the server to start the game for all players in the current lobby ?

Comments

  • M4TTM4TT
    edited January 9
    So I found a solution
    I take this opportunity to ask if you know how what is the best way to set spawn.
    If there is 2 players in the game they will spawn like this
    If there is 4 players in the game they wil spawn like this etc...
Sign In or Register to comment.