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

SFEX.file.openInGame

C๐Ÿท๏ธ File

Part of StarfallEx namespace

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

Description

Opens a file from path relative to base GMod directory

Parameters

NameTypeDescription
pathstringFile path relative to GarrysMod/garrysmod/.
modestringThe file mode to use. See Lua manual for explanation

Returns

TypeDescription
FileFile object, or no value if it failed

Examples

No examples available.

Used In

No usages found in the codebase.