I'm working on a plugin in sourcemod and want to know how to write a players stats to a .txt file when they disconnect. then i want to know how to read the file and locate there steam id when they connect and put those into the variable stats[client].
note: it doesn't have to be a txt, it can be a .ini, .cfg, etc.