Garry's Mod Wiki

DFileBrowser:SetFileTypes

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"

Special Pages


Wikis

?

Render Time: 41ms

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