Garry's Mod Wiki

DebugInfo

  DebugInfo( number slot, string info )

Description

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

Arguments

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