Raised This Month: $ Target: $400
 0% 

vault to nvault


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XxUndeadSniperxX
Junior Member
Join Date: Aug 2005
Old 05-31-2007 , 09:10   vault to nvault
Reply With Quote #1

I want to change my saving method to from vault to nvault, but I don't know how.
Can anyone "convert" this code for me?
I don't know exactly if this code compiles, but I guess you catch my point.

Code:
Data_Save(id) {     new authid[32], vaultkey[64], vaultdata[128]         get_user_authid(id, authid, 31)     format(vaultkey, 63, "Omg-%s", authid)     format(vaultdata, 127, "%d %d", var1[id], var2[id])     set_vaultdata(vaultkey, vaultdata) } Data_Load(id) {     new authid[32], vaultkey[64], vaultdata[128], temp_var1[3], temp_var2[3]     get_user_authid(id, authid, 31)     format(vaultkey, 63, "Omg-%s", authid)     get_vaultdata(vaultkey, vaultdata, 127)         parse(vaultdata, temp_var1, 2, temp_var2, 2)     var1[id] = str_to_num(temp_var1)     var2[id] = str_to_num(temp_var2) }
XxUndeadSniperxX is offline
Old 05-31-2007, 09:25
Alka
This message has been deleted by Alka. Reason: nvm...
XxUndeadSniperxX
Junior Member
Join Date: Aug 2005
Old 05-31-2007 , 09:38   Re: vault to nvault
Reply With Quote #2

Thanks, but you don't parse the data when it's loaded.
And why do you suddenly use "karma[id]" instead?
XxUndeadSniperxX is offline
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 05-31-2007 , 09:39   Re: vault to nvault
Reply With Quote #3

I don't know how to get 2nd value from that line! ...
__________________
Still...lovin' . Connor noob! Hello

Last edited by Alka; 05-31-2007 at 14:43.
Alka is offline
XxUndeadSniperxX
Junior Member
Join Date: Aug 2005
Old 06-02-2007 , 06:43   Re: vault to nvault
Reply With Quote #4

Still need help with this... Anyone?
XxUndeadSniperxX is offline
Reply



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 10:40.


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