23.01.2011, 16:01
Hello,
I want to make a Dini save timer and I made it for each player, I mean
when a player connects his/her time will be counted to 30 minutes, after
the 30 minutes has been past, all his/her stats will save. I save that with
this code:
Under OnPlayerConnect.
So what will be beter, if I do under OnGameModeInit and save everyone's
stats at a time or save stats by when players connect after 30 minutes?
So this code:
Under OnGameModeInit..
What's better, and which Timer is the best?
I hope this info. was enough to get helped..
K. Regards,
I. C.
I want to make a Dini save timer and I made it for each player, I mean
when a player connects his/her time will be counted to 30 minutes, after
the 30 minutes has been past, all his/her stats will save. I save that with
this code:
Код:
SetTimerEx("SaveStats", 1800000, true, "i", playerid);
So what will be beter, if I do under OnGameModeInit and save everyone's
stats at a time or save stats by when players connect after 30 minutes?
So this code:
Код:
SetTimer("SaveStats", 1800000, true)
What's better, and which Timer is the best?
I hope this info. was enough to get helped..
K. Regards,
I. C.