I have been away from Garry's Mod for quite a while now, and my old gamemode code is obviously broken.
So I decided to rewrite everything from scratch and relearning lua. However I'm having some problems with finding documentation...

I started with the second link under gamemodes in the wiki "Gamemodes from scratch".
And I only got to the first part of the tutorial (right before the team menu) and I already have errors.

So I would really like to know where I could find up to date documentation and/or code samples?