Raised This Month: $ Target: $400
 0% 

levels


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 08-13-2007 , 05:29   Re: levels
Reply With Quote #1

Code:
register_concmd("amx_heal","admin_heal",ADMIN_MENU,"<nick, #userid, authid or @team> <HP to give>")
admin_menu is flag u
(amxconst.inc)
__________________
bmann_420 is offline
GerJenk
Junior Member
Join Date: Dec 2007
Old 05-27-2008 , 14:40   Re: levels
Reply With Quote #2

Hey Guys just a little problem with levels. Let me explain...

I am trying to change the amx_weapons access level, its is currently set at:

register_concmd("amx_weapon","admin_weapon",A DMIN_LEVEL_C,"<nick, #userid, authid or @team> <weapon #>")

which we all know level_c is flag "o" according to amxconst. I have 38 admins on my server. And i am trying to change it so that its only works with admins with flag "c" which is ADMIN_KICK.

I opened the file which is found in addons/amxmodx/scripting/amx_super.sma

I then changed the line that is shown above to this:

register_concmd("amx_weapon","admin_weapon",A DMIN_KICK,"<nick, #userid, authid or @team> <weapon #>")

Saved the file, uploaded it back to the same file, overwritting the old amx_super.sma. Restarted my server.

BUT this is where my problem is. All players with flag "c" cant use amx_weapon. Its saying they do not have access to that command.

ANY ideas why ? Am i missing something ? Do i need to edit another file to change levels ?

Last edited by GerJenk; 05-27-2008 at 14:42.
GerJenk 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 19:16.


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