save data
can I get an example of save & load player data in nvault
PHP Code:
SaveData(id) |
Re: save data
Here's an example, also check this out: https://forums.alliedmods.net/showthread.php?t=91503
PHP Code:
|
Re: save data
Do i need to do formatex ? when loading data?
|
Re: save data
Not if u do it this way, bugsy & ocixcrom have been helping me with this method and i would recomend using it
|
Re: save data
I think it works like that too, I haven't tested it.
PHP Code:
|
Re: save data
Quote:
It's when you save that you need format, because you have variables with data that you need to put into a string so it can be saved into a single vault record...which can later be loaded back into variables. Data to be saved (each in their own variable): 1 , 2 , 3 Formatted so it can be saved into the vault "1 2 3" Data loaded from vault "1 2 3" Parse values back into variables: 1 , 2 , 3 I recommend you study some plugins and code that is posted on the forums to help you better understand. |
Re: save data
Quote:
|
All times are GMT -4. The time now is 19:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.