nVault - Database
Hello guys,
I would like to use the nvault database instead of the vault database to store some important values of my plugin. But I haven't any experience with the nvault modul and didn't find a tutorial. 1. Should I open and close the database for each query, or should I open the database on plugin_init and close them on plugin_end? 2. What is the parent folder of the nvault_open function, the cstrike folder or the data folder where I can find the vault.ini? Many many thanks in advance. Best Regards Leon |
Re: nVault - Database
Your nVault folder is in:
PHP Code:
Just start it in plugin_init() and close it in plugin_end() or wherever in your public. Hope that helps :) |
Re: nVault - Database
I'm using this :up:
http://forums.alliedmods.net/showthread.php?t=91503 |
Re: nVault - Database
It is a very good way to store data :) (like frags, deaths, money or whatever)
But if you want to display those informations on websites, you could use DBI (from my point of view, it's very simple) :) Good luck! |
Re: nVault - Database
omg :oops:, I'm blind. I didn't find this thread. Thank you very much for the replies.
|
Re: nVault - Database
I hope that you are aware that nVault informations are stored in binary mode.. so you can't open them and read just like an ordinary document.. :)
|
Re: nVault - Database
I know but its not necessary to read the file. I will only store some settings for the clients which are used in the game. :)
|
Re: nVault - Database
|
| All times are GMT -4. The time now is 17:48. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.