Garry's Mod Wiki

debugoverlay.ScreenText

debugoverlay.ScreenText( number x, number y, string text, number lifetime = 1, table color = Color( 255, 255, 255 ) )

Description

Displays text triangle at the specified coordinates.

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

Arguments

1 number x
The position of the text, from 0 ( left ) to 1 ( right ).
2 number y
The position of the text, from 0 ( top ) to 1 ( bottom ).
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: 40ms

DB GetPage 4
Generate Html 12
SaveChanges (1) 8
Render Body 0
Render Sidebar 13