Jump to content

Creating Inventory


Slimwaffle
 Share

Recommended Posts

I was following the project Saturn tutorials on how to create an in game inventory.

And I followed it doing exactly what he said but I get an error.

76 : attempt to index local 'currentItem' (a boolean value)

 

Can someone please help?

I'll attach the 2 scripts I am using.

 

Also here are the links to the tutorial vids in case it helps.

http://steamcommunity.com/sharedfiles/filedetails/?id=319799499

Inventory.lua

InventoryItem.lua

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...