debugoverlay.EntityTextAtPosition

From Garry's Mod
Jump to: navigation, search
 debugoverlay.EntityTextAtPosition( )

Contents

Description

Displays 2D text at the specified coordinates.

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

Arguments

Vector pos

The position in 3D to display the text.

Arguments

number line

Line of text, will offset text on the to display the new line unobstructed

Arguments

string text

The text to display

Arguments

number lifetime=1

Number of seconds to appear

Arguments

table color=Color( 255, 255, 255 )

The color of the box. Uses the Color structure
Personal tools
Navigation