![]() |
|
File Save - Printable Version +- Team Spartan Cookies & Milk Forums (https://teamscm.co.uk) +-- Forum: Garry's Mod (https://teamscm.co.uk/forum-4.html) +--- Forum: Starfall (https://teamscm.co.uk/forum-7.html) +--- Thread: File Save (/thread-3047.html) |
File Save - 4N0NYM - 30-06-2019 Hey, Is there a way to see what Files exist ? Also where are they saved and what limits do we have ? RE: File Save - Person8880 - 30-06-2019 You can use files.list() to return a table containing the names of all files stored (on the server or on your own client instance, you can't see files for other players). Where files are saved depends on where you've used the file/io libraries. On the server, files are saved to a player-unique folder on the server itself. On the client, files are saved in your data folder under data/starfallscriptdata/<STEAM ID>. As for limits, I've added a few new functions to provide the limits:
|