Raised This Month: $ Target: $400
 0% 

Look up a players stats by their AuthID


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

I am currently writing a plugin that tracks a users playtime on the server. Based on their playtime, I want to offer adminship to the top 3, granted they have adequate kills\deaths to show they are not sitting in spectator all the time. I am saving the data to vault in this format:

"ENTRIES" "3" //This keeps track of how many there are, incremented each time a new one is added

//When I add a new entry, the entry number is the key for that entry.
//For example:
//key value
"1" "STEAM_0:0:1111111 TIME"
"2" "STEAM_0:0:2222222 TIME"
"3" "STEAM_0:0333333 TIME"

That part is pretty much done and working but now I want to read a particular player's stats. Is it possible to lookup by STEAMID instead of by index?

Thanks in advance
__________________
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