Hey,
i would add a item in a player inventory on a selected place with a custom skin. But it dont work. Whats wrong?
I clear the inventory and want to add a hoodie on first on the container Wear.
Error:Code:Item i= ItemManager.CreateByName("hoodie", 1); i.skin = 10086; player.inventory.containerWear.itemList[0] = i;
(ArgumentOutOfRangeException: Argument is out of range.
Parameter name: index)
[DOUBLEPOST=1472578468][/DOUBLEPOST]Ok i found a way. I must work with ItemDefinition t create items. Solved![]()
Solved Inventory itemlist set item
Discussion in 'Rust Development' started by Sir BenSon, Aug 30, 2016.
