Can someone please provide an example of how to loop through all the items on a players belt and print it to the console?
Looping through PlayerInventory.ContainerBelt?
Discussion in 'Rust Development' started by AppetiteForDistruction, Apr 10, 2018.
-
Code:
foreach (var item in player.inventory.containerBelt.itemList) Puts(item.info.displayName.english);
-
Thank you!