Raised This Month: $ Target: $400
 0% 

Request of adding admin flags for specific time duration.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
boomix
Senior Member
Join Date: May 2015
Location: Latvia
Old 08-27-2016 , 10:05   Re: Request of adding admin flags for specific time duration.
Reply With Quote #2

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.
__________________

Last edited by boomix; 08-27-2016 at 16:36.
boomix is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:46.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode