Saving Multiple Items with one key ( nvault ) ?
1 Attachment(s)
is it possible to save multiple locations under the one key?
im trying to add the ability to save locations for teleport in nvault... but as i started it soon seemed impossible... this is for my Advanced Teleports plugin. line 440 is where i started to create the save function.. but got a blank on how i would go about it... |
Re: Saving Multiple Items with one key ( nvault ) ?
For starters, authid is a string, not an int.
To save multiple items, simply separate them by some kind of delimiter. Since your probably saving origins, format the 3 origin values together separated by commas and then format the multiple origins by spaces |
Re: Saving Multiple Items with one key ( nvault ) ?
I would save in dynamic arrays during map, and write/read a file when map is changing.
Dunno how long is the max string you can save in nvault. Or may be sql system if you are familiar with it. |
| All times are GMT -4. The time now is 06:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.