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

DB GetPage 2
Generate Html 6
SaveChanges (1) 9
Render Body 0
Render Sidebar 11