Quote:
Originally Posted by purple_pixie
Exactly ... so you need a way to get the index from their auth-id.
So when you create a new (player) entry in the vault, do this:
add 1 to the "entries" entry.
Create a new entry with the steam id value as its key. Its value should be the new value of "entries".
Create a new entry with this index as its key, and the time as the value.
|
Sorry but I don't understand how to get the players stats index from their authid. When they connect, do they have a "static" stats index that I can retrieve and record?
Note: My stats file is not being started at the same time as this plugin so there will already be a few thousand entries when I first start this plugin. Would I have to clear stats and start from scratch to do it the way that you are explaining?
Thanks again for the help
__________________