Solved Selected item

Discussion in 'Rust Development' started by YellowSpirit, Aug 2, 2015.

  1. How to get a reference to currently selected item in player belt? c# plz
     
  2. maybe
    player.inventory.containerBelt.SlotTaken(Int32 i);
    Code:
    public bool SlotTaken(int i)
    {
        return this.GetSlot(i) != null;
    }
     
  3. i find a solution: player.GetActiveItem()
    thnx