Garry's Mod Wiki

DFileBrowser:SetFileTypes

  DFileBrowser:SetFileTypes( string fileTypes = "." )

Description

An AccessorFunc that sets the file type filter for the file list.

This accepts the same file extension wildcards as file.Find.

Arguments

1 string fileTypes = "*.*"
A list of file types to display, separated by spaces e.g.
"*.lua *.txt *.mdl"