05.11.2014, 06:10
Make two option in user's account file 'AccountDisableDate' & 'AccountDisableRe' then set a script if the 'AccountDisableDate' matches with the current date of the day then set the 'AccountDisableRe' to 0.
[EDIT]
Oh i almost forgot, add some changes in disable command too.
Add a y_ini script to set AccountDisableDate and AccountDisableRe in user's account file.
At last, you may kick player or not.
Код:
AccountDisableDate is used to have date of the day to remove account disable. AccountDisableRe is used to know if account is disabled or not.
Oh i almost forgot, add some changes in disable command too.
Add a y_ini script to set AccountDisableDate and AccountDisableRe in user's account file.
At last, you may kick player or not.