Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.file.findInGame

C๐Ÿท๏ธ File

Part of StarfallEx namespace

๐Ÿ”— External
file.findInGame(path, sorting)
View on GitHub|lua/starfall/libs_cl/file.lua:435
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Enumerates a directory relative to gmod

Parameters

NameTypeDescription
pathstringThe folder to enumerate, relative to garrysmod.
sorting?stringOptional sorting argument. Either nameasc, namedesc, dateasc, datedesc

Returns

TypeDescription
tableTable of file names
tableTable of directory names

Examples

No examples available.

Used In

No usages found in the codebase.