Played time problem - gettime();
#4

Quote:
Originally Posted by LetsDoItPerfect
View Post
Alt tab definitely has nothing to do with it. Do you have other parts of that activity system?
There is no other part of the code, it looks like it store gettime(); without -TimeJoined[playerid], becasue the problem is same output of 1593137909 for every player, and this number (or around) is unix timestamps output (in seconds) wich is equal to (around) 18600 days. The wierd thing is that this happens when a player is ALT+TABBED out for long time, looks like TimeJioned[playerid] become Gettime(); instead of Gettime() - TimeJoined[playerid].

Quote:
Originally Posted by Sultanz
View Post
I'm guessing it is because the time is being counted even when the player is AFK?
Does not make sense, if the time counts properly when the player is AFK then it should not be output of 1593137909 (SECONDS), because its arounr 18 600 days if you convert it, and for that long they was not afk ofc.
Reply


Messages In This Thread
Played time problem - gettime(); - by LowIQ - 24.06.2020, 00:50
Re: Played time problem - gettime(); - by LetsDoItPerfect - 24.06.2020, 03:01
Re: Played time problem - gettime(); - by Sultanz - 24.06.2020, 06:01
Re: Played time problem - gettime(); - by LowIQ - 24.06.2020, 13:19
Re: Played time problem - gettime(); - by Filbert - 24.06.2020, 13:41
Re: Played time problem - gettime(); - by LowIQ - 24.06.2020, 13:56
Re: Played time problem - gettime(); - by LetsDoItPerfect - 26.06.2020, 04:41

Forum Jump:


Users browsing this thread: 1 Guest(s)