Quote:
Originally Posted by SaM.ThE.MaN
I have taken the save and load scrips from another tutorial.
|
At the top
PHP Code:
#include <nvault>
somewhere in the plugin
In plugin_init
PHP Code:
gVault = nvault_open("YourModName");
In plugin_end
PHP Code:
nvault_close(gVault);
In your Save function
PHP Code:
nvault_set(gVault,vaultkey,vaultdata);
In your Load function
PHP Code:
nvault_get(gVault,vaultkey,vaultdata,63);