Garry's Mod Wiki

Revision Difference

file#519233

<cat>libraryfunc</cat>⤶ 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.⤶ For the full list of path values, type “path” in the console.⤶