DFileBrowser/SetModels

From Garry's Mod
Jump to: navigation, search
 DFileBrowser:SetModels( )

DescriptionPanelFunc

Enables or disables the model viewer mode. In this mode, files are displayed as SpawnIcons instead of a list.

NOTE

This should only be used for .mdl files; the spawn icons will display error models for others. See DFileBrowser:SetFileTypes

Arguments

boolean showModels=false

Whether or not to display files using SpawnIcons.
Personal tools
Navigation