1. I have some files that I have placed in the Data directory that I am trying to load into my plugin.

    If I specify the full path manually then everything works ok, however I am trying to work out how to get the path programmatically.

    Anyone able to point me in the right direction?
    [DOUBLEPOST=1460892826][/DOUBLEPOST]
    Code:
    Interface.GetMod().DataDirectory
     
  2. Wulf

    Wulf Community Admin

    Interface.Oxide.DataDirectory. ;)

    The GetMod() method is old.
     
  3. Wulf is there any difference between the two? Timings?
     
  4. Wulf

    Wulf Community Admin

    Not really, the Interface.Oxide is just what we push for now as it looks better. ;)
     
  5. Sounds good to me ;)