debugoverlay.ScreenText

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

Contents

Description

Displays text triangle at the specified coordinates.

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

Arguments

number x

The position of the text, from 0 ( left ) to 1 ( right ).

Arguments

number y

The position of the text, from 0 ( top ) to 1 ( bottom ).

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