garrynewman/garrysmod — pull request #251 by samuelmaddock (2013-04-14 07:37:15+00:00)
Title: Start New Game remembers selected number of players

I used HTML5 localStorage to remember the selected player count. This was the best I could think of for saving the value from JavaScript. If you don't like this implementation, I could try to add some Lua callbacks instead, but that would likely be much more complicated.