Info player

Discussion in 'Rust Development' started by eed, May 28, 2017.

  1. eed

    eed

    I looked at Oxide API for Rust but did not find there such information, how to find out the player's nickname or his id. How to know the distance between players, etc. All that is related to the base player
     
  2. Wulf

    Wulf Community Admin

    You'd have to setup IntellSense in Visual Studio else dig into Rust's Assembly-CSharp.dll for that information as it isn't something provided by Oxide, it's from Rust.
     
  3. eed

    eed

    Sorry, but you can describe the link .dll file from .cs to the visual studio. The intellisense is on.
     
  4. Wulf

    Wulf Community Admin

    There are quite a few good tutorials and videos around the web with how to setup references for Visual Studio projects, I'd start there: visual studio add reference
     
  5. eed

    eed

    Ie in the visual studio, I create a class file and add to it a link to the library
     
  6. You create a new project, delete the specified existing references, and add your new ones. Then you can type player. and IntellSense will show you all the different things you can use.