DNotify.GetLife

From GMod Wiki

Jump to: navigation, search
Function
Syntax Panel:GetLife( )
Description:
Returns the value to GetLife().
Returns: Integer Life
In Object: Panel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DNotify.GetLife]DNotify.GetLife [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns the string typed in a DNotify.
Used onNewerClient.png
Code
local Label = vgui.Create( "DNotify" , DermaPanel)
Label:SetLife(4)
 
print(Label:GetLife())
Output"4"
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox