How to check if player's inventory is full, and if it is drop remaining items on the ground

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the community!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Buddha

Member
Apr 22, 2017
20
0
0
Basically the title - I know how to check if a player's inventory can fit a certain amount of slots, however I want to drop the remaining items being given to the player onto the ground if it is full.

For an example for more explanation: Someone with 4 slots available redeems a kit that contains 6 slots. The script will fill those 4 slots but then drop the remaining 2 slots onto the ground.
 
Status
Not open for further replies.