Raised This Month: $32 Target: $400
 8% 

Solved The best way to save users' data?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 06-20-2021 , 13:09   The best way to save users' data?
Reply With Quote #1

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

Last edited by kww; 06-22-2021 at 10:38.
kww is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-20-2021 , 18:35   Re: The best way to save users' data?
Reply With Quote #2

Depends on what you are doing. There are many ways to save data: text file, nvault, fvault, SQL, etc.
__________________
fysiks is online now
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 06-20-2021 , 23:11   Re: The best way to save users' data?
Reply With Quote #3

Quote:
Originally Posted by fysiks View Post
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.

Last edited by kww; 06-20-2021 at 23:13.
kww is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-21-2021 , 00:40   Re: The best way to save users' data?
Reply With Quote #4

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.
__________________
fysiks is online now
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 06-21-2021 , 20:31   Re: The best way to save users' data?
Reply With Quote #5

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.
__________________

Last edited by Bugsy; 06-21-2021 at 20:31.
Bugsy is offline
Reply



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 03:08.


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