[REQ] Set Admin
Hi. I want a plugin when an admin types amx_setadmin it opens a menu for adding new admin. Menu is like this:
First Choose Player then show 3 options for being admin(Player Name - Steam -ip) then show 2 options for password(With Password - Without Password) after that show 3 options of admins permissions(Owner - HeadAdmin - Admin) Owner flag: abcdefghijklmnopqrstu HeadAdmin flag: abcdefghijkmnopqrstu Admin flag: bcdefghijkmnopqrstu |
Re: [REQ] Set Admin
is this meant to be used with users.ini or amxbans, or some other system?
|
Re: [REQ] Set Admin
users.ini
|
Re: [REQ] Set Admin
Quote:
he does not want this, what you're looking for has been made already, somewhere on this forum, i will look for it |
Re: [REQ] Set Admin
I mean for saving admins in users.ini files. I have searched a lot and couldn't find the plugin.
|
Re: [REQ] Set Admin
How about editing the amx_addadmin func.
Checking if the password param is equal to X string and setting it to something |
Re: [REQ] Set Admin
1 Attachment(s)
Hey try this.
The menu will probably not open if there aren't any valid users online, so you need to test it with players. Commands: /addadmin amx_addadmin_menu Required flag for menu is L (rcon). You can change it by editing line #5 |
Re: [REQ] Set Admin
Quote:
|
Re: [REQ] Set Admin
Quote:
|
Re: [REQ] Set Admin
Quote:
Quote:
|
All times are GMT -4. The time now is 03:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.