DModelPanel.SetColor
From GMod Wiki
| Function | |
| Syntax | DModelPanel.SetColor( Color ModelColor ) |
| Description: | |
| Sets the color of the model in the panel | |
| Returns: | nil |
| In Object: | DModelPanel |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetColor]DModelPanel.SetColor [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Sets the color of the model in the panel. |
|---|---|
| Used on | |
| Code | DModelPanel = vgui.Create("DModelPanel") DModelPanel:SetColor(Color(20,50,80))) |
| Output | N/A |