View Single Post
  #7  
Old 04-30-2011, 05:40 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Quote:
Originally Posted by xAndrewx View Post
Sorry but is there a clientside version?
No but you could set a clientr/client variable and use:

player.onlinetime = clientr.login_onlinetime + (timevar2 - this.login_timevar2);

Serverside:
clientr.login_onlinetime = player.onlinetime;

Clientside:
this.login_timevar2 = timevar2;

It won't be perfectly precise (may vary by a few seconds), but close enough for what you plan to do I bet.
__________________
Quote:

Last edited by fowlplay4; 04-30-2011 at 08:23 PM..
Reply With Quote