bosslorenz Posted July 31, 2016 Share Posted July 31, 2016 Is it possible to create an inventory system for Roleplay with just guiWindow? And then the items on gridlist. Example Gridlist has two Columns. 1) Item name and 2) Item pieces. Well the Item names are like constant. All I want is that when I make a setElementData, it will change the text on (item pieces) Link to comment
Wumbaloo Posted July 31, 2016 Share Posted July 31, 2016 Yeah it's possible, create a list of items and then make your grid list and a for loop to find all the items that the player has, use setElementData to store a table list of all the items that the player has, if you don't understand, tell me. Look at the Valhalla Gamemode Link to comment
LabiVila Posted July 31, 2016 Share Posted July 31, 2016 Why would you use element datas for a lot of items inside something like an inventory? So you wanna set an element data for every piece of item you get? It would be just a lot faster and more organised if you used tables Link to comment
Wumbaloo Posted July 31, 2016 Share Posted July 31, 2016 Nah, set a table in your element data 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