Raised This Month: $ Target: $400
 0% 

Look up a players stats by their AuthID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 10-08-2007 , 09:37   Re: Look up a players stats by their AuthID
Reply With Quote #5

Quote:
Originally Posted by purple_pixie View Post
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
__________________
Bugsy is offline
 



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


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