24.04.2010, 10:18
You could handle it as a playerstat. Make a new stat named something that covers the purpose of what you want. Could be, adminRevocationDate. Instead of setting up a timer, make that stat equal to a certain date (current date + 5 days).
On connect: Check whether the value of this stat is set in the first place. Then see if it's less than the current date. (You'll need some sneaky functions to deal with dates, I'm sure there are some out there)
In case the date you specified is passed, take the player's admin away.
ps.: edited my first post.
On connect: Check whether the value of this stat is set in the first place. Then see if it's less than the current date. (You'll need some sneaky functions to deal with dates, I'm sure there are some out there)
In case the date you specified is passed, take the player's admin away.
ps.: edited my first post.

