How to get a reference to currently selected item in player belt? c# plz
Solved Selected item
Discussion in 'Rust Development' started by YellowSpirit, Aug 2, 2015.
-
maybe
player.inventory.containerBelt.SlotTaken(Int32 i);
Code:public bool SlotTaken(int i) { return this.GetSlot(i) != null; }
-
i find a solution: player.GetActiveItem()
thnx