DNotify.SetLife
From GMod Wiki
| Function | |
| Syntax | Panel:SetLife( integer Life ) |
| Description: | |
| Sets the display time of elements. | |
| Returns: | nil |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DNotify.SetLife]DNotify.SetLife [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Time in seconds display |
|---|---|
| Used on | |
| Code | local Label = vgui.Create( "DNotify" , DermaPanel) Label:SetLife(4) |
| Output | N/A |