Garry's Mod Wiki

DFileBrowser:SetFileTypes

  DFileBrowser:SetFileTypes( string fileTypes = "." )

Description

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"