View Single Post
happy_2012
Senior Member
Join Date: Aug 2012
Old 11-27-2015 , 04:57   Re: [Help] This code runtime errors
Reply With Quote #21

Quote:
Originally Posted by fysiks View Post
Yes. That function is what you need.

You need to use it anywhere you need a knife index but don't have a knife index. For example, in the functions that you are getting the error, you need a knife index but you don't have a knife index, you have a shop index.

In fact, you do it for getting a shop index using knife data on or around line 478. You are basically needing to do the reverse of that.
Actually, it prevent the knife from being bought over and over again, but I will try it, and see the result. I will either post a new reply or update this one once I do.

[Edit]
I tried it, it still throw that error, so I don't think that it is the fix.
__________________
Discord contacts:
I rarely look at private messages here, but I am very active on Discord!

Last edited by happy_2012; 11-28-2015 at 14:23.
happy_2012 is offline