Garry's Mod Wiki

Garry's Mod Wiki

Description

Used for draw.Text.

Members

string text
Text to be drawn.
string font
The font to draw with. List of default fonts can be found here.

Default: "DermaDefault"

table pos
This holds the X and Y coordinates. Key value 1 is x, key value 2 is y.
number with TEXT_ALIGN enum xalign
The alignment of the X position. See TEXT_ALIGN enum

Default: TEXT_ALIGN_LEFT

number with TEXT_ALIGN enum yalign
The alignment of the Y position. See TEXT_ALIGN enum

Default: TEXT_ALIGN_TOP

Color color
The text color

Default: color_white

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...