3D Inventory System

Blitz3D Forums/Blitz3D Programming/3D Inventory System

I have an inventory system and it works completely except how would I make the items add if there was an inventory like this:
Slots 1 2 3 4
5 Sword Empty Cup Gem
6
7
8

when i pick up an item it has errors, could someone show me an example of a 3D inventory system, i rather rewrite one instead of using the one i already made