I have code to remove all items from a passed BasePlayer,
This just force drops the items to the ground. Can someone tell me how to destroy them items, or remove them from the world?Code:foreach (Item i in player.inventory.AllItems()) i.Drop(player.transform.position, -player.transform.up);
Solved Destroying / removing items?
Discussion in 'Rust Development' started by carny666, Jan 2, 2016.
-
does i.Remove() not work?
-
Thank you.. not sure why I didn't see that.