DModelPanel.SetModel
From GMod Wiki
Function | |
Syntax | DModelPanel.SetModel( String ModelPath ) |
Description: | |
Sets the clientside model used to draw the panel | |
Returns: | nil |
In Object: | DModelPanel |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DModelPanel.SetModel]DModelPanel.SetModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Sets the model of a DModelPanel to the blue trash bin |
---|---|
Used on | |
Code | ModelPanel:SetModel("models/props_borealis/bluebarrel001.mdl") |
Output | A camera look of a blue trash bin |