Garry's Mod Wiki

Revision Difference

DFileBrowser:SetFileTypes#553637

<function name="SetFileTypes" parent="DFileBrowser" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description> Sets the file type filter for the file list. This accepts the same file extension wildcards as <page>file.Find</page>. </description> <realm>Client</realm> <args> <arg name="fileTypes" type="string" default="*.*">A list of file types to display, separated by spaces e.g. ``` "*.lua *.txt *.mdl" ``` </arg> </args> </function>