Garry's Mod Wiki

Revision Difference

file#523799

<cat>libraryfunc</cat>⤶ The file library provides functions for finding, reading and writing to files. <br/> <type name="file" category="libraryfunc" is="library">⤶ <summary>The file library provides functions for finding, reading and writing to files. <br/> The following path values are most commonly used: * `LUA` searches the lua files (in /lua/, in your gamemodes, in all the addons). * `GAME` searches all the mounted content (main folder, addons, mounted games etc). * `MOD` searches only the garrysmod folder. * `DATA` searches in the data folder. See <page>File Search Paths</page> for the descriptive list of path values. For the full list of path values, type `path` in the console.For the full list of path values, type `path` in the console.</summary>⤶ </type>⤶ ⤶