AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Solved The best way to save users' data? (https://forums.alliedmods.net/showthread.php?t=333125)

kww 06-20-2021 13:09

The best way to save users' data?
 
I'm trying to find best way to save users' data. Maybe as made in csstats.dat

fysiks 06-20-2021 18:35

Re: The best way to save users' data?
 
Depends on what you are doing. There are many ways to save data: text file, nvault, fvault, SQL, etc.

kww 06-20-2021 23:11

Re: The best way to save users' data?
 
Quote:

Originally Posted by fysiks (Post 2750560)
Depends on what you are doing

I'm planning to make a shop with a custom currency. Now I looking for a good method to save currency and maybe something else

P.S.

fysiks 06-21-2021 00:40

Re: The best way to save users' data?
 
Since there are other plugins that do similar things to what you're doing, you can easily just use the method that those plugin use for storing data.

Bugsy 06-21-2021 20:31

Re: The best way to save users' data?
 
nVault Array is the easiest IMO when you size an array using an enumerator, but your options are endless. You could write to a text file, binary file, SQL, fvault, etc.


All times are GMT -4. The time now is 02:32.

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