Stuck into this stupid calculation!
#5

Quote:
Originally Posted by SilentHuntR
Посмотреть сообщение
The function GetTime returns the amount of seconds since 1970, that way you can just do "if(GetTime()<playertime)return fail;"
So i could be just saving the seconds since 1970 then compare the saved ones with the new fresh ones?


Also, when adding it to the file i must do gettime( ) + (60 * 60) to get one hour?
Reply


Messages In This Thread
Stuck into this stupid calculation! - by Zh3r0 - 21.04.2011, 18:18
Re: Stuck into this stupid calculation! - by Joe Staff - 21.04.2011, 18:34
Re: Stuck into this stupid calculation! - by Zh3r0 - 21.04.2011, 18:42
Re: Stuck into this stupid calculation! - by Joe Staff - 21.04.2011, 19:49
Re: Stuck into this stupid calculation! - by Zh3r0 - 21.04.2011, 20:20
Re: Stuck into this stupid calculation! - by Joe Staff - 21.04.2011, 20:31
Re: Stuck into this stupid calculation! - by Zh3r0 - 21.04.2011, 21:01

Forum Jump:


Users browsing this thread: 1 Guest(s)