Raised This Month: $ Target: $400
 0% 

Save and Load Problems (nVault)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-25-2010 , 10:18   Re: Save and Load Problems (nVault)
Reply With Quote #1

nvault_set(g_Vault, vaultkey, pub_Stats[id][STATSCOUNT]);

Looks like here you are attempting to write an integer value? If so you must first convert to string.
__________________
Bugsy is offline
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 11-25-2010 , 10:20   Re: Save and Load Problems (nVault)
Reply With Quote #2

Quote:
Originally Posted by Bugsy View Post
nvault_set(g_Vault, vaultkey, pub_Stats[id][STATSCOUNT]);

Looks like here you are attempting to write an integer value? If so you must first convert to string.
Yes, it's an integer, thank you very much, I'll compile and try it.

PHP Code:
new Stats[63];
num_to_str(pub_Stats[id][STATSCOUNT], Statscharsmax(Stats) )
nvault_set(g_VaultvaultkeyStats); 
Correct?
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX 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 11:17.


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