Raised This Month: $ Target: $400
 0% 

Manually set flags/privileges


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CubanSpike
Member
Join Date: Mar 2008
Old 03-25-2008 , 19:50   Manually set flags/privileges
Reply With Quote #1

I know this topic was somewhere, but I couldn't find it a second time..

I want to adjust what the levels of admin represent (e.g. a is currently immunity. I'd wanna change it to amx_map.)

Any help as to where I can find the information would be very helpful.

Many thanks,

Cuban
CubanSpike is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-26-2008 , 10:09   Re: Manually set flags/privileges
Reply With Quote #2

amxconst.inc will allow you to change the names for each flag. But, this may break functionallity of different things, so I wouldn't recommend doing it without knowledge of how to fix it in the AMXx source code
__________________
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
PoliticalDestrcution
New Member
Join Date: Mar 2008
Location: Texas
Old 03-26-2008 , 12:46   Re: Manually set flags/privileges
Reply With Quote #3

Just wondering how that might be useful?
__________________
I wear my sunglasses at night, Corey Hart is just a copy cat.
PoliticalDestrcution is offline
Roach
Writes love letters to sawce Daily
Join Date: Jul 2006
Location: Internet
Old 03-26-2008 , 17:20   Re: Manually set flags/privileges
Reply With Quote #4

Quote:
Originally Posted by PoliticalDestrcution View Post
Just wondering how that might be useful?
Changing immunity to map? Who knows, its for his own personal server.
__________________
Quote:
Originally Posted by Brad View Post
That sounds like a really good idea!
Now replace the word "good" with "dumb".
What was your rationale for proposing such a thing?
Roach is offline
CubanSpike
Member
Join Date: Mar 2008
Old 03-27-2008 , 15:57   Re: Manually set flags/privileges
Reply With Quote #5

I have several plugins running and I don't want any new admins on my server to make use of some of the commands.

For example, newest admin would get only flagged with "a" giving him the most basic server commands such as amx_map and amx_kick. The longer the admins are with us, the more commands they would be able to use.

It was really more of an idea..If it might cause issues which YamiKaitou claims it may, I won't even consider it. But Thanks for all your help.
CubanSpike is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 03-27-2008 , 16:00   Re: Manually set flags/privileges
Reply With Quote #6

You can always change the other commands to be on different flags, you don't have to start them at 'a'
__________________
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
CubanSpike
Member
Join Date: Mar 2008
Old 03-30-2008 , 01:39   Re: Manually set flags/privileges
Reply With Quote #7

Oh ok. And in what file can I make these changes?
CubanSpike is offline
MeRcyLeZZ
Veteran Member
Join Date: Dec 2007
Old 03-30-2008 , 11:11   Re: Manually set flags/privileges
Reply With Quote #8

cmdaccess.ini
Quote:
; This file will store the commands used by plugins, and their access level
; To change the access of a command, edit the flags beside it and then
; change the server's map.
;
; Example: If I wanted to change the amx_slap access to require
; RCON access (flag "l") I would change this:
; "amx_slap" "e" ; admincmd.amxx
; To this:
; "amx_slap" "l" ; admincmd.amxx
__________________
MeRcyLeZZ is offline
CubanSpike
Member
Join Date: Mar 2008
Old 03-31-2008 , 00:48   Re: Manually set flags/privileges
Reply With Quote #9

Great, Thank you very much. Appreciate everyone's help.

-Joe
CubanSpike 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 02:08.


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