Jump to content

How to properly end code?


Recommended Posts

I've encountered the same crash again & again when trying to add in favorite foods for my character. I'm not sure how to type it correctly & I need help to set it properly client_log.txt There's the client log & a picture below of where I think the problem may be coming from. If someone could help me solve this that'd be great thank you.

image.thumb.png.d43eece89fa43f753604c139918ff6f0.png

Link to comment
Share on other sites

It's really that simple?

Have I really been that stupid this whole time?????????????????

Also, do you know what having variable 'inst' not declared means? It keeps popping up in the client logs.

I think I'm just going to restart the whole mod, trying to find out what crashes my mod everysingleminute is driving me crazy. Thank you for the help anyways & have a nice day.

Link to comment
Share on other sites

2 hours ago, Saladmanders said:

 

Have I really been that stupid this whole time?????????????????

Well... It is basic level lua syntax...

2 hours ago, Saladmanders said:

Also, do you know what having variable 'inst' not declared means? It keeps popping up in the client logs.

inst is short for instance, you must have forgotten to declare it/pass it in as a function parameter

Link to comment
Share on other sites

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
 Share

×
  • Create New...