Raised This Month: $ Target: $400
 0% 

Saving Xp and Level.


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
JaGareN
Senior Member
Join Date: Mar 2009
Old 05-25-2010 , 04:44   Re: Saving Xp and Level.
#1

Quote:
Originally Posted by SaM.ThE.MaN View Post
I have taken the save and load scrips from another tutorial.
At the top
PHP Code:
#include <nvault> 
somewhere in the plugin
PHP Code:
new gVault
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); 
JaGareN is offline
Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode