![]() |
|
preprocessor directive to automatically update SFs - 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: preprocessor directive to automatically update SFs (/thread-3281.html) |
preprocessor directive to automatically update SFs - The17thDoctor - 29-05-2020 There is a pre-processor directive to add an updater to which the SF will check for updates when someone right clicks "Update" but could it be made so that it downloads automatically the last version of the file automatically ? ( Only if code is ran ) ( Also there's a small type on what Entity:getPhysicsObjectCount() returns) Quote:(number) The number of phyics objects present. RE: preprocessor directive to automatically update SFs - Person8880 - 29-05-2020 I've made the --@autoupdate directive (after the next restart) use the files in the shared area if an --@updater is set and the player spawning the chip has read access to them. It won't download the new files to their client though, they'll still have to do that manually. I've also fixed the typo, thanks for pointing it out. |