G.Label

From GMod Wiki

Jump to: navigation, search
Function
Syntax Label( String strText Panel parent )
Where is this used?
Description:
Creates a DLabel object.
Returns: DLabel
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.Label]G.Label [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Example

DescriptionCreate a label
Used onNewerClient.png
Code
local lbl = Label( "This is a label!", frame)
lbl:SetTextColor( color_white )
Output
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox