Results 1 to 4 of 4

Thread: Resetting GetTimeRunning

  1. #1
    Join Date
    Apr 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default Resetting GetTimeRunning

    Is there anyway to reset GetTimeRunning when you physically enter a world as opposed to when the script begins?

    Thanks

  2. #2
    Join Date
    Mar 2012
    Location
    127.0.0.1
    Posts
    3,383
    Mentioned
    95 Post(s)
    Quoted
    717 Post(s)

    Default

    Simba Code:
    var
      newtime:integer;
    begin
    newtime := GetTimeRunning
    if(EnterWorld) then
      newtime := GetTimeRunning - newtime

  3. #3
    Join Date
    Feb 2006
    Posts
    3,044
    Mentioned
    4 Post(s)
    Quoted
    21 Post(s)

    Default

    Store GetTimeRunning into variable and then when you login, you minus from that variable the current GetTimeRunning.

    And store them to variable. I hope you get my point.


    ~Home

  4. #4
    Join Date
    Apr 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    Quote Originally Posted by NKN View Post
    Simba Code:
    var
      newtime:integer;
    begin
    newtime := GetTimeRunning
    if(EnterWorld) then
      newtime := GetTimeRunning - newtime
    Quote Originally Posted by Home View Post
    Store GetTimeRunning into variable and then when you login, you minus from that variable the current GetTimeRunning.

    And store them to variable. I hope you get my point.


    ~Home
    Thanks

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •