Check if a user has amount of resources in their inventory?
Discussion in 'Rust Development' started by MachineGUID, Nov 7, 2016.
-
player.inventory.getAmount(itemID);
this returns the amount -
At the moment
player.inventory.containerMain.GetAmount(94756378, true)
Will only get from the main container but i want to see how much cloth is in their main container + belt.
is it possible?
[DOUBLEPOST=1479401287][/DOUBLEPOST]Nevermind
