1. Oxide 1.18 has been discontinued and is no longer supported. Please do not post requests for Oxide 1.18 plugins or support.
    We recommend upgrading to Oxide 2.0 as able. Plugins can be easily updated to support it as well.
  1. PreFiX

    PreFiX Shack Builder Plugin Developer

    Code (Text):

            //disconnect
            void OnPlayerDisconected(uLink.NetworkPlayer networkPlayer)
            {
                Puts("Working");
            }
     
    As you can see I have some code out here and it doesn't do anything. Atleast Puts("Working"); should it be okey....
    --- Double Post Merged, Apr 27, 2016 ---
    I think I found the problem!!!!
    Oxide API for Rust Legacy contains bad example (Bad function name)!
    It should be
    Code (Text):

    void OnPlayerDisconnected(uLink.NetworkPlayer networkPlayer)
    {
    Puts("OnPlayerDisconnected works!");
    }
     
    @Wulf fix api example :)
     
    Last edited: Apr 27, 2016
    Wulf likes this.
  2. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Fixed, thanks. ;)
     
  3. PreFiX

    PreFiX Shack Builder Plugin Developer

    It's still not fixed yet.
    [​IMG]
     
  4. Wulf

    Wulf Community Admin Community Admin Oxide Developer

    Locally it is. ;)

    I just haven't pushed it yet.