DModelPanel.GetEntity

From GMod Wiki

Jump to: navigation, search
Function
Syntax DModelPanel.GetEntity( )
Description:
Gets the entity used to draw the panel
Returns: Entity
In Object: DModelPanel
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DModelPanel.GetEntity]DModelPanel.GetEntity [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGets the entity used to draw the panel
Used onNewerClient.png
Code
local DModelPanel = vgui.Create( "DModelPanel" )
PrintTable(DModelPanel:GetEntity())
OutputReturns "Entity" in the console.


Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox