DNotify.GetLife
From GMod Wiki
Function | |
Syntax | Panel:GetLife( ) |
Description: | |
Returns the value to GetLife(). | |
Returns: | Integer Life |
In Object: | Panel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DNotify.GetLife]DNotify.GetLife [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Returns the string typed in a DNotify. |
---|---|
Used on | |
Code | local Label = vgui.Create( "DNotify" , DermaPanel) Label:SetLife(4) print(Label:GetLife()) |
Output | "4" |