Some time ago I made something simular to this for one friend
It allows you to add admin groups for time. All admin groups you can add/fine in (sourcemod/configs/admin_groups.cfg) . Then you just need to use command
Quote:
!addadmin [username] [steamid] [group] [time]
example: !addadmin boomix STEAM_0:1:55473534 1d12h (that will set admin for me for 1 day and 12 hours. Support is only for days and hours, I was too lazy to make it for seconds and weeks )
|
Make sure, when you add first admin, you copy the admins that you already have in the file, because adding first admin is baisicly clearing the admin file (I don't remember why).
Also, just to add, those who have this group set for time, when they come in server, they will see how long they still will have their group.
EDIT: was made for friend, but he didn't want to post the plugin, so I delete it. Atleast the author got it, so it's fine.
__________________