From Garry's Mod
Returns the name of the currently running gamemode.
This will return the incorrect gamemode name on the client if used too early.
Issue Tracker: #1988
The active gamemode's name. This is the name of the gamemode's folder.
Prints out the name of the active gamemode.
print( engine.ActiveGamemode() )