Jump to content

Inventory System Help


Chopper

Recommended Posts

Hello.

So recently, i started working on an Inventory system. I have a panel made with dx Drawing, it has item slots. I can get the items out from the mysql table into a lua table to store it in, but i have no idea how to get them in the slots, to check if a slot is taken already, etc, etc.

Can anyone help me with that?

Thank you.

Link to comment

You're calling the database for the inventory server side, so you need to transfer that array to the client side, run a loop through that and insert the array into the visual table you're displaying to the user. Thats about all I can think of to say for method without seeing any code or exactly what you're trying to accomplish.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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