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: 67ms

Session 0
DB GetPage 9
Generate Html 9
SaveChanges 29
Render Body 0
Render Sidebar 18