[Tutorial] Player-timers
#4

This is good, I can see the benefits of using gettime for this. I already use unix timestamps for quite a lot of similar applications in the script, some of which are over a much greater time period.

Assuming the result of gettime() is an integer, how large is it? can it be stored in a variable without wrapping to negative?

Does a unix timestamp ever roll around to zero? effectively causing an error in the longer time comparisons that I have. and if so how often?
[edit] ****** answered my second question
Reply


Messages In This Thread
Player-timers - by Lenny the Cup - 12.10.2010, 10:36
Re: Player-timers - by Rachael - 12.10.2010, 11:03
Re: Player-timers - by Lenny the Cup - 12.10.2010, 11:22
Re: Player-timers - by Rachael - 12.10.2010, 11:43
Re: Player-timers - by Lenny the Cup - 12.10.2010, 11:50
Re: Player-timers - by playbox12 - 12.10.2010, 16:18
Re: Player-timers - by Lenny the Cup - 13.10.2010, 11:13
Re: Player-timers - by Lenny the Cup - 13.10.2010, 20:23
Re: Player-timers - by Slice - 13.10.2010, 20:29
Re: Player-timers - by RoBo - 14.10.2010, 17:37

Forum Jump:


Users browsing this thread: 1 Guest(s)