LUA - client connected time

Discussions about ET modding (sdk code, player/weapon modeling)

Moderators: Forum moderators, developers

Post Reply
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

LUA - client connected time

Post by McSteve »

Cant believe I've fallen over at this one, but I cant find a field to tell me the time a client has been connected for (accessible anytime).

Is there a field? Or is it in the config or user info?

Thanks
GhosT:McSteve
Ghostworks Gaming Community
The Necromancer
Posts: 126
Joined: Sat Sep 25, 2004 7:12 am
Contact:

Post by The Necromancer »

I don't think so, but you can stamp time when client connects
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
McSteve
Posts: 113
Joined: Tue Sep 12, 2006 7:41 am

Post by McSteve »

Yeah, I noticed I can pick up that. Just wondered if I could save myself a calculation.

edit: done my script by picking up the time client connects and saving it to an array, still plz post if there is a better way.
GhosT:McSteve
Ghostworks Gaming Community
Post Reply