Jump to content

What is wrong with RemoveIems?


Pellape

Recommended Posts

It might be possible that "GetItemCount" in your loop return something weird, which is also the reason why I rather use a variable to count and remove it one by one.

Yet my script only takes specific items into account, not a databse of 10 chests and 719 objects.

So yeah, that one-by-one loop might produce a lag when you take these much items into account. oO

Link to comment
Share on other sites

I did that first. That is old school cooding though... ;)

 

There is a reason why we use some functions inside loops as stuff might change in the game from one frame to the other...

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...