Three parameter matrix - nvault saving
Okay guys, it's about an upgrade menu. I have a variable - Level, which contains three parameters - upgrade type, team to upgrade and index. Well, I have problems with saving it into a nvaul. Tha strange thing is, that the first parameter (the HP upgrade) is not saving... The others are okay, but the first one is not saving... Also I want to say, that in the second loop with the "a", there is an error, but it's working. And if I change it to "a = 0", the error disappears, but the whole saving is not working... And I'm like mindblowing here, I don't know why this problem appears. Here is all I someone would need to see the situation.
PHP Code:
PHP Code:
PHP Code:
Any help appereciated. |
Re: Three parameter matrix - nvault saving
You're saving everything with the same key. I doubt that will work at all.
Code:
Here's an example to show you more clearly: Code:
Code:
i: 0And why you are getting that expression has no effect: Code:
Code:
Code:
I'm assuming you stripped a lot of code before you posted. |
Re: Three parameter matrix - nvault saving
1 Attachment(s)
I attached the full code. It's about an upgrade system. And the only thing left is saving the level variable. So I just need to save it for the two teams and the upgrade types. I understood what you are saying, but this what you mentioned is working. The strange thing is that the first parameter of the upgrade items' enum (the frist parameter of the Level variable - HP) is not saving. Like the first value of 'i' is not saving and I can't understand why...
|
Re: Three parameter matrix - nvault saving
You can see how Exolent did it in his Hns xp mod. I'm assuming its the same thing.
|
| All times are GMT -4. The time now is 21:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.