Raised This Month: $ Target: $400
 0% 

nvault need answers


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 11-26-2010 , 08:48   Re: nvault need answers
Reply With Quote #2

Your code is a mess, don't use so many different vault files (JUST USE ONE) and read a single players name only ONE time and use it as the key for all nvault writes.

Also, save each player data in a single vault entry, using authid instead of name as the key. There are plenty of examples on the forums that show how to do this.

Here's one for example http://forums.alliedmods.net/showthread.php?t=115901
__________________

Last edited by Bugsy; 11-26-2010 at 09:01.
Bugsy is offline
 



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:21.


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