file.Open
Example
Open a file in read only mode, reads a line, tells where the current file pointer is at and then closes the file handle.
Output: //
// Default mapcycle file for Garry's Mod.
45
Attempts to open a file with the given mode.
nil
if it failed to open due to it not existing or being used by another process.Open a file in read only mode, reads a line, tells where the current file pointer is at and then closes the file handle.