Ah right, sorry connected to server not map. Good point :)
Michael Shimmins The Absconder Effect -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of Avatar-X Sent: Wednesday, January 15, 2003 5:58 PM To: [EMAIL PROTECTED] Subject: Re: [hlcoders] Accessing Time on Server per player This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] that would only work for the duration of the map since gpGlobals->time is reset to 0 on map spawn -av Michael Shimmins wrote: >How about creating a new variable in CBasePlayer: > >float ConnectTime; > >At spawn set the ConnectTime to gpGlobals->time. When you want to >check it, the time connected = gpGlobals->time - ConnectTime; > >Manipulate this result a bit to get a nice minutes/seconds if you want, >or just leave it how it is, depending on how you wish to use it. > >Michael Shimmins >The Absconder Effect > >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf Of Bud-froggy >Sent: Wednesday, January 15, 2003 5:03 PM >To: [EMAIL PROTECTED] >Subject: Re: [hlcoders] Accessing Time on Server per player > > >I need to access the data and manipulate it. Is the only way to hook >ClientPutInServer and create a timestamp for each user? -Bud-froggy > >sol.greyfox wrote: > > >>If my memory serves me right (can't check it right now since Steam >> >> >is > > >>down for the upcoming server upgrade to 2.0 on thursday *crosses >>fingers*), then you can go to your console and type "status" and it >>will spit out a list of players, their wonid, userid, time, frags, >>ping, loss, etc. >> >> > > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders > >_______________________________________________ >To unsubscribe, edit your list preferences, or view the list archives, >please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

