Hi, since we're not allowed to use the System.IO.File namespace, is there another workaround?
Solved Getting last wiped date?
Discussion in 'Rust Development' started by Inofix, Feb 11, 2017.
-
Wulf Community Admin
Use the OnNewSave hook and store when the save was created.
-
Great thanks. Should do the trick
-
Is there an example of the usage for OnNewSave - this looks like what I need for some logging I'm doing. I want to be able to wipe the logging at the same time as the wipe as it will be out of date at that point.
Thanks. -
Wulf Community Admin
Code:void OnNewSave(string filename) { Puts($"The new save name is {filename}"); }
-
Thanks Wulf - I think that has worked perfectly