DNotify.SetLife

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:SetLife( integer Life )
Description:
Sets the display time of elements.
Returns: nil
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNotify.SetLife]DNotify.SetLife [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionTime in seconds display
Used onNewerClient.png
Code
local Label = vgui.Create( "DNotify" , DermaPanel)
 
Label:SetLife(4)
 
OutputN/A
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox