03.05.2017, 07:18
Should've just bumped the other thread. People subbed to that, and now you're in here asking again.
You're going to need to learn to do some scripting, not just hope that someone will provide you code to make what you want.
As was stated in that thread, you need to use gettime, assign a variable to the players enum (Setting this with /on), and count the time for what the person has been onduty for, adding in what they had done prior when /on and /off is used. When /off is used you add the last sessions duty, to the current overall time and it's done.
You're going to need to learn to do some scripting, not just hope that someone will provide you code to make what you want.
As was stated in that thread, you need to use gettime, assign a variable to the players enum (Setting this with /on), and count the time for what the person has been onduty for, adding in what they had done prior when /on and /off is used. When /off is used you add the last sessions duty, to the current overall time and it's done.