S&box Wiki

Revision Difference

multi-run#547617

<cat>Code.Game</cat>⤶ <title>Running multiple instances of the game</title>⤶ ⤶ # Running multiple instances of the game⤶ ⤶ You can run multiple instances of the game to test multiplayer features without the need for other users.⤶ ⤶ - To do this, the game hosting a server needs to run `sv_lan 1`.⤶ - Any other client needs to open the game console using either the [backtick/tilde key](https://en.wikipedia.org/wiki/Backtick) or by pressing `F1` while running in the editor.⤶ - Then simply type `connect localhost` and you'll connect to the server on both clients.⤶ ⤶ ⤶ # Things to note⤶ ⤶ - Your Name, Steam ID, etc will be the same, and you can't work around that currently / by design.⤶