Garry's Mod Wiki


  DebugInfo( number slot, string info )


Writes text to the right hand side of the screen, like the old error system. Messages disappear after a couple of seconds.


1 number slot
The location on the right hand screen to write the debug info to. Starts at 0, no upper limit
2 string info
The debugging information to be written to the screen