Garry's Mod Wiki


  debugoverlay.Text( Vector origin, string text, number lifetime = 1, boolean viewCheck = false )


Displays text at the specified position.

This function will silently fail if the developer ConVar is set to 0. It is not networked to clients, except for the listen server host.


1 Vector origin
Position origin
2 string text
String message to display
3 number lifetime = 1
Number of seconds to appear
4 boolean viewCheck = false
Clip text that is obscured