1. Any thoughts how to go about completely clearing out someones inventory? Including belt?

    OR how to check if its empty?

    Thanks in advance.
     
  2. Wulf

    Wulf Community Admin

    player.inventory.Strip() most likely.
     
  3. Ive had issues that in the past ... anyway to do a simple check to see if theres any items in inv?
     
  4. Wulf

    Wulf Community Admin

    player.iventory.AllItems().Count() perhaps.
     
  5. Yes, whats the LUA equivalent of .Count() ? Size of array
     
  6. .Length should work
     
  7. Worked, thanks! player.inventory:AllItems().Length