 |
|
Junior Member
|

05-27-2008
, 14:40
Re: levels
|
#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.
|
|
|
|