G.Label
From GMod Wiki
| Function | |
| Syntax |
Label( String strText Panel parent ) Where is this used? |
| Description: | |
| Creates a DLabel object. | |
| Returns: | DLabel |
| Part of Library: | Global Functions |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.Label]G.Label [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Example
| Description | Create a label |
|---|---|
| Used on | |
| Code | local lbl = Label( "This is a label!", frame) lbl:SetTextColor( color_white ) |
| Output |