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

SFEX.file.asyncReadInGame

C๐Ÿท๏ธ File

Part of StarfallEx namespace

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

Description

Reads a file asynchronously from path relative to base GMod directory 1. string filename - The name of the file 2. number status - The status of the read operation (see FSASYNC enum) 3. string data - The data read from the file

Parameters

NameTypeDescription
pathstringFile path relative to GarrysMod/garrysmod/.
callbackfunctionA callback function that runs when the read operation completes. With arguments:

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.