Solved Getting last wiped date?

Discussion in 'Rust Development' started by Inofix, Feb 11, 2017.

  1. Hi, since we're not allowed to use the System.IO.File namespace, is there another workaround?
     
  2. Wulf

    Wulf Community Admin

    Use the OnNewSave hook and store when the save was created.
     
  3. Great thanks. Should do the trick :)
     
  4. 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.
     
  5. Wulf

    Wulf Community Admin

    Code:
    void OnNewSave(string filename)
    {
        Puts($"The new save name is {filename}");
    }
     
  6. Thanks Wulf - I think that has worked perfectly :)