Best aproach to get the number of players at each hour
#7

Timers are inaccurate. Why not just use OnPlayerConnect/OnPlayerDisconnect? Save the timestamp with it so you have more data points. Then when you go to compose your graph, for each data point: round down to the nearest hour if minutes are smaller than 30 and round up to to the nearest hour if minutes are equal to or greater than 30. Then make averages.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)