holy cow. im sure you can do something like this.seconds = strtofloat(server.whatever) at the beginning of the timeout. save some space, but you dont really need to.
also gscript is sequential so you dont need some of those if statements.
gj on making something though. more people need to do this.
generally what a stop watch does… derp -_- if i wanted i could save time to a server string then yer it wouldnt reset…
also beholder im not familiar with what NPCw is o.0 care to explain?
Also I think alex’s and my way are adequate enough, time var would keep things good in terms of counting even when the player lags but I dont think its really needed
Well, the issue was, if the seconds were at 50, then the minute would be seen as .833333333…
And, tric, the reason I didn’t use timever is because I wan’t it to be more accurate (every second)…
___Merged doublepost__________________
And, tric, it is supposed to be server time to be used by any script x.x Basically, put it in a level you don’t really use (or make it a weapon O.o) and enter the level to initialize it
Also, to add to this, it was made a bit longer because of my checks if <10 ot >=10…
Basically, making it look presentable…
so if the time was 10 hour 10 minute and 9 seconds…
timevar increases once every 5 seconds. you can fake it by having a timer reset to 0 once timevar changes, then have that number increase up to 5. abs means “absolute” yes, as in. abs(-3846) = 3846, shaves off negatives.