Nvault problem
I tried to convert a plugin from 'vault' to 'nVault' but its not working properly. It resets data on mapchange/server restart.
PHP Code:
|
Re: Nvault problem
This tutorial will help you: https://forums.alliedmods.net/showthread.php?t=91503
|
Re: Nvault problem
Untested. PHP Code:
|
Re: Nvault problem
Quote:
|
Re: Nvault problem
Quote:
Edit: post full code |
Re: Nvault problem
No, it works, he's doing something wrong. I added 2 commands to my above code, one to set data to the variable and another to display it to the user.
Before doing anything to the code, I only connected and disconnected. Oh look, a vault file exists with my data in it. https://dl.dropboxusercontent.com/u/...2021.33.42.png Next I connected, set data to the variable, then disconnected. https://dl.dropboxusercontent.com/u/...2021.35.01.png And here I connected again and just showed the value which means it successfully loaded from nvault. https://dl.dropboxusercontent.com/u/...2021.38.09.png |
| All times are GMT -4. The time now is 15:25. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.