Help me
#7

He's saying instead of using the timer, you could simply use gettime and count how long they were on duty for.

You'd be storing the time the admin went on duty currently as a variable. The time overall that the player has been on duty would be included in the playerinfo enum/account info.

The current gettime would be compared to the onduty "start" of the current session, and added to the overall time.

When the admin goes off duty then that time would be added to the players account info.
Reply


Messages In This Thread
Help me - by michomkd - 23.04.2017, 19:08
Re: Help me - by khRamin78 - 23.04.2017, 20:15
Re: Help me - by Vince - 23.04.2017, 20:35
Re: Help me - by michomkd - 24.04.2017, 12:10
Re: Help me - by michomkd - 29.04.2017, 08:29
Re: Help me - by michomkd - 02.05.2017, 14:13
Re: Help me - by Sew_Sumi - 02.05.2017, 16:22
Re: Help me - by Loinal - 02.05.2017, 17:44
Re: Help me - by michomkd - 02.05.2017, 21:02
Re: Help me - by Sew_Sumi - 02.05.2017, 23:12

Forum Jump:


Users browsing this thread: 4 Guest(s)