Garry's Mod Wiki

DFileBrowser:SetModels

DFileBrowser:SetModels( boolean showModels = false )

Description

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

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

Arguments

1 boolean showModels = false
Whether or not to display files using SpawnIcons.

Page Links


Special Pages


Wikis

?

Render Time: 38ms

DB GetPage 5
Generate Html 2
SaveChanges (1) 18
Render Body 0
Render Sidebar 11