View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 11-06-2010 , 23:32   Re: [INC] nVault Utility
Reply With Quote #7

Don't keep the vault open the whole map since it is a file handle and not an actual vault.
Open it each time it's being used.

Also, don't use a loop if you are just reading a value for a known key. Use nvault_get().

Yes, nvault_set() will work, but nvault_open() and nvault_util_open() are 2 different handles so you cannot mix handles between the nvault and nvault util.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline