TTT Custom groups?

Can I implement custom groups in the TTT game mode? Like the three groups are: Detective, Traitor, and Innocent. Can I add my own group somehow?

They’re called roles, and you’ll have to edit the core of the gamemode. It won’t be easy.

Does anyone have a tutorial or something to do it? Has anyone ever done it before?

That’s not a tutorial, nor is it helpful. Probably check out http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index7a06.html

that’s the outdated version, but I prefer it more, updated version is at wiki.garrysmod.com