DNumberWang.GetValue
From GMod Wiki
| Function | |
| Syntax | Panel:GetValue( ) |
| Description: | |
| Returns the integer of DNumberWang. | |
| Returns: | integer Value |
| In Object: | Panel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DNumberWang.GetValue]DNumberWang.GetValue [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Returns the value select in a DNumberWang. |
|---|---|
| Used on | |
| Code | local Wang = vgui.Create( "DNumberWang" ) Wang:SetValue(51) print(Wang:GetValue()) |
| Output | Returns "51" in the console. |