Raised This Month: $ Target: $400
 0% 

[SOLVED] nVault Problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 07-23-2011 , 02:46   Re: nVault Problem
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
Not sure, though you could reduce this:
PHP Code:
        iAchievementProgress aDataAchievement_Progress ]; 
        
iAchievementProgressid ] = iPlayerProgress
        
aDataAchievement_Progress ] = iAchievementProgress
to this:
PHP Code:
        aDataAchievement_Progress ][ id ] = iPlayerProgress

Hmm just realized I've been doing that in the whole plugin. Thanks for the optimization

I have no idea why it's automatically starting at 16. I stop the server, delete the vault file, and then restart it, and when I first create an achievement, I logged it to be equal to 0, but then when I join the server, it gets set to 16.
__________________
Quote:
Originally Posted by DarkGod View Post
nikhilgupta generates his plugins using sheer awesome.
If you like my work, please
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
 



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 00:47.


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