Hi, I'm trying to limit some of the new commands like amx_unban, amx_list, to admins with level H on v4.4b10. For example, this is what I have:
Code:
register_concmd("amx_unban","cmdUnBan",ADMIN_LEVEL_H,"<steamID>")
register_srvcmd("amx_unban","cmdUnBan",-1,"<steamID>")
register_concmd("amx_find","amx_find",ADMIN_LEVEL_H,"<steamID>")
register_srvcmd("amx_find","amx_find",-1,"<steamID>")
register_concmd("amx_findex","amx_findex",ADMIN_LEVEL_H,"<steamID>")
register_srvcmd("amx_findex","amx_findex",-1,"<steamID>")
register_concmd("amx_list","cmdLst",ADMIN_BAN,"Displays playerinfo")
I changed the commands I want for ADMIN_LEVEL_H, but it's not working. My other admins are still able to process the commands and I checked their flags too. Can anyone help?