Raised This Month: $51 Target: $400
 12% 

Revive plugin - some problem with compiling.


Post New Thread Reply   
 
Thread Tools Display Modes
AdrianK69
Junior Member
Join Date: Apr 2020
Old 04-05-2020 , 11:04   Re: Revive plugin - some problem with compiling.
Reply With Quote #21

Hmmm I still don't get how to put that flags, like I said...
AdrianK69 is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 04-05-2020 , 16:32   Re: Revive plugin - some problem with compiling.
Reply With Quote #22

I updated the above plugin to allow you to set needed flags via cvar instead of hard-coded ADMIN_LEVEL_ flags. The cvar is 'revive_flags'.

You should be able to get it work by settings flags appropriately in that Who plugin. Each set of flags corresponds to the group name. So, try adding 'o' to "ceij" and recompile.
Code:
new GroupNames[GROUPS_NAME][] = {     "[DR]Founder",     "[DR]Owner",     "[DR]Co-Owner",     "[DR]Premium",     "[DR]Global Moderator",     "[DR]Moderator + VIP",     "[DR]Moderator",     "[DR]Administrator",
    "[DR]Helper",
    "[DR]VIP" } new GroupFlags[GROUPS_ACCESS][] = {         "abcdefghijklmnopqrsu",     "abcdefghijkmnopqrt",     "abcdefghijmnpqrs",     "bcdefgijmnpqr",     "bcdefgijmnpq",     "bcdefijmnt",     "bcdefijmn",     "bcdefij",
    "ceij",
    "bit" }
__________________

Last edited by Bugsy; 04-05-2020 at 16:36.
Bugsy is offline
AdrianK69
Junior Member
Join Date: Apr 2020
Old 04-07-2020 , 22:08   Re: Revive plugin - some problem with compiling.
Reply With Quote #23

Thank you for your effort, and sorry for my late response, i wasn't home.
So I don't think you understood exactly what was my point.
So when someone types /who in chat it displays all the admins on the server.
If I add flag "o" to "ceij" it means that I need to give VIP to every "ceij" flag that I will have on the server.
My point is that I want this command to be used only by some players that I will select not the entire list of admins.
So if someone with flag "ceij" wants to have VIP, only that person can use it and the others that I select.
So if it's not possible is there anyway that I can give permission on this command to be used by the name or IP ?
Like if someone has the "X" name he can use /revive or IP "x.x.x.x" can use /revive.
I think this is easier than the idea with the flags.
AdrianK69 is offline
Reply



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 22:59.


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