SRL Archive - OSR Help

Resetting GetTimeRunning


tensix

2012-08-07 13:07:51

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

Thanks :)

NKN

2012-08-07 13:11:54


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

Home

2012-08-07 13:12:09

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

tensix

2012-08-08 12:43:21

From: NKN

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


From: Home
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