Posts: 836
Threads: 107
Joined: Sep 2010
Reputation:
0
Do you think it's better to create 1 timer when the server loads (using SetTimer) and then loop through all players to save their stats or use SetTimerEx to create a timer each time they login?
Posts: 427
Threads: 11
Joined: Apr 2009
Reputation:
0
I think it will be more good if you will use one timer when the server loads.
Posts: 836
Threads: 107
Joined: Sep 2010
Reputation:
0
That's what I'm thinking too, anyone else?
Posts: 654
Threads: 20
Joined: Jul 2009
Reputation:
0
One timer, obviously. Timers are highly inefficient.
Posts: 3,488
Threads: 16
Joined: Jun 2007
Reputation:
0
One timer, but don't save all players at a time (do it one player each time for example).