Garry's Mod Wiki

debugoverlay.EntityTextAtPosition

void debugoverlay.EntityTextAtPosition( Vector pos, number line, string text, number lifetime = 1, table color = Color( 255, 255, 255 ) )

Description

Displays 2D text at the specified coordinates.

This function will silently fail if the developer ConVar is set to 0.

Arguments

1 Vector pos
The position in 3D to display the text.
2 number line
Line of text, will offset text on the to display the new line unobstructed
3 string text
The text to display
4 number lifetime = 1
Number of seconds to appear
5 table color = Color( 255, 255, 255 )
The color of the box. Uses the Color

Page Links


Special Pages


Wikis

?

Render Time: 28ms

Session 0
DB GetPage 3
Generate Html 2
SaveChanges 9
Render Body 0
Render Sidebar 12