View Single Post
Dragokas
Veteran Member
Join Date: Nov 2017
Location: Ukraine on fire
Old 01-18-2019 , 12:18   Re: Saving/Loading data into/form the file
Reply With Quote #4

It depends. How ofthen you save. How much data and so.

You could use KeyValues format file, so you don't need to create separate file for each player.
https://sm.alliedmods.net/new-api/ke...s/ExportToFile

Or you could store data in Cookies on client's side.
https://sm.alliedmods.net/new-api/cl...etClientCookie
https://sm.alliedmods.net/new-api/cl...tCookiesCached
__________________
Expert of CMD/VBS/VB6. Malware analyst. L4D fun (Bloody Witch & FreeZone)
[My plugins] [My tools] [GitHub] [Articles] [HiJackThis+] [Donate]
Dragokas is offline