Part of StarfallEx namespace
๐ External
file.asyncReadInGame(path, callback)๐ 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
| Name | Type | Description |
|---|---|---|
path | string | File path relative to GarrysMod/garrysmod/. |
callback | function | A 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.