DModelPanel.GetEntity
From GMod Wiki
| Function | |
| Syntax | DModelPanel.GetEntity( ) |
| Description: | |
| Gets the entity used to draw the panel | |
| Returns: | Entity |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetEntity]DModelPanel.GetEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Gets the entity used to draw the panel |
|---|---|
| Used on | |
| Code | local DModelPanel = vgui.Create( "DModelPanel" ) PrintTable(DModelPanel:GetEntity()) |
| Output | Returns "Entity" in the console. |