Raised This Month: $ Target: $400
 0% 

Need a change of amx_addadmin


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Mekanes
New Member
Join Date: Jan 2009
Old 01-20-2009 , 16:42   Need a change of amx_addadmin
Reply With Quote #1

I need a plugin for amx_addadmin to have the possibility to give only those flags that I want. I mean, I gave this command for some guys and they added admins with some "dangerous" flags and I want to make sure that they won't do that mess job again.

I hope that this command will be reject from admin.amxx and put on other new plugin. I'll need the .sma for changeing/puting the personalizations access.

Last edited by Mekanes; 01-21-2009 at 11:59. Reason: Warn for topic title
Mekanes is offline
Šiego
Senior Member
Join Date: May 2004
Location: Currently: UK
Old 01-20-2009 , 17:27   Re: Need plugin
Reply With Quote #2

You need to see teh writer of the plugin (amx_addadmin) for changes. Another plugin isn't the answer IMHO.


Š
__________________
Šiego is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-21-2009 , 10:58   Re: Need plugin
Reply With Quote #3

Diego, amx_addadmin is part of the base AMXX install, so asking the devs to do it will be pointless as they won't. This has to be done as either a plugin edit by the community/requester or as a new plugin.

Also, As per the Global Forum Rules, you need to have a descriptive topic title. If you wish for this topic to stay open, please correct the topic title before you post again.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-21-2009 , 12:35   Re: Need a change of amx_addadmin
Reply With Quote #4

Change the amx_addadmin flag in the cmdaccess.ini file to a different flag.
Then, give that flag to the admins you trust.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Mekanes
New Member
Join Date: Jan 2009
Old 01-21-2009 , 13:33   Re: Need a change of amx_addadmin
Reply With Quote #5

Quote:
Originally Posted by Exolent[jNr] View Post
Change the amx_addadmin flag in the cmdaccess.ini file to a different flag.
Then, give that flag to the admins you trust.
Thank you but i know that trick and you're not helping me. Not the flag of addadmin is the problem ... the real thing is that, as I said, to give only some flags that i want.

example: helper has "bcefghi" and if someone will add a helper (+ any other flag, in our case "d") in console:

amx_addadmin name bcdefghi password name

-I want to deni this command if the flags are others
Mekanes is offline
Šiego
Senior Member
Join Date: May 2004
Location: Currently: UK
Old 01-21-2009 , 12:53   Re: Need a change of amx_addadmin
Reply With Quote #6

ta Yami. I thought he was on about some added plugin. My bad

I don't run plugins on my server which do what I can better do myself


Š
__________________
Šiego is offline
Trafalete
Senior Member
Join Date: Sep 2008
Location: Bucuresti ( Printre nori
Old 01-23-2009 , 02:33   Re: Need a change of amx_addadmin
Reply With Quote #7

i think you could add alot of checks inside the addadmin function....
something like if ( level == ADMIN_LEVEL_D ) add only bcefghi
if ( level == ADMIN_LEVEL_A ) add all

i have verry poor PAWN skills...so i couldn't do this for you...it's just a suggestion
__________________


Trafalete 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 23:58.


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