1. Yep, I'll do it soon

    Simple example how i imported json schema in my plugin:
    Code:
    private string m_jsonSchema;
    private WebRequests m_wb = Interface.GetMod().GetLibrary<WebRequests>("WebRequests");void Init()
    {
        var url = "http://my_hosting.com/ui.json";    m_wb.EnqueueGet(url, (int status, string response) => {
            m_jsonSchema = response;
        }, null, null, 15);
    }void OnPlayerSleepEnded(BasePlayer player)
    {
        CuiHelper.AddUi(player, CuiHelper.FromJson(m_jsonSchema));
    }
    [DOUBLEPOST=1487712884][/DOUBLEPOST]
    Thx. Soon I will add support for this fonts :)
     
    Last edited by a moderator: Feb 21, 2017
  2. With importing I meant a way to import exisiting json text to the website so you can see it on the website
     
  3. Wulf

    Wulf Community Admin

    You don't need to import the web requests library, just call it with "webrequest." ;)
     
  4. hey wolf was wondering every oxide update when you download the newest version of oxide always had c sharp stuff in there on this new one i dont see them in there or am i missing something.
     
  5. Wulf

    Wulf Community Admin

    See the What's New > Release Changelog thread.
     
  6. for now it's not impossible
     
  7. in UNITY very very possible) if i right know
     
  8. I would suggest introducing any kind of Ctrl+Z.
    I think this doesn't needs any explanations :)
     
  9. Suggestions
    • Outline Component
    • Fade In
    • Fade Out
     
  10. Suggestions
    • grids and cues for easiest placement of item like button/label
     
  11. what is website ??

    give me plz!
     
  12. Andrew Mensky, thanks for this!
    How to import generated code in my plugin? It's C# code or JS? Please, take me C# example!
     
    Last edited by a moderator: Apr 2, 2018
  13. It's not code, it's JSON (JavaScript Object Notation), which is a subset of JavaScript for interchanging data. You can send GUI as JSON rather than using the helpers Oxide provides. Personally, I'd take the positions and use Oxide's helpers.
     
  14. Please show me example)))