DNumPad.ButtonPressed
From GMod Wiki
| Function | |
| Syntax | NumPad:ButtonPressed( integer value, integer value ) |
| Description: | |
| Sets the value selected of DNumPad. | |
| Returns: | nil |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DNumPad.ButtonPressed]DNumPad.ButtonPressed [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the value selected of NumPad. |
|---|---|
| Used on | |
| Code | local NumPad = vgui.Create( "DNumberWang" ) NumPad:ButtonPressed(5, 5) |
| Output |