Chopper Posted November 7, 2013 Share Posted November 7, 2013 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
CourtezBoi Posted November 7, 2013 Share Posted November 7, 2013 It's difficult to help you without some more information, code, etc. Link to comment
Chopper Posted November 7, 2013 Author Share Posted November 7, 2013 Im not asking for help with the script itself, im asking for help about what method should i use.. Link to comment
CourtezBoi Posted November 7, 2013 Share Posted November 7, 2013 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
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now