- 0
Sign in to follow this
Followers
0
Check how many items free space & available weight in inventory
Asked by
Zirius
-
Recently Browsing 0 members
No registered users viewing this page.
Hello! I am going to create an NPC that gives non stackable items and afraid that if the player has no free space, he might not get them all.
What function can give me something like
if (freespace() > 5 && freeweight() > 3000 ) {
//give 5 items with sum of 3000 weight
}
is there a function that gives freespace and free weight already?
Thanks!
Share this post
Link to post
Share on other sites